Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Service Reference from Database 1

Status
Not open for further replies.

XgrinderX

Programmer
Mar 27, 2001
225
0
0
US
In this thread:
thread855-368962

...there is a solution for dynamically adding web reference URL using the web.config. What about if the info being used to call the service is stored in a database? Can this be done?
 
Create your webservice. Using the static URL is fine.
In code:
Code:
dim ws as new yourwebservice(namespace).yourwebservice(classname)
dim URL as string = (Get your URL from the DB)

ws.Url = URL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top