Question
CGI International
CA
Last activity: 9 Apr 2021 6:33 EDT
Creating a rest service using a existing XML or JSON
I am looking for ways to create a REST API so that external application can POST data ( support both XML and JSON) to PEGA application. Following needs to be achieved
1. I need to translate existing XML/XSD and map to a data object of a case - i could not find a way to create a XML parser from XSD in pega 8.5. I could find some legacy modules only.
2.Perform validation on all the elements and attributes before we create a case
3. return a error response if xml is not meeting the XSD definition
4. Need to create a case when a XML is successful validated.