Table of Contents

Search

  1. Preface
  2. Web Services
  3. SOAP Web Services
  4. WSDL Data Object
  5. Schema Object
  6. How to Create a SOAP Web Service
  7. Operation Mappings
  8. Parsing Web Service SOAP Messages
  9. Generating Web Service SOAP Messages
  10. Web Service Consumer Transformation
  11. REST Web Services
  12. How to Create a REST Web Service
  13. REST Web Service Consumer Transformation
  14. REST Web Service Consumer Transformation Use Cases
  15. REST and SOAP Web Service Administration
  16. Datatype Compatibility

Web Services Guide

Web Services Guide

Step 3. Create an Element

Step 3. Create an Element

You can optionally create an element on the
WSDL
view of a web service. You can create an operation fault or a header with elements you create in the
WSDL
view of the web service. An element can contain multiple elements and child elements.
Before you create an element, you must create a web service and define one or more operations from the
Create a Web Service
wizard.
  1. Open the web service.
  2. Select the
    WSDL
    view.
  3. Show the
    Design
    of the WSDL. Then, in the Schema section select an element or the namespace entry above the elements.
  4. Click the
    New Element
    button.
  5. To add an element to the element, click the arrow next to the
    New
    button, and then click
    Element
    .
  6. To add child elements to an element, select the element, click the arrow next to the
    New
    button, and then click
    Child Element
    .
  7. Optionally, configure the type for each element.
    1. Click the
      Selection
      button in the
      Type
      field.
    2. Choose an XSD type or a Schema object type and click
      OK
      .
  8. Optionally, configure the minimum and maximum number or occurrences for each element.
  9. Optionally, enter a description for each element.
You can optionally create a predefined fault.

0 COMMENTS

We’d like to hear from you!