axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricky Ho <>
Subject Re: Make parallel calls to diferents web services
Date Wed, 30 Oct 2002 01:08:12 GMT
If you are not the service provider and if the service itself is 
synchronous, then the only way is to spawn multiple threads, each making a 
synchronous invocation to a different web services.

If you have control on the service, then use an async invocation model, by 
splitting the service interface into two operations, then your client code 
will look

String reqId1 =;
String reqId2 =;
String reqId3 =;
// After a while
Object result1 = firstService.getResult(reqId1, timeout);
Object result2 = firstService.getResult(reqId2, timeout);
Object result3 = firstService.getResult(reqId3, timeout);

Rgds, Ricky

At 12:31 AM 10/30/2002 +0100, Enrique Rodriguez wrote:
>Hi all,
>two days browsing internet and i can't find any clue to do it, many parallel
>calls to diferente web service.
>I don't know if this is imposible, but I think that it should be a normal 
>did anyboy do something similar??
>Any help will be very apreciated.
>Regards, Enrique.

View raw message