How to pass multiple repeated parameters to REST Proxy/Business services.
(Doc ID 2505313.1)
Last updated on MAY 15, 2023
Applies to:
Oracle Service Bus - Version 12.2.1.2.0 and laterInformation in this document applies to any platform.
Symptoms
We are not able to send multiple parameters with the same name to OSB REST Adapter (GET Method)
I have exposed the existing soap pipeline to REST proxy service. I have only one element (recordID) which is repeatable. This is my sample WADL for the same.
When i try to test the REST proxy service i can only see one parameter (recordID). Since it is repeatable element i am passing the request like this. Snapshot attached for the same. But my proxy service is failing to fetch the result. my soap service is working fine with multiple recordID's. I tried below approaches in postman tool.
Test Case1: http://host:port/ReOrchestrationHandler/ProxyServices/IHILookupRESTPS?recordID=["120079","133330474"]
Test Case2: http://host:port/ReOrchestrationHandler/ProxyServices/IHILookupRESTPS?recordID=120079&recordID=133330474 (In this case REST proxy service is considering only one input parameter and giving the results for 1st parameter and it is ignoring another parameter).
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 |
Cause |
Solution |
References |