You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by kparekh78 <ki...@gmail.com> on 2011/06/20 16:12:04 UTC

Access SOAP Body on server side

Hi,

I am trying to get hold of SOAP Body on server side, but couldnt find any
way to do it.

>From the client i want to pass something like this --

<soapenvelope>
<soapbody>

----<any xml data> -----

</soapbody>

And on the server side I want to read that any xml data and work on it.

Pls suggest an efficient way to accomplish this.

Thanks,

--
View this message in context: http://cxf.547215.n5.nabble.com/Access-SOAP-Body-on-server-side-tp4506519p4506519.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Access SOAP Body on server side

Posted by kparekh78 <ki...@gmail.com>.
Great! I tried this today with interceptor option ... and I was able to get
hold of SoapMessage and attachments as well ! Thanks a ton.


--
View this message in context: http://cxf.547215.n5.nabble.com/Access-SOAP-Body-on-server-side-tp4506519p4529910.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Access SOAP Body on server side

Posted by Glen Mazza <gm...@talend.com>.
Links #1 and #2 under Assorted Topics here:  
http://www.jroller.com/gmazza/entry/blog_article_index  (using JAX-WS 
handlers or CXF interceptors).
Alternatively, use the JAX-WS Provider interface for your web service.

HTH,
Glen

On 06/20/2011 10:12 AM, kparekh78 wrote:
> Hi,
>
> I am trying to get hold of SOAP Body on server side, but couldnt find any
> way to do it.
>
>  From the client i want to pass something like this --
>
> <soapenvelope>
> <soapbody>
>
> ----<any xml data>  -----
>
> </soapbody>
>
> And on the server side I want to read that any xml data and work on it.
>
> Pls suggest an efficient way to accomplish this.
>
> Thanks,
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Access-SOAP-Body-on-server-side-tp4506519p4506519.html
> Sent from the cxf-user mailing list archive at Nabble.com.


-- 
Glen Mazza
Application Integration Division
Talend (http://www.talend.com/ai)
blog: http://www.jroller.com/gmazza