In the following procedure, you create a WSD object to use in the sub-process. The WSD object functions as the interface to the sub-process or, in the case of a user activity, to the Visual Page Designer pageflow. For detailed information about using the Web Service Designer, see Sun Enterprise Service Bus topics.
Right-click the Repository and click New Project.
Name the Project.
Right-click the Project, point to New, and then click Web Service Definition.
Edit the WSD object as needed.
Right-click the Project, point to New, and then click Business Process.
Add a receive activity to the BP, and then link it to the Start element.
In the Project Explorer, expand the WSD object, expand PortTypes, and then expand PortType.
Click the PortType operation and drag it onto the empty receive activity.
If the operation includes an output message, a reply activity appears.
Add one or more empty activity to the canvas between the implement and reply activities.
Add links between the modeling elements in the sub-process, and then add business rules if needed.
Click Save.