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

Create a REST Web Service

Create a REST Web Service

You can deploy a data object as a REST web service or you can define the web service with a wizard.
Before you create a web service, determine the elements that you want to include in the response message. Use one of the following methods to create the web service based on the response message structure:
Create the web service manually.
Manually create the web service if the response message contains data that the resource mapping must calculate or format. Manually create the web service if the mapping has multiple sources. When the response message contains hierarchical data or multiple-occurring data, you must manually define the structure.
Create the web service from a data object.
If the response message contains data that is from one data object, you can create the resource definition based on the data object. You can choose specific columns from the data object and you can change the resource mapping after you create the web service.
Deploy a data object as a web service.
Deploy a data object as a web service if the response message can contain all the columns from a data object.