Designing and Implementing Composite Applications : webMethods CAF and OpenCAF Development Help : Working with Web Services : Specifying a Web Service Connector : Creating a Web Service Descriptor
Creating a Web Service Descriptor
If you attempt to create a web service connector by dragging a service from the Package Navigator view and dropping it into a view that is open in the editor (or into the Managed Beans node of the Bindings view), you will receive an error message stating that this method is deprecated and is not considered best practice.
Instead, you must first create a web service descriptor (WSD), which you can then drag and drop into your project. For more information about web service descriptors, see Web Services Developer’s Guide.
To create a web service descriptor
1. In the UI Development perspective, click the Package Management view.
2. In the Package Navigator view, expand the webMethods Integration Server instance, right-click the service you want to use to generate a web service descriptor, and click Generate Provider WSD.
3. Accept the default name for the web service descriptor, or type a new name.
4. Click OK.
The new web service descriptor is created in the Package Navigator folder that contains the service. You can now drag and drop the descriptor into your project using one of the following methods, as appropriate:
*Specifying a Web Service Connector, to add a web service client to the application.
*Generating a Web Service Connector Reference, to manually create the user interface for a web service by creating a web service connector reference in a managed bean.
*Adding a Web Service Connector from Package Navigator, to add a web service client to a portlet view or managed bean node.
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback