2 Replies Latest reply on Jul 21, 2010 7:22 AM by Tom Eicher

    JBossESB + WebServices (working the SOAP Header )

    Michal D. Newbie

      Hi All,


      I've got a problem working the SOAP Header when using JBossESB (v. 4.5). Here's the thing:


      1. I expose an ESB service as a WebService using inXsd/outXsd atributes of the "actions" tag

      2. It turned out that there's a need to set some soap header content in the response (things like result_code, error_code etc.) for logging purposes of the web service consumer


      I couldn't find the way to do it. Looks like the processing pipeline has access only to the soap body part but not the header.


      What's the best way to work this around? Can I access the soap header from inside the processing pipeline or do I have to reimplement my solution? Is this all about using inXsd/outXsd? Maybe if I use SOAPProcessor it'll be possible to handle such a situation.


      Thanks in advance for any suggestions.



      All the best,

      Michal Domagala