Developing a SOAP Service
A SOAP service makes a Process service available as a SOAP web service. You can achieve this by applying a SOAP service binding on the target process service.
Click on the process package, for example, "HelloWorld", and then click on the
Create a new Business Works Process
Select a process on which you want to add a service, and click the
Create Service icon.
The New Service dialog opens.
In the New Interface section specify the
Interface Name as
Operation Name as
To implement the operation, drag and drop the
sayhello operation, and select
Choose Implement Constructor Operation option, if there are multiple operations in a Port type.Tip: The option Implement Operation implements a single operation and creates a single Receive activity and a Reply. The option Implement Constructor Operation implements a constructor. A constructor provides for multiple operations. Use this option if the PortType has multiple operations which must be implemented by this process.
Click on the
Reply activity (sayHelloOut) and under the Properties view, click the
Input tab. Configure Reply message.
Right-click on green chevron and select
Binding Configuration dialog displays.
To configure transport on the SOAPServiceBinding, select
HTTP from the
Transport Type drop-down list in
Create Shared Resource button and click
Finish on the
Create HttpConnResource Resource Template.
The default port used by this shared resource is 8080. The service binding is now created.
- To generate the concrete WSDL of the SOAP service created in the above steps, click Generate Concrete WSDL link.
- Click Workspace. In the Folder Selection window and select the Service Descriptor folder of the current module and click OK.
To avoid namespace resolution error, click
Next and clear the
Embed Abstract WSDL and
Embed Schema check boxes and click
The concrete WSDL is generated at the specified location.