Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the Web Service URL
Message
De
18/08/2010 13:52:21
 
 
À
18/08/2010 12:32:05
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01477089
Message ID:
01477114
Vues:
44
>>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 :-{ )
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform