Hi Ajith, Sathija,
I partly figured out the problem.
As the userguide shows, with asynchronous clients, the calling thread must
do a Thread.sleep(). But in the generated code, I do not see any
Thread.sleep().
So, I put a Thread.sleep(1000) in the generated test client's
testStart<method name> method, and then I saw a SOAP request/response in
SOAPMonitor. However, my callback methods were not invoked!! So, I still
haven't figured out how to receive the response. I gave up and started
using synchronous clients instead.
-Nirmit
"Ajith Ranabahu"
<[EMAIL PROTECTED]
mail.com> To
[email protected]
08/14/2006 04:25 cc
PM
Subject
Re: [Axis2 1.0] Asynchronous
Please respond to doc/lit, no output.
[EMAIL PROTECTED]
he.org
Hi,
Is this for 1.0 ? Can you guys try with the latest nightlies ?
Ajith
On 8/14/06, Sathija Pavuluri <[EMAIL PROTECTED]> wrote:
> Hi Nirmit,
>
> I am running an async call in Axis2 1.0 using generated code in a similar
> scenario as yours and seeing the exact same problem.
> Nothing is SOAP monitor unlike other sync calls. Looks like the request
> was never made.
> But I see no errors either.
>
> The async call goes thru in one case, when my test program also invokes a
> sync call. At that time, I see the req/res for the async call too.
> But when I run it by itself, nothing happens.
>
> Have you been able to figure out the problem?
>
> Thanks,
> Sathija.
>
>
>
>
>
> >Hi,
>
> >I am trying to invoke a doc/lit service with an asynchronous (two
transport
> >connections) client. I started from a WSDL and generated client side and
> >server side code with Axis databinding, along with a junit test.
>
> >However, when I run the test, I do not get any output, no exceptions,
and
> >no callbacks from the server. Also, SOAPMonitor does not show any
> >request/response message. My SOAPMonitor works with other clients. Where
> >did the call go?
>
> >I am really confused why this is happening. Has anyone tried clients
with
> >callbacks?
>
> >Thanks,
>
> >-Nirmit
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Ajith Ranabahu
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]