Thursday, October 20, 2011

SOAP Request Testing Tool

I am been using the SoapUI tool for quite some time and it's pretty impressive.

You can get it from :
http://www.soapui.org/

In order to work with Soap Request which needs authentication , there is a tab "AUT" wherein your can specify credential.
http://www.soapui.org/SOAP-and-WSDL/authenticating-soap-requests.html

Saturday, October 15, 2011

Resource not found 404 error ( WCF Data service hosted with MVC ASP.NET)

Scenario: MVC ASP.NET application containing WCF data services. When you try to browse WCF data service .svc page you might get the error
"Resource not found -404 error" .

Reson for such behavior : When you try to browse to data service page , the request is sent to MVC framework first rather than data service . As the controller is not defined for such request , error is send back.

Resolution :Ignore request redirection to MVC framework when WCF data service is requested .In order to achieve this add following to global.asax RegisterRoute function.

routes.IgnoreRoute("{resource}.svc/{*pathInfo}");

Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile.

Error when installing NPM  Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile. Fix: Run command and try a...