Dear experts,
We are currenctly using the new REST capabilities of PI. We already impemented a successfull SOAP > JSON (GET) example using PI REST Adapter - Consuming synchronous RESTful service entry and consuming a google service.
Now on a REST system which are trying to call using SOAP we are having a problem while converting JSON response to XML.
JSON Response from Server:
{
"schemas": [
"urn:ietf:params:scim:schemas:extension:oracle:2.0:OIG:User",
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User",
"urn:ietf:params:scim:schemas:extension:oracle:2.0:IDM:User"
],
"urn:ietf:params:scim:schemas:extension:oracle:2.0:OIG:User": {
"ldapOrganization": "XFR",
"ldapCommonNameGenerated": 0,
"usr_AdminMail": "test.test@test.com",
"ZertifizierungsStatus": "Kunde ist zertifiziert",
"userPasswordResetAttemptsCounter": 0,
"
Error:
<code>ADAPTER.JAVA_EXCEPTION</code>
<text>java.io.IOException: Parsing Error: org.xml.sax.SAXParseException: Element type "urn:ietf" must be followed by either attribute specifications, ">" or "/>".
at com.sap.aii.af.sdk.xi.mo.DefaultItem.marshal(DefaultItem.java:526)
SAXParser is having a problem with urn:itef:.... Objects. I tried out Mangle invalid name char. options but I guess ":" is not invalide so it's not helping out. Is there any chance to escape ":" in the response?
Thanks and Regards,
Koray