axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernolet, Luc [PRDBE Extern]" <LBERN...@PRDBE.jnj.com>
Subject RE: Connection Timeout
Date Fri, 03 Dec 2004 06:25:23 GMT
Georgia,

Sorry: it should be 0 (not -1).

Luc.

-----Original Message-----
From: Zhou Jian Han [mailto:zhan@ariodata.com]
Sent: vrijdag 3 december 2004 00:54
To: axis-user@ws.apache.org
Subject: RE: Connection Timeout


Hi Luc,
I just tested with timeout set to -1, but it throws out runtime exception:
'timeout can't be negative'.

Do you know any other way to set no timeout for the client request?

Thanks,
Georgia

-----Original Message-----
From: Bernolet, Luc [PRDBE Extern] [mailto:LBERNOLE@PRDBE.jnj.com]
Sent: Wednesday, December 01, 2004 10:10 PM
To: 'axis-user@ws.apache.org'
Subject: RE: Connection Timeout


I think you should specify -1 as timeout value.

Regards,
Luc.

-----Original Message-----
From: Zhou Jian Han [mailto:zhan@ariodata.com]
Sent: woensdag 1 december 2004 18:44
To: axis-user@ws.apache.org
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:LBERNOLE@PRDBE.jnj.com]
Sent: Wednesday, December 01, 2004 2:44 AM
To: 'axis-user@ws.apache.org'
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:irfan199@gmail.com]
Sent: woensdag 1 december 2004 11:17
To: axis-user@ws.apache.org
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

Mime
View raw message