webMethods, OneData, and Terracotta  10.2 | Managing Master Data with webMethods OneData | Developing for webMethods OneData | REST Web Services | REST Web Services in OneData
 
REST Web Services in OneData
Representational State Transfer (REST) is an architectural style for interaction over the Internet, built on top of the HTTP protocol. OneData REST web services provide an easier means for third party applications to access data hosted in OneData.
Traditional web services use SOAP as the standard for serving XML data in an SOA environment, which is often regarded to be highly complex and rigid. REST, while using the same underlying HTTP protocol, offers a simpler request response model with easier integration options. OneData supports two HTTP methods—GET and POST—in REST services for both XML and JSON.
The RESTful web service in OneData supports all CRUD (create, read, update and delete) actions for data objects and conceptual objects. Through the REST web service URL, you can perform all operations (insert, update, delete, restore, and purge) on an object. The REST web service is linked through the acquisition layer for all operations other than data retrieval. For this reason, existing functionalities of the acquisition layer, such as Decode, Exception Queue support, and enhanced performance are part of RESTful web services, as well.
OneData supports data retrieval for remote objects through the RESTful web service.
Note: There may be a delay the first time an object is accessed through a REST service. Subsequent calls to the same object are usually faster.
You can use Apache HttpClient to consume the service. You can also use web browsers to access the server directly. If you want to define a filter condition in the request, it must be URL encoded to enable the use of special characters in data values or object attributes.

Copyright © 2011-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release