- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K 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 220.127.116.11.
If any of you have faced similar problem in SOA 12c then let me know your experience and solution for this.