Processing an Order in a Purchase Order System

Creating the POService WSDL Document

The POService WSDL document enables the project to send a purchase order.

ProcedureTo create the POService WSDL document

  1. From the Projects window, right-click the HTTP-SOAP-PO-BPEL project and select New -> WSDL Document from the pop-up menu.

  2. Enter POService as the file name.

  3. Select Concrete WSDL Document as the WSDL Type, SOAP as the Binding, and Document Literal as the Type, and click Next.

  4. From the page 3 of the wizard, Abstract Configuration, do the following:

    1. For Operation Name, enter handlePurchaseOrder.

    2. Leave the Operation Type as the default value, Request-Response Operation.

    3. For Input, enter purchaseOrder as the Message Part Name.

    4. For the input Element or Type value, browse to and select By File -> src/purchaseOrder.xsd -> Elements -> purchaseOrder as the value.

    5. For Output, enter receipt as the Message Part Name.

    6. For the output Element or Type value, browse to and select By File -> src/purchaseOrder.xsd -> Elements -> purchaseOrder as the value.

    7. Make sure that the Generate partnerlinktype automatically checkbox is selected, and click Next.

      Graphic displays the New WSDL Document Wizard dialog
box as described in context.
    8. From page 4 of the wizard, click Finish. The new WSDL is added to the project tree in the Projects window and the WSDL Editor appears in WSDL view.

To configure the POService WSDL document:

The POService WSDL document uses the default SOAP WSDL properties. No changes are necessary.