Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2006

Tip: Looking for answers? Try searching our database.

WSDL: customize wsdl:port\soap:address\@location

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JT - 05 Apr 2006 19:03 GMT
Hi,

We have 2 servers having the same web site running on port 8080. These two
servers are load balanced and have DNS name, e.g. my.server.com.  Now on both
of these two servers, we put the same web services, e.g.
MyWebService\WS.asmx, so the URL to the web service looks like:
http://my.server.com/MyWebService/WS.asmx

Now here's the problem.  When I try to view the WSDL via
http://my.server.com/MyWebService/WS.asmx?WSDL, the
wsdl:service\wsdl:port\soap:address\@location value contains the port number
8080 even though I'm using the DNS name of the servers:
http://my.server.com:8080/MyWebService/WS.asmx, which is wrong since
my.server.com is already pointing to port 8080.

Is there a way to customize this from the code through attributes, or modify
this through some configuration?

Help!

Thanks.
guybar - 11 Apr 2006 10:09 GMT
you can create the wsdl document in advance using the wsdl tool and then
remove the port numbers from it.
Signature

GuyBar

> Hi,
>
[quoted text clipped - 17 lines]
>
> Thanks.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.