webMethods OneData 10.11 | Managing Master Data with webMethods OneData | Developing for webMethods OneData | RESTful Web Services | Working with REST Schema | Obtaining the REST Schema from webMethods OneData | Obtaining the REST Schema from webMethods OneData using REST URL
 
Obtaining the REST Schema from webMethods OneData using REST URL
1. Append /XSD or /XMLSchema or /JSONSchema to the REST URL for the object or interchange mapping and execute the HTTP GET call.
When the REST URL is invoked, the interchange mapping type must be set to type XML/XSD or JSONSchema. Specify this by appending /XSD or /XML or /JSONSchema to the end of the URL.
*For example, to obtain the XSD from the REST URL http:// localhost:8080/onedata/rest/QA/StandardProject/DO/Employee, append /XSD or /XML to the URL as follows:
http://localhost:8080/onedata/rest/QA/StandardProject/DO/Employee/XSD
http://localhost:8080/onedata/rest/QA/StandardProject/DO/Employee/XML
*For example, to obtain the JSON schema from the REST URL http:// localhost:8080/onedata/rest/QA/StandardProject/DO/Employee, append /JSONSchema to the URL as follows:
http://localhost:8080/onedata/rest/QA/StandardProject/DO/Employee/JSONSchema