Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the Web Service URL
Message
From
18/08/2010 13:52:21
 
 
To
18/08/2010 12:32:05
General information
Forum:
ASP.NET
Category:
Web Services
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01477089
Message ID:
01477114
Views:
43
>>I am using this new approach to instantiate a reference to a Web Service:
>>
>>
>>    Private oMyClassSoapClient As MyNamespace.MyClass.MyClassSoapClient = New MyNamespace.MyClass.MyClassSoapClient
>>
>>
>>But, I cannot find in that class where to change the URL. Is this still supported?
>
>Is your class based on SoapClient ? If yes, it's in the constructor
>
>http://msdn.microsoft.com/en-us/library/aa747875.aspx

If it is derived from SoapClient then it looks as if you could also do this by setting the Destination property to a suitable instance of EndPointReference (but I haven't tried it :-{ )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform