SOAP over JMS support in SwitchYard

Solution Unverified - Updated -

Issue

  • Is SOAP over JMS supported in SwitchYard shipped with FSW6.0.0?
  • The use case goes like this.
    • SwitchYard application receives message via Webservice (where the SOAP message was sent over HTTPS and it contained some extra headers in the SOAP Header section)
    • after processing the message by evaluating it's header information store whole SOAP message into a JMS message.
      According to W3C recommendation, in such a scenario of using SOAP over JMS the JMS message should contain whole message including SOAP envelope together with set of properties derived from SOAP Headers (like SOAPJMS_soapAction). It is possible to define reference with WSDL interface and JMS/JCA binding but the problem is that stored JMS message contains only XML from SOAP Body part. Envelope and the SOAP Header which were added to the SOAP message is not included inside the JMS message. SOAP properties are also not created. Is it possible to send whole SOAP message to JMS with envelope , header and properties from the SOAP message ?
  • There is a use case where users complain that even if they send a SOAP message (containing some contents in their SOAP Header) to their SOAP binding of SwitchYard application, but still the Composite Reference of the SwitchYard application which should dump the SOAP message contents in form of a JMS message (with the help of a JMS binding) to a queue is not containing the Header 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content