问题是这样的:我们系统使用cxf做webservice服务端,供其他平台调用。我们发布出去的地址是:
1 http://服务器IP/UA/TrustAuth?wsdl
这个地址我们自己测试的时候是正常的,但是对方系统调用时不通。。。。(可以保证双方网络是通的,ping/telnet/traceroute都能证明网络是联通的),异常堆栈是(这个是对方系统上面抓下来的调用日志):
01 PhaseIntercep I org.apache.cxf.phase.PhaseInterceptorChain doIntercept Interceptor has thrown exception, unwinding now
02 org.apache.cxf.binding.soap.SoapFault: "http://schemas.xmlsoap.org/wsdl/", the namespace on the "definitions" element, is not a valid SOAP version.
03 at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:95)
04 at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:57)
05 at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
06 at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:645)
07 at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2132)
08 at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2015)
09 at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1940)
10 at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
11 at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:627)
12 at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
13 at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
14 at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:471)
15 at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:301)
16 at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:253)
17 at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
18 at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:121)
19 at $Proxy54.authRegReq(Unknown Source)
20 at com.ideal.uam.itfc.webservice.UamLoginAuthImpl.uamLoginProvinceAuth(UamLoginAuthImpl.java:44)
21 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
23 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
24 at java.lang.reflect.Method.invoke(Method.java:618)
25 at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:166)
26 at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
27 at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:55)
28 at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
29 at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)
30 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:432)
31 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284)
32 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
33 at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
34 at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:95)
35 at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
36 at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:89)
37 at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)
38 at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:368)
39 at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:183)
40 at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:163)
41 at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:141)
42 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
43 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
44 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
45 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
46 at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:524)
47 at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
48 at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:751)
49 at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
50 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125)
51 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
52 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
53 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
54 at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
55 at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
56 at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
57 at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
58 at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
59 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
后来偶然让对方系统调用时,把地址后面的"?wsdl"去掉就能大部分通了,就是调用这个地址:
1 http://服务器IP/UA/TrustAuth
摘自:http://www.oschina.net/question/115223_37755
分享到:
相关推荐
This is a graduate textbook of advanced tutorials on the theory of cryptography and computational complexity. In particular, the chapters explain aspects of garbled circuits, public-key cryptography, ...
This is a book on the mathematical theory of quantum information, focusing on a formal presentation of definitions, theorems, and proofs. It is primarily intended for graduate students and researchers...
An “activity” is an element of work performed during the course of a project [PMI, 2000]. It has an output and leads towards an outcome. Such an output can either be an input to another activity or ...
is placed on the key concepts and theories underlying the applications. The information is organized into 13 major sections, which encompass the field of VLSI technology. Each section is divided into ...
集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...
Note that this guide is not a C++ tutorial: we assume that the reader is familiar with the language. Header Files In general, every .cc file should have an associated .h file. There are some common ...
the Switch() operator is within a while loop, causing an error on the second iteration. (BZ 460) Disassembler - fix for error emitted for unknown type for target of scope operator. Now, ignore it and...
The main advantage of running in-process is that the system usually does not need to perform a context switch. The disadvantage to running in-process is that DLL has access to the process address ...
that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a ...
that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a ...
For example, if the clustered index is on (lastname, firstname) and a nonclustered index is on firstname, the firstname value will not be duplicated in the nonclustered index leaf rows. Note The ...
running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). ...
The author gradually builds up to the basic ideas and concepts so that definitions, when made, do not appear out of nowhere, and both the importance and role that theorems play is evident as or ...
In this paper we survey some of the confusion about the meaning of CAP, includ- ing inconsistencies and ambiguities in its definitions, and we highlight some problems in its formalization. CAP is ...
This specification provides the processor-specific definitions required by ELF [SCO-ELF10] for Arm based systems. The ELF specification is part of the larger System V ABI specification where it forms...
If you do not select automatic installation of the components, or if a version of the TopGrid is already installed on the Delphi Component Palette, the TopGrid components will need to be installed ...