>>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.aspxIf 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 :-{ )