Change <soap:address> in Web Service Code?

T

Tau

dyanamically changing server address is not a problem. the issue i run into is that when deployed to production environment, the protocol to access the web service is changed to https from http. BUT the soap:address generated by the web service is "http://prodsvr/mywebservice.asmx" instead of "https://prodsvr/mywebservice.asmx". how do i overwrite the soap:address programatically in the web service code so that the client doesn't have any problem invoking it?

Thanks

----- John wrote: ----

You probably don't need to worry this if your concern is only about SOAP Address of wedl. Since it is created by web service automatically if you develop your serive using vs.net, it will be changed automatically when you deploy it into different stages, say dev, qa and prod

To verify this, set up another dev machine to migrate it from your dev to it. Let me know if it is not true
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top