Tuesday, November 29, 2005

More Teething Probs...

You may also get

"

The request failed with HTTP status 404: Not Found.



"

Again, this indicates an incorrect address.

Web Service Teething Problems

If you get the following...

"

The underlying connection was closed: The remote name could not be resolved.


"
This means you've specified an incorrect URI for the web service. Check the address and try again. Probably seems obvious, but this has caught me out several times before so this is to help me remember, if nothing else.

You may also come across....

The request failed with HTTP status 404: Not Found.


Again, incorrect address specified.


Monday, November 21, 2005

Creating A Web Service Proxy

Use the following at the .NET command prompt to create a web service proxy (note: perform this operation within the directory that contains your service file).

wsdl /l:cs /o:AppServiceProxy.cs http://localhost/MyWebService/AppService.asmx?WSDL /n:AppSettings

Fixes to common .NET problems, as well as information on .NET features and solutions to common problems that are not language-specific.

Fixes to common .NET problems, as well as information on .NET features and solutions to common problems that are not language-specific.

Z