on 08-14-2015 3:18 PM
Dear experts,
We are currenctly trying out the new REST capabilities. We already impemented a successfull SOAP > JSON (GET) example using entry. Now we are investigating complex POST, PATCH etc. calls. Our goal is the same. Having SOAP Interface for a REST webservice. We want to consume this service via SOAP calls
I have checked out the REST URL options in the outbound interface.
But I can't figure out how to make complex call like following using this feature. As you can see there are two main elements "schemas" and "Operations". Operations is an array. And a operation object has 3 children with one of them having 3 children elements again.
Would be happy about any leading inputs.
PATCH http://<server>:<port>/idaas/im/scim/v1/Users/1159 HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/scim+json
Authorization: Basic RUdPVkNPTk5FQ1Q6V2VsY29tZTE=
Content-Length: 489
Host: <server>:<port>
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
"Operations":
[
{
"op": "replace",
"path": "urn:ietf:params:scim:schemas:extension:oracle:2.0:IDM:User:passwd",
"value": {
"value": "ValidPW123$$",
"sendNotification": "false",
"sendNotificationTo": ""
}
}
]
}
Thanks and Regards,
Koray
Hi Alex,
Thanks. We've build the a matching XML structure in ESB to match the json with "schemas", "Operations" tags etc and made sure, that the XML was converted to JSON. This way we can convert the SOAP body XML tags to matching JSON tags. Now we are struggling about the HTTP operations. Apparently is PATCH not supported (see ). Is there any workaround for this?
Regards,
Koray
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Koray,
from what I understand, the operation is part of the message payload, so you would need to map your payload in PI to the respective format
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.