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

HTTP Post Method

HTTP Post Method

The Data Integration Service uses the HTTP Post method to send data to a REST web service. The web service determines the actual function that the Post method performs. You might use the Post method to create a resource or a collection of resources.
When you configure the REST Web Service Consumer transformation to use the Post method, you configure the input ports, the method input, the method output, and the output ports.

Example

You want to post new part 501 to the HypoStores products database. The web service uses the following URL for part 501:
http://www.HypoStores.com/products/ProductDetails/501
Enter the following base URL:
http://www.HypoStores.com/products/ProductDetails
The following table shows the input ports that you might define:
Port Type
Port Name
Input Value
URL
URL_Part_No
501
Input
Part_Desc
ACME ball point pens, 12-pk, black, 0.5 mm
Input
Price_USD
9.89
The following table shows the output ports that you might define:
Port Type
Port Name
Return Value
Output
Response
<Response returned by the web service>