quick question.
I added a web reference to my webservice and works great locally.
However when i publish it then it bombs out because it doesnt like the localhost as the server name..
What is best way to migrate that reference over to the server?
Printable View
quick question.
I added a web reference to my webservice and works great locally.
However when i publish it then it bombs out because it doesnt like the localhost as the server name..
What is best way to migrate that reference over to the server?
Hey,
You have marked this as resolved, so I am assuming that you found the answer.
Just to confirm, did you edit the web service reference in the web.config file of your application?
Gary
Was busy last night when i closed this so didnt have time to put up the answer.
Yeah, it was more of a user error :)
But yeah I did see the information in the web config.
My solution was that i published the web service to the server and then just added the reference after I could find it on the server.
Kinda backwards but it worked:D
Hey,
Yip, that is one way of doing it :)
Normally, it is just the server name that changes, the rest of the URL stays the same. Normally I just browse to the web service in Internet Explorer, or the like, make sure it is there, and then copy/paste the url into the web.config.
Gary