Hi all,
I have a webservice that's running on a specific port (8003) in webserver
behind a firewall.
The service accesses a CC authorization service on the internet. We use a
proxy to get out to the internet.
We have a domain name registered for this webservice. So my WSDL gives me
the following:
http://ourdomain.com:8003/ProcessCC.asmx
But I can't access the service this way. I can access it when I remove the
":8003" but when I invoke my method from this service it submits the request
to
http://ourdomain.com:8003/ProcessCC.asmx/mytestmethod?
It tries to run for a few seconds and gives me the following error,
"The web server specified in your URL could not be contacted. Please check
your URL or try your request again."
Now when I remove the ":8003" from the submit url the service seems to work
fine.
I'm not sure why I can access it without the port number but the webservice
won't submit to a url without the port number. I'm at a loss with this one.
Any help is appreciated.
TIA,
Suresh.
EggHead - 28 Apr 2005 20:19 GMT
It is unclear how you try to access the service.
If you add the web ref in the VS, you need to go to the web ref wrapper and
change the port# manually. I have a webservice running on Apache with port
8080. I need to manually change my C# client's web ref wrapper even I put
8080 in the web ref url already.
M$ thinks all webservice runs on port 80.
Egghead
> Hi all,
> I have a webservice that's running on a specific port (8003) in webserver
[quoted text clipped - 34 lines]
> TIA,
> Suresh.