Adding an Operation from a Referenced Web Service
Some web services contain two or more operations. It is possible for a project to contain a web service connector that represents only one of the operations available in the provider service. In a situation like this, you might want to add to your project another web service connector that represents another operation available in an already-referenced web service provider.
If you attempt to create the new web service connector using the New Web Service Client wizard (as described in
Specifying a Web Service Connector), you will receive an error, “Client with this name already exists.”
To add an operation from a web service that is already referenced in your project
1. Expand the project in the User Interfaces node of the Solutions view.
2. In the Web Services Connectors folder, expand the existing web service connector so that you can see all of the available operations within it.
3. Right-click the operation you want to add as a new web service connector and click Generate Web Service Connector.
4. In the New Web Service Client wizard, click Finish.
Related Topics