I think you shoud use a eip:pipeline in order to receive response from
the webservice and send it to the consumer...
For example :
<eip:pipeline service="foo:WS" endpoint="pipelineWS">
<eip:transformer>
<eip:exchange-target service="foo:WService" />
</eip:transformer>
<eip:target>
<eip:exchange-target service="foo:trace" />
</eip:target>
</eip:pipeline>
The response of the webservice will be sent to the trace component.
Hope it will be useful,
Pierre NOTEL
//****************************************************
João Luz wrote:
Hi,
My starting point was exactly your excelent post.
The problem I have is that all works fine in the request chain, until the
moment that consumer endpoint should send the response to the client. Step that
I can't figure out how to put working.
1- I call webservice exposed via consumer endpoint
2- Consumer endpoint forwards to a provider endpoint that
3- Provider forwards to the real webservice
4- WebService executes
5- Provider receives the response from webservice and it forwards to the
consumer
6- Consumer should send the message to the client, but the message never reachs the client that made the request.
Client, servicemix and Webservice run in 3 different jvm.
Thanks a lot to all,
João
-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Alessio D'Innocenti
Sent: segunda-feira, 24 de Julho de 2006 14:47
To: [email protected]
Subject: Re: How to call a external webservice?
Take a look at this
http://www.nabble.com/External-Webservices-binding-%28the-answer%29-tf1971463.html
João Luz ha scritto:
How can we, using provider/consumer endpoints, call an external webservice
using servicemix?
Thanks in advance,
João