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. Appendix A: Datatype Compatibility

Web Services Guide

Web Services Guide

HTTP Get Method

HTTP Get Method

The Data Integration Service uses the HTTP Get method to retrieve data from a REST web service. Use the Get method to retrieve a resource or a collection of resources.
When you configure the REST Web Service Consumer transformation to use the Get method, you configure the input ports, the method output, and the output ports. You do not configure method input.

Example

You want to retrieve the description and price for part number 500 in the HypoStores products database. The web service uses the following URL to identify a part:
http://www.HypoStores.com/products/ProductDetails?Part_No=<Part_No>
Enter the following base URL:
http://www.HypoStores.com/products/ProductDetails
The following table shows the input port that you might define:
Port Type
Argument Name
Input Value
Argument
Part_No
500
The following table shows the output ports that you might define:
Port Type
Port Name
Return Value
Output
Part_Desc
…<desc>ACME ball point pens, 12-pk, black, 0.7 mm</desc>…
Output
Price_USD
…<price>9.89</price>…

0 COMMENTS

We’d like to hear from you!