cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI REST Receiver Adapter - xml/json namespace mapping

Former Member

when defined in the receiver channel, i get the following json payload:
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.User"

but it should be
"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"
without the extra .User from the xml source tag:
<ns1:User xmlns:ns1="urn:scim:user"><division>Finance</division>

Accepted Solutions (0)

Answers (1)

Answers (1)

JaySchwendemann
Active Contributor
0 Kudos

Just for the sake of completnes: You could just leave out the ".User" from the JSON Prefix, making that "urn:ietf:params:scim:schemas:extension:enterprise:2.0" but that would give you "urn:ietf:params:scim:schemas:extension:enterprise:2.0.User" and not the desired "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User"

Unfortunately I haven't found any parameter to set the separator for prefixes other than "." when using namespace mapping, have you?

An workaround could be using "Convert XML Name to JSON Name" instead of namespace mapping, also I think really there just should be configurable prefix possible, including "" meaning no prefix. One can only hope that SAP will yet implement such

Cheers

Jens