Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Accessing Application Web Services

The My.WebServices object provides an instance of each Web service referenced by the current project. Each instance is instantiated on demand. You can access these Web services through the properties of the My.WebServices object. The name of the property is the same as the name of the Web service that the property accesses. Any class that inherits from SoapHttpClientProtocol is a Web service. For information about adding Web services to a project, see How to: Access a Web Service in Managed Code.

The following table lists possible ways to access Web services referenced by an application.

To

See

Call a Web service

My.WebServices Object

Call a Web service asynchronously and handle an event when it completes

How to: Call a Web Service Asynchronously

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft