Consuming SOAP Services

The request message is generated by the SOAP reference binding for a service and response message is received by the reference binding from the service.

Creating a Consumer for SOAP Service

Procedure

  1. Click on the process package, for example, "HelloWorld", and then click Create a new Business Works Process icon.
  2. Specify the process name as HelloWorldConsumer and click Finish.
  3. Drag and drop the HelloWorldSOAP portType to the right of the process editor.
  4. Add a Reference Binding to the SOAP service for the Reference Type field by selecting the required reference from the drop down list.
  5. Select and drop a Timer and a Log activity on the process and join it with the Invoke activity as shown in the image. Also, configure the Log activity with a message.

    The SOAP reference binding is created.
  6. Run the project.