How to send custom HTTP headers through SOAPProxy in JBoss ESB ?
Issue
- Currently
SOAPProxyis being used in an ESB application, and there is a need to have the proxy service get values from the transport (HTTP) headers and set them to the target webservice as named headers.- Basically, the requirement is to read the client IP from the header in ESB and pass it to the web service as a
named header. - And the web service uses
WebServiceContextandHttpServletRequestto read it .
- Basically, the requirement is to read the client IP from the header in ESB and pass it to the web service as a
- Is there an easy way of setting those named headers in JBoss ESB?
Environment
- Red Hat JBoss SOA Platform (SOA-P)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
