You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by navigator09 <ga...@gmail.com> on 2008/04/28 12:19:33 UTC
Transform a Response Message
Hi,
I am using jsr181 component to orchestrate webservices. The response I get
from the back end webservice contains extra namespaces which needs to be
removed. How can this be achieved? I have gone through the servicemix-eip
component. The dont contain examples for transformation oon "response
messages"
Regards,
Ganesh
--
View this message in context: http://www.nabble.com/Transform-a-Response-Message-tp16936044p16936044.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Transform a Response Message
Posted by navigator09 <ga...@gmail.com>.
Hi Bruce,
Thanks for the alternatives.
I have used the eip pattern " routing slip" to control the flow of
messages.
Regards,
Ganesh
bsnyder wrote:
>
> On Mon, Apr 28, 2008 at 4:19 AM, navigator09 <ga...@gmail.com>
> wrote:
>>
>> Hi,
>>
>> I am using jsr181 component to orchestrate webservices. The response I
>> get
>> from the back end webservice contains extra namespaces which needs to be
>> removed. How can this be achieved? I have gone through the
>> servicemix-eip
>> component. The dont contain examples for transformation oon "response
>> messages"
>
> I suggest that you send the response to either another component so
> that the message can be transformed. There are many ways to handle
> message transformation with ServiceMix. Below are just some of the
> options:
>
> Language Component
> ---------------- ---------------------
> Java servicemix-bean
> Java servciemix-camel
> Groovy servicemix-script
> XSLT servicemix-saxon
>
> If the message is XML, then doing XSLT might be the easiest.
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
>
> Blog: http://bruceblog.org/
>
>
--
View this message in context: http://www.nabble.com/Transform-a-Response-Message-tp16936044p17267785.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Transform a Response Message
Posted by Bruce Snyder <br...@gmail.com>.
On Mon, Apr 28, 2008 at 4:19 AM, navigator09 <ga...@gmail.com> wrote:
>
> Hi,
>
> I am using jsr181 component to orchestrate webservices. The response I get
> from the back end webservice contains extra namespaces which needs to be
> removed. How can this be achieved? I have gone through the servicemix-eip
> component. The dont contain examples for transformation oon "response
> messages"
I suggest that you send the response to either another component so
that the message can be transformed. There are many ways to handle
message transformation with ServiceMix. Below are just some of the
options:
Language Component
---------------- ---------------------
Java servicemix-bean
Java servciemix-camel
Groovy servicemix-script
XSLT servicemix-saxon
If the message is XML, then doing XSLT might be the easiest.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Blog: http://bruceblog.org/