Previous Topic Next topic Print topic


Create the BookReturn type

  1. In the BookLegacy.wsdl editor (operations diagram), click on the arrow next to BookReturnE output element.

    This opens an Inline Schema editor showing the element BookReturnE.

  2. Right-click anywhere in the view, and then click Set Type > New.

    This opens the New Type dialog box.

  3. Click Complex Type (the default).
  4. In the Name field, type BookReturn, and then click OK.

    This adds a new diagram to the editor.

  5. Right-click BookReturn, and then click Add Element.

    This creates a new row.

  6. In the highlighted NewElement field, type Book.
  7. To change the type, right-click on the row and click Set Type > Browse.

    This opens the Set Type dialog box.

  8. In the Name field, type Book.

    This lists the BookDetail and BookReturn types.

  9. Click BookDetail in the Types list, and then click OK.
  10. Continue to add the following elements:
    Element Name Data Type
    Status string
    StatusNo int
    Your diagram should now contain:
    Element Name Data Type
    Book BookDetail
    Status string
    StatusNo int
  11. Click File > Save, and then close the Inline Schema editor.
Previous Topic Next topic Print topic