- 17.9K All Categories
- 3.3K Industry Applications
- 3.3K Intelligent Advisor
- 60 Insurance
- 534.5K On-Premises Infrastructure
- 137.7K Analytics Software
- 38.5K Application Development Software
- 5.3K Cloud Platform
- 109.1K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 70.8K Infrastructure Software
- 105.1K Integration
- 41.5K Security Software
Custom header does not work well with mediator
I have created a composite which works as REST service with two operations, each operation is having its own BPEL and hence I have used mediator to delegate the request to corresponding BPEL. I have to pass custom header (XX_custom_header ) to each BPEL.
If I call the REST service by sending custom header in the request then the composite works fine however if this custom header is not sent through request, the composite throws mediator exception.
oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01001:[Error in assign operation]Error occurred while assigning to target "$out.property.rest.binding.http.XX_custom_header" using expression "$in.property.rest.binding.http.XX_custom_header".Possible Fix:Check if source message has right values or source expression is valid.
Please note that I am using SOA verion 126.96.36.199.
If any of you have faced similar problem in SOA 12c then let me know your experience and solution for this.