SOAP over JMS support in SwitchYard
Issue
- Is
SOAP
overJMS
supported inSwitchYard
shipped withFSW6.0.0
? - The use case goes like this.
SwitchYard
application receives message via Webservice (where the SOAP message was sent overHTTPS
and it contained some extra headers in theSOAP Header
section)- after processing the message by evaluating it's header information store whole
SOAP
message into aJMS
message.
According toW3C
recommendation, in such a scenario of usingSOAP over JMS
theJMS
message should contain whole message includingSOAP envelope
together with set of properties derived fromSOAP Headers
(likeSOAPJMS_soapAction
). It is possible to define reference withWSDL
interface andJMS/JCA
binding but the problem is that storedJMS
message contains onlyXML
fromSOAP Body
part.Envelope
and theSOAP Header
which were added to theSOAP
message is not included inside theJMS
message.SOAP properties
are also not created. Is it possible to send wholeSOAP
message toJMS
with envelope , header and properties from theSOAP
message ?
- There is a use case where users complain that even if they send a
SOAP
message (containing some contents in theirSOAP Header
) to theirSOAP binding
ofSwitchYard
application, but still theComposite Reference
of theSwitchYard
application which should dump theSOAP
message contents in form of aJMS message
(with the help of aJMS binding
) to a queue is not containing theHeader
parts.
e.g.
...
<soapenv:Header>
<test>HIIII!!!!</test>
</soapenv:Header>
<soapenv:Body>
...
Is there a way to add the Header
part of the incoming SOAP
message in the resulting JMS
message?
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.