|
-
Oct 1st, 2007, 07:20 AM
#1
Thread Starter
Hyperactive Member
[2005] Web references
Hello,
I wonder if anyone can help me please ?
I have about 20 Web Services which were originally created on my machine, and when I referenced them it had a reference to "http://localhost:1313/"
I then published these to our server, and subsequently had to change the properties of every single web reference to "http://Server1/DB_WebService/"
This is a bit of a carry on, and to be honest I only do this because I've been told to do it this way.
Is there no way of doing these all at once ?
-
Oct 1st, 2007, 10:13 AM
#2
Re: [2005] Web references
You can use the URL property of your web service to change the location of the service on your clients.
vb Code:
_remoteService.Url = newUrlValue
I usually just put the URL as a value in the config file for all the services I'm using and read it from there.
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
|