You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Alan Aguia <aa...@yahoo.com> on 2006/01/20 23:46:05 UTC

Question mutiple request?

Hi Im using axis 0.94(EchoNonBlockingClient). I tried the examples and they work fine. Now I would like to make multiple request to different servers but using an asycronic call. The first time I do it it works fine for doind the other calls I use the: while (!callback.isComplete()) { 
  I call another service in another URL2. But when I do this I start to receive a messege error. What I have in my console is:
  - Deploying module : addressing
  - Deploying module : addressing
  - Starting to process SOAP 1.1 message
  <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><soapenv:Header><wsa:To xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymoushttp://schemas.xmlsoap.org/ws/2004/08/addressing">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action xmlns:wsa="estandarIntercambiohttp://schemas.xmlsoap.org/ws/2004/08/addressing">estandarIntercambio</wsa:Action><wsa:ReplyTo xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymoushttp://schemas.xmlsoap.org/ws/2004/08/addressing"><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:From xmlns:wsa="http://localhost:8080/axis2/services/sdSIBhttp://schemas.xmlsoap.org/ws/2004/08/addressing"><wsa:Address>http://localhost:8080/axis2/services/sdSIB</wsa:Address></wsa:From><wsa:MessageID
 xmlns:wsa="FB9AC15FB57DECE77E113779669597012http://schemas.xmlsoap.org/ws/2004/08/addressing">FB9AC15FB57DECE77E113779669597012</wsa:MessageID><wsa:RelatesTo xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" wsa:RelationshipType="wsa:Reply">224CCBDBF139ED39A111377966945981</wsa:RelatesTo></soapenv:Header><soapenv:Body><example1:echo xmlns:example1="Axis2'>http://example1.org/example1"><example1:Text>Axis2 Echo String </example1:Text></example1:echo></soapenv:Body></soapenv:Envelope>
  - I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
  - Retrying request

  I would like to know how I can make diffent calls to diferents EndpointReference using the same method so I can receive all the data that I need in the one callback.
   
  Thank you
  I need help with this one.

		
---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.