This task requires that you have already created and built the Worklist Module project that defines the tasks.
Create a web application project in the NetBeans IDE that defines the Worklist Manager Console.
Copy the TaskCommon.wsdl file from the Worklist Module project build directory into the web application project.
This file is located in the Worklist Module project home directory under the /build folder.
From the web application project, open the newly copied TaskCommon.wsdl file in the WSDL Editor.
In WSDL view, right-click Bindings and select Add Binding to add any necessary bindings and services to the file.
When you add the bindings from the WSDL view, the binding operations are created automatically.
Do the following to create a Web Service Client in the web application that invokes TaskCommonService in TaskCommon.wsdl.
You can specify the package name for the Web Service Client rather than using a wrapper. To specify the package name, do the following:
Expand Web Service Reference, right-click TaskCommon, and then select Edit Web Service Attributes.
The attribute editor appears.
Click the WSDL Customization tab, and then expand Global Customization.
Deselect the Use Default check box, and enter the following class as the package name:
com.sun.workflow.client
Click OK, and then click OK on the information dialog box.
Clean and build the web application project.
This generates the client stub classes in the build/generated folder.
Define you custom Worklist Manager Console web pages. Use the generated classes in your web application to invoke operations from TaskCommon.wsdl.
For a reference of the client API, see WLM Client WSDL API.