camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From François LIOT <francois.l...@poplidays.com>
Subject Re: Removing namespaces from soap response using SoapOutInterceptor
Date Sat, 13 Jun 2015 07:15:49 GMT
Hi,

I wouldn't pretend it's a clean solution, but at least it works....

<transform><simple>${body.replace("xmlns:xsi=", "remove1=")}</simple></transform>
<transform><simple>${body.replace("xmlns:xsd=", "remove2=")}</simple></transform>
<transform><simple>${body.replace("xmlns=", "remove3=")}</simple></transform>
....

Regards,

François Liot

 ​

________________________________________
From: Claus Ibsen <claus.ibsen@gmail.com>
Sent: Saturday, June 13, 2015 9:09 AM
To: users@camel.apache.org
Subject: Re: Removing namespaces from soap response using SoapOutInterceptor

Hi

You can ask on Apache CXF user list

On Thu, Jun 11, 2015 at 7:45 PM, gargankur007 <gargankur007@gmail.com> wrote:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>     <soap:Body>
>         <ns2:RmhpHop3PaymentEffResponse
> xmlns:ns2="http://wem-rmhpimpl.demo.hcentive.com:9090/wsx/services/WemRmhpHop3PaymentEffectuationService"/>
>     </soap:Body>
> </soap:Envelope>
> This is current outcome I need
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>     <soap:Body>
>         <RmhpHop3PaymentEffResponse/ >
>     </soap:Body>
> </soap:Envelope>
> Can this be achieved through any SoapOutInterceptor?
>
>
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Removing-namespaces-from-soap-response-using-SoapOutInterceptor-tp5768110.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/
Mime
View raw message