I think you should specify -1 as timeout value.

Regards,
Luc.

-----Original Message-----
From: Zhou Jian Han [mailto:[EMAIL PROTECTED]
Sent: woensdag 1 december 2004 18:44
To: [EMAIL PROTECTED]
Subject: RE: Connection Timeout


Hi,
Do you know is there anyway to set no-timeout for the client request?

Thanks,
Georgia

-----Original Message-----
From: Bernolet, Luc [PRDBE Extern] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 2:44 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Connection Timeout


Hi,

I had a similar problem.
The following helped for me:

...
    Service service = new Service();
    Call call = (Call) service.createCall();
    String endpoint = "...";
    call.setTargetEndpointAddress(new URL(endpoint));
        try {
                call.setTimeout(new Integer(3600000));  // ADDED THIS LINE
(time is inmilliseconds)
                call.setOperationName(new QName("runEEGAUC"));

                String [] result = (String []) call.invoke(new Object[]
{"DVLUX47",
...

Hope it works for you,
Luc.

-----Original Message-----
From: Mohammad Irfan [mailto:[EMAIL PROTECTED]
Sent: woensdag 1 december 2004 11:17
To: [EMAIL PROTECTED]
Subject: Connection Timeout


Hello, my name is Mohammad Irfan.
How can I make axis connection timout longer. Because when my program
still running, axis has closed it's connection to the w-s client
before the programs returns i'ts result.

TIA

Reply via email to