今天写了个测试web Service客户端的程序报如下错误,查了半天的。原来是请求的地址后面带了"?wsdl",最后去掉了,一切正常
Exception in thread "main" org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: There must be a method name element.
org.codehaus.xfire.fault.XFireFault: There must be a method name element.
at org.codehaus.xfire.service.binding.WrappedBinding.readMessage(WrappedBinding.java:32)
at org.codehaus.xfire.soap.handler.SoapBodyHandler.invoke(SoapBodyHandler.java:42)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Client.onReceive(Client.java:406)
at org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
at org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:79)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:114)
at org.codehaus.xfire.client.Client.invoke(Client.java:336)
at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
at $Proxy0.example(Unknown Source)
at clica.Test.main(Test.java:23)
分享到:
相关推荐
There is no requirement, however, that all objects must be named. To resolve a name is to determine the object associated with the name in a given context. To bind a name is to create a name ...
fallbackClass: "sortable-fallback", // Class name for the cloned DOM Element when using forceFallback fallbackOnBody: false, // Appends the cloned DOM Element into the Document's Body ...
前几天在网上下载一个struts2的helloword的例子,那个作者也真够缺德的,搞个错误的程序,害得我查了一天的程序错误。 最后发现竟然是struts.xml被写成啦sturts.xml。 碰见这样的问题先鄙视下提供例子的作者, 再...
This work can be considered as an extension of the original FEM_Object environment dealing with linear elasticity [1] and nonlinearity [2]. Mainly the static aspects are discussed in this paper. ...
There-be句型专项练习及答案.pdf
小学英语there-be句型练习题.pdf
Called by the server (via the service method) to allow a servlet to handle a OPTIONS request. doPost(HttpServletRequest, HttpServletResponse) - Method in class javax.servlet.http.HttpServlet Called ...
there be句型用法微课 PPT教案.pptx
Write a program that will take 3 command line arguments (must be three).% p03 ALPHA 32 64Would create a formatted disk file with the volume name of ALPHA 32 rows and 64 nibbles (i.e. 32 ASCII ...
小学阶段therebe句型专练.pdf
小学Therebe句型PPT学习教案.pptx
There must be a better way. And there is. Building mobile web apps is this better way. It is an approach to mobile app development that when done right, will have you rewriting a lot less code to ...
小学四年级 there be句型PPT学习教案.pptx
You’ll begin at square one, learning how the web and web pages work, and then steadily build from there. By the end of the book, you’ll have the skills to create a simple site with multicolumn ...
There are a number of standard controls for SVS in the library that can be used. You will also find two standard frames in the global library (Refer to \Library\Standard Models\Composite Model Frames...
There must be support for interaction between heterogeneous services and interfaces that might be mismatched, or that might change over time. An ESB addresses such integration problems in a way that...
小学初中少儿英语课堂游戏-there be句型.docx
Therebe句型与数量的表达~A.doc
Vue CLI v4.2.2 Failed to check for updates :sparkles: Creating project in /home/syw/demo