Browsing All Posts filed under »Axis2 Web Services«

Time out settings for a Web Services Client in Axis2

March 7, 2012

0

Time out can happen at the client end or the server side … If you are sure* it is the client end then … Use setTimeout(int timeoutInMilliseconds) in org.apache.axis.client.Stub class you will find in your Service Locator class * Client end timeouts should usually see the following exception¬†¬†java.net.SocketTimeoutException: Read timed out … else it may […]

Logging using Log4j in an Axis2 Web Service

February 1, 2012

0

Did u want to turn on logging using Log4j for u’r Axis2 based web service? Adding to the class path in the webservice or the .aar won’t work. You will need to append / edit the log4j in the axis2/WEB-INF\classes\log4j.properties file … because axis2 is the web application running using the log4j.properties file in it’s […]