SOAP over JMS support in SwitchYard
Issue
- Is
SOAPoverJMSsupported inSwitchYardshipped withFSW6.0.0? - The use case goes like this.
SwitchYardapplication receives message via Webservice (where the SOAP message was sent overHTTPSand it contained some extra headers in theSOAP Headersection)- after processing the message by evaluating it's header information store whole
SOAPmessage into aJMSmessage.
According toW3Crecommendation, in such a scenario of usingSOAP over JMStheJMSmessage should contain whole message includingSOAP envelopetogether with set of properties derived fromSOAP Headers(likeSOAPJMS_soapAction). It is possible to define reference withWSDLinterface andJMS/JCAbinding but the problem is that storedJMSmessage contains onlyXMLfromSOAP Bodypart.Envelopeand theSOAP Headerwhich were added to theSOAPmessage is not included inside theJMSmessage.SOAP propertiesare also not created. Is it possible to send wholeSOAPmessage toJMSwith envelope , header and properties from theSOAPmessage ?
- There is a use case where users complain that even if they send a
SOAPmessage (containing some contents in theirSOAP Header) to theirSOAP bindingofSwitchYardapplication, but still theComposite Referenceof theSwitchYardapplication which should dump theSOAPmessage contents in form of aJMS message(with the help of aJMS binding) to a queue is not containing theHeaderparts.
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 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.
