学习是一种信仰。
分类: Java
2014-09-18 13:54:58
javax.xml.ws.WebServiceException: Could not send Message.
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
at $Proxy95.getItemsTrace(Unknown Source)
at com.cpst.cameroon.service.QueryManager.list(QueryManager.java:44)
at com.cpst.cameroon.web.QueryAction.list(QueryAction.java:42)
at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
Truncated. see log file for complete stacktrace
Caused By: org.apache.cxf.transport.http.HTTPException: HTTP response '404: Not Found' when communicating with
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1555)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1494)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1402)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:649)
Truncated. see log file for complete stacktrace
cmweb@PisOWebsv01:~> ping PisIWebsvF5
PING PisIWebsvF5 (10.143.102.43) 56(84) bytes of data.
64 bytes from PisIWebsvF5 (10.143.102.43): icmp_seq=1 ttl=251 time=0.980 ms
64 bytes from PisIWebsvF5 (10.143.102.43): icmp_seq=2 ttl=251 time=0.498 ms
64 bytes from PisIWebsvF5 (10.143.102.43): icmp_seq=3 ttl=251 time=0.531 ms
64 bytes from PisIWebsvF5 (10.143.102.43): icmp_seq=4 ttl=251 time=0.539 ms
64 bytes from PisIWebsvF5 (10.143.102.43): icmp_seq=5 ttl=251 time=0.643 ms
64 bytes from PisIWebsvF5 (10.143.102.43): icmp_seq=6 ttl=251 time=0.541 ms
64 bytes from PisIWebsvF5 (10.143.102.43): icmp_seq=7 ttl=251 time=0.496 ms
64 bytes from PisIWebsvF5 (10.143.102.43): icmp_seq=8 ttl=251 time=0.524 ms
64 bytes from PisIWebsvF5 (10.143.102.43): icmp_seq=9 ttl=251 time=0.576 ms
64 bytes from PisIWebsvF5 (10.143.102.43): icmp_seq=10 ttl=251 time=0.707 ms
64 bytes from PisIWebsvF5 (10.143.102.43): icmp_seq=11 ttl=251 time=0.462 ms
64 bytes from PisIWebsvF5 (10.143.102.43): icmp_seq=12 ttl=251 time=0.443 ms
^C
--- PisIWebsvF5 ping statistics ---
12 packets transmitted, 12 received, 0% packet loss, time 11001ms
rtt min/avg/max/mdev = 0.443/0.578/0.980/0.141 ms
cmweb@PisOWebsv01:~> telnet PisIWebsvF5 7200
Trying 10.143.102.43...
Connected to PisIWebsvF5.
Escape character is '^]'.
Connection closed by foreign host.
cmweb@PisOWebsv01:~>
java.lang.NullPointerException
at com.cpst.cameroon.web.QueryAction.list(QueryAction.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Truncated. see log file for complete stacktrace
>
~
cmweb@PisOWebsv01:~> curl ?wsdl
|
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. 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.
|
cmweb@PisOWebsv01:~> curl http:/10.143.102.43:7200/ws/QueryService?wsdl
curl: (6) Couldn't resolve host 'http:'
cmweb@PisOWebsv01:~> curl
|
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. 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.
|
cmweb@PisOWebsv01:~>
----404错,说明不是网络的问题,是访问queryws应用的问题;
----重启innerWeb的queryws应用
----ok