webservice 调用错误小结
来源:互联网 发布:jade软件安装 编辑:程序博客网 时间:2024/05/17 23:48
所访问机器不存在或所访问的webservice 的IP不正确
[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.UnknownHostException: testServerIp; targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.UnknownHostException: testServerIp]
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:354)
at org.apache.soap.rpc.Call.invoke(Call.java:248)
所访问的webservice 的端口不正确
[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.ConnectException: Connection refused: connect; targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.ConnectException: Connection refused: connect]
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:354)
at org.apache.soap.rpc.Call.invoke(Call.java:248)
所访问的webservice 的地址不正确
[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
<HTML>
<HEAD>
<TITLE>Error 404--Not Found</TITLE>
<META NAME="GENERATOR" CONTENT="WebLogic Server">
</HEAD>
<BODY bgcolor="white">
<FONT FACE=Helvetica><BR CLEAR=all>
<TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>
<FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 404--Not Found</H2>
</FONT></TD></TR>
</TABLE>
<TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3>
</FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.5 404 Not Found</H4>
</FONT><P><FONT FACE="Courier New">The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.</p><p>If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.</FONT></P>
</FONT></TD></TR>
</TABLE>
</BODY>
</HTML>
]
at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:208)
at org.apache.soap.rpc.Call.invoke(Call.java:255)
webservice不存在或可能是网络不通
[SOAPException: faultCode=ns1:Server.NoService; msg=The AXIS engine could not find a target service to invoke! targetService is simplewebservicetest
webservice的服务提供者内部异常,比如webservice调用方传的参数为null而提供者未对参数进行检查而直接使用
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.UnknownHostException: testServerIp; targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.UnknownHostException: testServerIp]
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:354)
at org.apache.soap.rpc.Call.invoke(Call.java:248)
所访问的webservice 的端口不正确
[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.ConnectException: Connection refused: connect; targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.ConnectException: Connection refused: connect]
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:354)
at org.apache.soap.rpc.Call.invoke(Call.java:248)
所访问的webservice 的地址不正确
[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
<HTML>
<HEAD>
<TITLE>Error 404--Not Found</TITLE>
<META NAME="GENERATOR" CONTENT="WebLogic Server">
</HEAD>
<BODY bgcolor="white">
<FONT FACE=Helvetica><BR CLEAR=all>
<TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all>
<FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 404--Not Found</H2>
</FONT></TD></TR>
</TABLE>
<TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3>
</FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.5 404 Not Found</H4>
</FONT><P><FONT FACE="Courier New">The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.</p><p>If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.</FONT></P>
</FONT></TD></TR>
</TABLE>
</BODY>
</HTML>
]
at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:208)
at org.apache.soap.rpc.Call.invoke(Call.java:255)
webservice不存在或可能是网络不通
[SOAPException: faultCode=ns1:Server.NoService; msg=The AXIS engine could not find a target service to invoke! targetService is simplewebservicetest
webservice的服务提供者内部异常,比如webservice调用方传的参数为null而提供者未对参数进行检查而直接使用
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
- webservice 调用错误小结
- 调用webService学习小结
- 调用WebService错误
- webservice 调用错误
- Android中调用webservice小结
- Android中调用webservice小结
- webservice调用一个小错误
- android调用WebService错误解决
- webservice 客户端调用远程错误
- webservice调用常见错误原因
- 异步调用WebService访问数据小结
- jQuery中调用WebService方法小结
- java中webservice生成/调用方式小结
- jQuery中调用WebService方法小结
- .Net调用远程Webservice的方法小结
- 记clr调用webService出现的错误
- 调用WebService代理类 401错误
- java调用webservice接口500错误
- oracle:OCCI中Date字段处理
- C\C++关于string.h头文件和string类 using namespace std
- Linux CentOS 下 apache整合SVN (Subversion)的搭建方法
- 魔兽1.20E作弊内存地址全公开
- mysql忘记密码解决办法
- webservice 调用错误小结
- ViewConfiguration.getScaledTouchSlop () 返回值意义
- C++文件操作
- C#操作XML小结
- 魔兽 1.24B 作弊内存地址全公开
- WebService之WSDL和SOAP实例(基于JAVA)
- 开启linux内核自带的模拟i2c-gpio模块过程
- android 适配器Adpter的使用总结
- 游标脚本性能问题解决与分析 (4) - Cursor Performance Analysis