Re: RAW xml to SOAPMessage convertion in CXF WS endpiont

2009-06-21 Thread Willem Jiang
Hi, This is the Camel 1.x branch's CxfPayLoadSoapHeaderTest[1]. [1]https://svn.apache.org/repos/asf/camel/branches/camel-1.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfPayLoadSoapHeaderTest.java Willem trivedi kumar b wrote: > Hi Willem, > > I am using Apache camel 1.

Re: RAW xml to SOAPMessage convertion in CXF WS endpiont

2009-06-21 Thread trivedi kumar b
Hi Willem, I am using Apache camel 1.6.1 version and I couldn't find CxfPayload.class file in the respective package. Is it something being supported in the later versions of apache camel? The below links are really useful, thanks a lot for providing them. Thanks, Trivedi willem.jiang wrote: >

Re: RAW xml to SOAPMessage convertion in CXF WS endpiont

2009-06-20 Thread Willem Jiang
Hi Trivedi, I think you mean the PAYLOAD dataformat, the answer is yes. Here is a Unit test[1] in the camel trunk. If you are using the POJO dataformat, you can't get the SOAPBody directly unless you use the WebServiceProvider API[2]. [1]https://svn.apache.org/repos/asf/camel/trunk/components/ca

Re: RAW xml to SOAPMessage convertion in CXF WS endpiont

2009-06-19 Thread trivedi kumar b
Hi Willem, Thank you very much for your response. I will try this option but have a quick question on this. With POJO option, I would directly get SOAPBody, what If I want to access soap headers for critical info like user credentials? Is there a way to get these deatils from message context? Th

Re: RAW xml to SOAPMessage convertion in CXF WS endpiont

2009-06-19 Thread Willem Jiang
CXF has some interceptors to deal with the attachment message. Since you are using MESSAGE dataFormat, you can't get attachment message from Message context. Can you try the PAYLOAD dataFormat? I think you could get attachments from the message. Willem trivedi kumar b wrote: > Hi, > > I have a