0
 AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.net.SocketTimeoutException: Read timed out
 faultActor: 
 faultNode: 
 faultDetail: 
    {http://xml.apache.org/axis/}stackTrace:java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.qwest.www.webserv.DslwsWSPortStub.getBroadbandCustomerInfo(DslwsWSPortStub.java:243)
    at com.qwest.www.webserv.DslwsWSPortProxy.getBroadbandCustomerInfo(DslwsWSPortProxy.java:51)
    at com.qwest.acs.webservices.DSLWebService.getDSLWFCustomerInfo(DSLWebService.java:181)
    at com.qwest.acs.test.DSLWSTest.main(DSLWSTest.java:111)
4

3 回答 3

2
catch(SocketTimeoutException e){//do}
于 2013-06-21T20:19:41.127 回答
2
try {
  /* your code that's throwing the exception goes here. */
} catch (AxisFault af) {
  /* your logging code goes here. */
}
于 2013-06-21T20:19:44.150 回答
2

在第 111 行

DSLWSTest.java

扔一个

 try {
     // existing code causing the exception
 }
 catch (java.net.SocketTimeoutException ex) {
    // log exception
 }
于 2013-06-21T20:20:40.933 回答