Could you also paste the full log at debug level please ?
Cheers, Guillaume Nodet On 7/24/06, João Luz <[EMAIL PROTECTED]> wrote:
I've used the tcp monitor that you refered and the results are attached WebService.txt contains requests made to the real webservice. Servicemix-consumer contains requests made to service-mix. Client-stackstrace.txt contains the output from client execution. Thanks a lot for the tcpmon hint :) João Vieira da Luz -----Original Message----- From: Guillaume Nodet [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 24 de Julho de 2006 16:42 To: [email protected] Subject: Re: How to call a external webservice? Could you paste all the http requests sent (request / response) on both the client side and server side using http://ws.apache.org/axis/java/user-guide.html#AppendixUsingTheAxisTCPMonitorTcpmon or any other tool ? Cheers, Guillaume Nodet On 7/24/06, João Luz <[EMAIL PROTECTED]> wrote: > > My client is a XfireProxy > > String serviceDesc = "http://localhost:8192/HelloServiceProxy/ "; > Service serviceModel = new ObjectServiceFactory().create( > IHelloService.class); > IHelloService service = (IHelloService) new > XFireProxyFactory().create(serviceModel, serviceDesc); > System.out.println(service.hello()); > > I think it is blocked for a period of time, until it try again to make > the request. > > Thanks, > João > > -----Original Message----- > From: Guillaume Nodet [mailto:[EMAIL PROTECTED] > Sent: segunda-feira, 24 de Julho de 2006 16:16 > To: [email protected] > Subject: Re: How to call a external webservice? > > There is no need for a pipeline in such a case, as the exchange should > go from the consumer endpoint to the provider endpoint without any > intermediary service. > The pipeline is to bridge InOnly and InOut mep, but in this case, > there is only a single InOut mep. > I do not see any reason why it does not work. > > Joao, could you indicate if the http client is blocked while waiting > for the response, or if an empty response is sent ? > > Cheers, > Guillaume Nodet > > On 7/24/06, Pierre NOTEL <[EMAIL PROTECTED]> wrote: > > > > To receive the response of a component, I think you should use the > > eip:pipeline to use the in-out mep functionality. > > I haven't use it with a consumer endpoint but with an external > > webservice (provider) to catch the response and sent it to other > > component. > > If anyone has other solution (easier)... > > > > Cheers, > > > > Pierre NOTEL > > > > //******************************************* > > João Luz wrote: > > > I'm only trying to call a webservice via servicemix. The problem > > > is that > > the request reachs the webservice and goes back to servicemix. But > > it never reachs the original caller. > > > > > > Thanks, > > > João Vieira da Luz > > > > > > -----Original Message----- > > > From: Pierre NOTEL [mailto:[EMAIL PROTECTED] > > > Sent: segunda-feira, 24 de Julho de 2006 15:28 > > > To: [email protected] > > > Subject: Re: How to call a external webservice? > > > > > > 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 > > >> -tf > > >> 1971463.html > > >> > > >> João Luz ha scritto: > > >> > > >> > > >>> How can we, using provider/consumer endpoints, call an external > > webservice using servicemix? > > >>> > > >>> Thanks in advance, > > >>> João > > >>> > > >>> > > >>> > > >>> > > >> > > >> > > > > > > > > > > > > > >
