B
Bruce
I am running a Web Services application on a Windows 2003 Server
(specifically, SBS 2003, SP1). When I query the Web Service for a WSDL
file, I find that the WSDL is advertising the wrong server name. The WSDL
shows the address to be "HPServer" (which is the Windows networking name of
the server) rather than showing the internet domain name of the server.
Here is the snip from the WSDL file (with the actual names replaced by
aliases for this public posting...)...
<wsdl:service name="MyService">
<wsdlort name="MyServiceSoap" binding="tns:MyServiceSoap">
<soap:address location="http://HPServer/action.asmx"/>
</wsdlort>
<wsdlort name="MyServiceSoap12" binding="tns:MyServiceSoap12">
<soap12:address location="http://HPServer/action.asmx"/>
</wsdlort>
</wsdl:service>
Within my client application, after I do "update web reference" in VS2005, I
have to manually replace all occurances of "HPServer" throughout the project
with "domainname.com" to make it work correctly.
How can I fix this, so the Web Service on the server advertises the correct
address?
Thanks,
-- Bruce
(specifically, SBS 2003, SP1). When I query the Web Service for a WSDL
file, I find that the WSDL is advertising the wrong server name. The WSDL
shows the address to be "HPServer" (which is the Windows networking name of
the server) rather than showing the internet domain name of the server.
Here is the snip from the WSDL file (with the actual names replaced by
aliases for this public posting...)...
<wsdl:service name="MyService">
<wsdlort name="MyServiceSoap" binding="tns:MyServiceSoap">
<soap:address location="http://HPServer/action.asmx"/>
</wsdlort>
<wsdlort name="MyServiceSoap12" binding="tns:MyServiceSoap12">
<soap12:address location="http://HPServer/action.asmx"/>
</wsdlort>
</wsdl:service>
Within my client application, after I do "update web reference" in VS2005, I
have to manually replace all occurances of "HPServer" throughout the project
with "domainname.com" to make it work correctly.
How can I fix this, so the Web Service on the server advertises the correct
address?
Thanks,
-- Bruce