This is more of a note for my own benefit, but someone else may find it useful if they experience the same issue. I was attempting to generate the code for a remotely hosted web service from a machine that accessed the internet through a proxy server using the following:
wsdl /proxy:myProxy /proxyusername:myProxyUserName /proxypassword:myProxyPassword
However, all I received was the following error message:
The request failed with HTTP status 404: Object Not Found
It turns out the simple solution to this problem is to not use the /proxy switch, so the format is:
wsdl /proxyusername:myProxyUserName /proxypassword:myProxyPassword
Voila!