Hi,
You could set the connection timeout directly on the stub
stub.setTimeout ( 5000 ) ;
You could set the AxisProperties or System properties
I property get on AxisProperties will fallback to System properties
AxisProperties.setProperty ( name, value )
"axis.http.client.maximum.total.connections"
"axis.http.client.maximum.connections.per.host"
"axis.http.client.connection.pool.timeout"
"axis.http.client.connection.default.so.timeout"
"axis.http.client.connection.default.connection.timeout"
I have been slowly collecting some System and Axis properties and experimenting on their useage.
Properites used by
org.apache.axis.transport.http.HTTPSender
org.apache.axis.transport.http.CommonsHTTPSender
System properties
http.proxyHost
http.proxyPort
http.proxyUser
http.proxyPassword
http.nonProxyHosts
https.proxyHost
https.proxyPort
https.proxyUser
https.proxyPassword
https.nonProxyHosts
Some to other properties used by Axis
axis.attachments.Directory
axis.EngineConfigFactory
axis.ClientConfigFile
axis.ServerConfigFile
axis.Compiler
axis.engineConfigClass
axis.Extractor
axis.socketFactory
axis.socketSecureFactory
axis.ServerFactory
axis.attachments.implementation
axis.enableListQuery
axis.jws.servletClassDir
axis.production-system
use-servlet-security
transport.name
java.protocol.handler.pkgs
sun.boot.class.path
user.home
-----Original Message-----
From: German Sakaryan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 17 November 2005 11:36 PM
To: [email protected]
Subject: client axis setup / Connection timeout axis 1.3
Hello,
I have a connection timeout problem when client contacts a service.
It is caused by a special transport infrastructure used for underlying
communication.
What I need is to setup larger timeout value for a client.
Could somebody advise how to do it?
Are there any special AXIS settings?
(AXIS 1.3)
Thank you
German Sakaryan
