|
-
Jan 4th, 2010, 04:32 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] webservice question
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?
-
Jan 5th, 2010, 03:16 AM
#2
Re: [RESOLVED] webservice question
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
-
Jan 5th, 2010, 08:19 AM
#3
Thread Starter
Hyperactive Member
Re: [RESOLVED] webservice question
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
-
Jan 5th, 2010, 08:23 AM
#4
Re: [RESOLVED] webservice question
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|