Designer 10.7 | webMethods CAF and OpenUI Development | Working with Web Services | Specifying a Web Service Connector | Adding a Web Service Connector from Package Navigator
 
Adding a Web Service Connector from Package Navigator
When you want to use web services in your Composite Application Framework web or portlet application, you must create a web services connector in the application and select a web services client.
You can create a web services descriptor in the Package Navigator view, and then drag it into a portlet view that is open in the editor. For more information, see Specifying a Web Service Connector. In this case, any user interface elements in the web service are added to the View Declaration Language (VDL) file open in the editor.
Note:
Dragging and dropping a service from the Package Navigator view into a view in the editor is not supported. You must first create a web service descriptor, as described in Creating a Web Service Descriptor.
You must connect to a webMethods Integration Server to use this procedure, and the connecting user account must have appropriate ACL permissions. For more information, see Connecting to webMethods Integration Server.
*To create a web service connector by dragging from the Package Navigator view
1. In the UI Development perspective, open the web or portlet application that you want to work with.
2. Open the portlet view you want to work with in the editor.
3. In the Package Navigator view, expand the webMethods Integration Server instance, select the web service descriptor you want to work with and drag it into a view in the design canvas.
4. In the New Web Service Client wizard, select an authentication methods and click Next.
5. Select the web service operations you want to use and click Finish.
The new web service client is added to the application and can be viewed in the User Interfaces node of the Solutions view. You can also view the wsclient.xml file in the project’s WEB-INF folder in the Navigator view. Click the Preview tab to view any user interface elements added by the web service.
Related Topics