axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernolet, Luc [PRDBE Extern]" <>
Subject RE: Connection Timeout
Date Wed, 01 Dec 2004 10:44:17 GMT

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[]

Hope it works for you,

-----Original Message-----
From: Mohammad Irfan []
Sent: woensdag 1 december 2004 11:17
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.


View raw message