Hi, I am using Axis2 to develop my J2ee application as a Webservice i.e I just want to expose only 2 methods of my application. Now I want to make its clients using Axis2 itself.When my client send request to webservice,error occurs:
DEBUG HttpConnection - enter HttpConnection.getRequestOutputStream() DEBUG content - >> "138[\r][\n]" DEBUG content - >> "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><ns1:get1 xmlns:ns1="http://cabc/pqr/namespace1"><ns1:param1>1</ns1:param1></ns1:get1> </soapenv:Body></soapenv:Envelope>" DEBUG content - >> "[\r][\n]" DEBUG content - >> "0" DEBUG content - >> "[\r][\n]" DEBUG content - >> "[\r][\n]" DEBUG EntityEnclosingMethod - Request body sent DEBUG HttpConnection - enter HttpConnection.flushRequestOutputStream() DEBUG HttpMethodBase - enter HttpMethodBase.readResponse(HttpState, HttpConnection) DEBUG HttpMethodBase - enter HttpMethodBase.readStatusLine(HttpState, HttpConnection) DEBUG HttpConnection - enter HttpConnection.readLine() DEBUG HttpParser - enter HttpParser.readLine(InputStream, String) DEBUG HttpParser - enter HttpParser.readRawLine() DEBUG HttpMethodDirector - Closing the connection. DEBUG HttpConnection - enter HttpConnection.close() DEBUG HttpConnection - enter HttpConnection.closeSockedAndStreams() DEBUG HttpMethodDirector - Method retry handler returned false. Automatic recovery will not be attempted DEBUG HttpConnection - enter HttpConnection.releaseConnection() DEBUG HttpConnection - Releasing connection back to connection manager. org.apache.axis2.AxisFault: Read timed out; nested exception is: java.net.SocketTimeoutException: Read timed out; nested exception is: org.apache.axis2.AxisFault: Read timed out; nested exception is: java.net.SocketTimeoutException: Read timed out at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT PTransportSender.java:247) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:512) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio n.java:332) at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOpera tion.java:268) -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.15.0/249 - Release Date: 2/2/2006