Change Web Service location in its WSDL

Dec 9 2007 11:37 PM
Hello fellow coders,

I'm kind of new at web services. Have a couple running now, but now I have a problem.
I have a public IP address, where I want people to access my web service. It's located behind an ISA server, it's configured to process every request of that public IP to the web server machine in the private network. When an outsider runs the

<site>?wsdl

the soap:address location appears with the Hostname of the machine. This part of the xml tells the application where to find the web service. So, because the machine is in a private network, this site is unreachable to everyone behind the cloud.

I'm using VS2005 to develop the web service, where can I tell VS2005 that my web service runs in that public IP and not in the machine.

I've tried:
http://blogs.msdn.com/kaevans/archive/2005/11/16/493496.aspx

but can't get it to compile, the web config throws the following error:
Could not load file or assembly 'App_Code' or one of its dependencies. The system cannot find the file specified.

Other solution supposedly relies in the Application diagram, which I tried, with no successful overcome. Or well couldn't understand the confusing msdn help.

http://msdn2.microsoft.com/en-us/library/ms242476%28VS.80%29.aspx

I've published other web services in the same schema and that part of the xml comes with
the public IP or DNS automatically, with no manual configuration.

I've been looking all over the web for this and this is my desperate beg. Thanks.