-----Original Message-----
From: Enrique Rodr�guez [mailto:[EMAIL PROTECTED]]
Sent: den 30 oktober 2002 10:29
To: [EMAIL PROTECTED]
Subject: RE: Make parallel calls to diferents web services
Yes i could do it, but where i store the response of differentes threads of differnets calls.
I'm thinking that i should have and ID of any group of calls, and store the response in a database, that i wil consult some time later, 10 seconds, or something like that.
Regards, Enrique.
-----Mensaje original-----
De: Herrick, Mike [mailto:[EMAIL PROTECTED]]
Enviado el: mi�rcoles, 30 de octubre de 2002 2:54
Para: '[EMAIL PROTECTED]'
Asunto: RE: Make parallel calls to diferents web services
I haven't done it personally, but I would think that you could bust out a couple of threads and do it?
Mike
-----Original Message-----
From: Enrique Rodriguez [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 29, 2002 3:32 PM
To: [EMAIL PROTECTED]
Subject: Make parallel calls to diferents web services
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 behavior.
did anyboy do something similar??Any help will be very apreciated.
Regards, Enrique.
Title: Message
That
sounds a bit over ambitious unless you want to do something with these response
separatly later on. If they are both a part of a single transaction a much
simpler approach would be to:
-
spawn off 2 thread
- have
the spawning thread wait (join) on the two threads running to
completion
- have
the 2 threads deposit the result in a synchronized collection of some
kind
- the
waiting thread pick up the result after the two threads have terminated and they
continue processing.
/Jesper
- RE: Make parallel calls to diferents web services Herrick, Mike
- RE: Make parallel calls to diferents web services Enrique Rodr�guez
- RE: Make parallel calls to diferents web services Jesper S�derlund
- RE: Make parallel calls to diferents web services Enrique Rodr�guez
