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

How to Manually Create A REST Web Service

How to Manually Create A REST Web Service

You can manually define the columns in a REST web service resource. When you manually define the resource, the Developer tool creates a resource mapping with an Output transformation that defines the response message. The Developer tool does not create a Read transformation in the resource mapping. You must add a Read transformation to the mapping after you define the resource. Manually create the resource when the response message structure is different from the source data.
Use the following steps to create the REST web service:
  1. Create the REST web service resource.
  2. Define the resource mapping that retrieves the data.
  3. Configure the REST Output transformation mapping to map data from input ports to elements in the output hierarchy.
  4. Test the mapping.
  5. Deploy the application to a Data Integration Service.
  6. Access the web service from a browser.

0 COMMENTS

We’d like to hear from you!