Hi Lukasz, The rules of the game are same for the Provider and Consumer. Only the directionality and role changes.... The Provider will therefore look for a Raw XML message if SOAP="false" and not go looking for a SOAP Header in JBI properties.
As for your second question, the JBI property used to store the SOAP Header constent if SOAP="true" is JbiConstants.SOAP_HEADERS Cheers, Ashwin... Lukasz L. wrote: > > hi Ashwin, > > > Ashwin Karpe wrote: >> >> Hi Lukasz, >> >> 1. If the NormalizedMessage that is sent to CXF Provider already contains >> full SOAP envelope with SOAP headers will it be sent "as is" along with >> these headers to the target service? >> >> Ashwin --> The SOAP Header is only preserved in the message if the flag >> SOAP is set to "false" in the HTTP/JMS/CXF consumer.The SOAP header is >> not lost however if SOAP is set to true. When the exchange is created the >> SOAP header is stripped and preserved in JBI properties on the exchange. >> The contents of the SOAP Body are what is sent in the message. The >> message is now a JBI message and not a SOAP Envelope. >> > > but I asked about the CXF Provider, so the question would be when the CXF > provider has useSoapEnvelope=true will it use the entire incoming SOAP > envelope with headers? (supposing that it got the whole SOAP enveloper in > NM content) > > also, what is the name of JBI properties that used to store the header > content? > > > > ----- --- Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence Progress Software Corporation 14 Oak Park Drive Bedford, MA 01730 --- +1-972-304-9084 (Office) +1-972-971-1700 (Mobile) ---- Blog: http://opensourceknowledge.blogspot.com/ -- View this message in context: http://www.nabble.com/SOAP-headers-and-CXF-Provider-tp20893998p20898368.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
