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