Create the BookReturn type

  1. In the BookLegacy.wsdl view (operations diagram), click on the arrow after the row for the output parameter. There should be a new Inline Schema view with an element called BookReturnE.
  2. Right-click anywhere in this view and select Set Type > New.
  3. In the New Type dialog box, select Complex Type and type BookReturn then click OK. This adds a new diagram to the editor.
  4. Right-click BookReturn and select Add Element. Type in Book.
  5. To change the type, click on string, then the down arrow to bring up the list. Select Browse, type in Book, which should be enough to show BookDetail in the Types list. Select BookDetail and click OK.
  6. Continue to add elements:
    • Status (string)
    • StatusNo (int)
  7. Close the Inline Schema view, clicking Yes to save when prompted.
Your diagram should now contain:
Parameter Data type
Book BookDetail
Status string
StatusNo int