RESTAPI: REST Outbound Request contains extra \ For Every Occurrence Of /
(Doc ID 2555315.1)
Last updated on APRIL 04, 2025
Applies to:
Siebel CRM - Version 18.11 and laterInformation in this document applies to any platform.
Symptoms
On : 18.11 version, Siebel EAI
In REST Outbound scenario,while passing the custom header/data to external system where ever there is a / character in the request another \ is getting added before it which should be avoided
Changes
- Follow the document IP17 How To Set Up And Test Outbound RESTFul API Services (Doc ID 2409710.2) and follow the instructions mentioned in III. Generating the OpenAPI SWAGGER , IV. Creating Siebel Proxy Objects and V. Testing the Outbound RESTFul API Call
- From business service Simulator, execute business service "REST_pet" and method: "user:post"
Input arguments are passed as Accept: application/json and "MyCustomHeader" as "ABCD/"
In siebeljbs.log
[SIEBEL INFO] Thread[http-nio-8002-exec-4,5,main] [2019-05-03 07:25:27.835] [JBSFactory] Returning the Object to JMS Pool with SiebelTaskID: win2012r2std1782580915936com.siebel.apps.shared.xmlp.RESTOutboundBusvc
[SIEBEL INFO] Thread[http-nio-8002-exec-8,5,main] [2019-05-03 07:27:08.251] [JBSFactory] Borrowing the object from JMS Pool with SiebelTaskID: win2012r2std1782580915936com.siebel.apps.shared.xmlp.RESTOutboundBusvc
[SIEBEL INFO] Thread[http-nio-8002-exec-8,5,main] [2019-05-03 07:27:08.251] [RESTOutbound] Target URL : http://petstore.swagger.io/v2/user
[SIEBEL INFO] Thread[http-nio-8002-exec-8,5,main] [2019-05-03 07:27:08.251] [RESTOutbound] UserName : null
[SIEBEL INFO] Thread[http-nio-8002-exec-8,5,main] [2019-05-03 07:27:08.251] [RESTOutbound] calling conversion module to convert PS into JSON
[SIEBEL INFO] Thread[http-nio-8002-exec-8,5,main] [2019-05-03 07:27:08.252] [RESTOutbound] converted JSON : { "body" :{"Accept":"application\/json","MyCustomHeader":"ABCD\/"}}
[SIEBEL INFO] Thread[http-nio-8002-exec-8,5,main] [2019-05-03 07:27:08.258] [RESTOutbound] calling HttpCaller module for outbound call
[SIEBEL INFO] Thread[http-nio-8002-exec-8,5,main] [2019-05-03 07:27:09.212] [RESTOutbound] response from outbound call :
[SIEBEL INFO] Thread[http-nio-8002-exec-8,5,main] [2019-05-03 07:27:09.212] [RESTOutbound] calling conversion module to convert JSON into PS
[SIEBEL INFO] Thread[http-nio-8002-exec-8,5,main] [2019-05-03 07:27:09.213] [JBSFactory] Returning the Object to JMS Pool with SiebelTaskID: win2012r2std1782580915936com.siebel.apps.shared.xmlp.RESTOutboundBusvc
Here could see that for every occurrence of /, extra \ is getting added
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |