How to send custom HTTP headers through SOAPProxy in JBoss ESB ?
Issue
- Currently
SOAPProxy
is 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
WebServiceContext
andHttpServletRequest
to 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, tools, and much more.