Web service URL being overwritten with localhost
Posted
by Jay Heavner
on Stack Overflow
See other posts from Stack Overflow
or by Jay Heavner
Published on 2010-05-18T22:08:56Z
Indexed on
2010/05/18
22:10 UTC
Read the original article
Hit count: 198
I have a reference to a web service on a remote server like such...
http://10.5.1.121/PersonifyWebServicePPROD/UniversalWebService/default.wsdl
The moment I invoke the web service and view its URL property it looks like...
http://localhost/PersonifyWebServicePPROD/UniversalWebService/default.asmx
Can anyone tell me why it's overwriting the remote server with localhost? The vendor that provided the web service said I have to reference the wsdl and not the asmx in order for it to work. I've tried running it both within IIS and as a web app on the filesystem and neither scenario work. This is on the .Net 3.5 framework.
© Stack Overflow or respective owner