My Oracle Support Banner

How Can URI Parameters Be Mapped When The Payload Also Needs To Be Passed Using The REST Adapter, And Not See This Error - oracle.fabric.common.FabricInvocationException: java.lang.IllegalArgumentException: loadID (Doc ID 2261138.1)

Last updated on APRIL 09, 2021

Applies to:

Oracle SOA Suite - Version and later
Information in this document applies to any platform.


There is a business need to invoke a REST service with the POST operation, and an URL such as http://server:host/api/v1/tracking/{loadID}/{truckid} and pass a JSON payload. In order to do this, these are the steps that were followed:

  - Use the REST Adapter to configure the REST service with template URL parameter loadID and truckid, and also configure the Request/Response Schema.
  - Connect the REST Adapter service inside a BPEL Process for invocation.
  - While mapping in the BPEL process, only payload fields are visible for mapping, and the URI template parameters are not part of the XSD/WSDL created automatically as part of REST Adapter configuration.
  - If only the payload fields are mapped, and the service deployed, the below error is seen:

<part name="summary">
<summary>oracle.fabric.common.FabricInvocationException: java.lang.IllegalArgumentException: loadID</summary>

How can the URI parameters be mapped, when the payload also needs to be passed?


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.