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 and SOAP Web Service Administration
  15. Datatype Compatibility

Web Services Guide

Web Services Guide

Step 5. Create a Header

Step 5. Create a Header

You can optionally create a header to receive or send data within the header of the SOAP message. You can create a header for an operation input or operation output. You can use the HTTP POST method.
  1. Open a web service.
  2. Select the operation mapping in the
    Outline
    view.
    The operation mapping appears in the editor.
  3. Click the
    Operations
    tab in the
    Properties
    view.
  4. Choose to add a header to the operation input or the operation output.
    • Select the input to add the header to the operation input.
    • Select the output to add the header to the operation output.
  5. Click the arrow next to the
    New
    button.
  6. Click
    Header
    and then choose to create an element or reuse an element.
    • Select
      Create New Element
      to create a element for the header.
    • Select
      Reuse Existing Element
      to reuse an element for the header.