今天解决了一个“诡异”的问题。
调用对方的webservice接口验证身份证是否匹配,同样的代码在windows环境下没有问题,但是部署到linux上后报出异常:
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)
网上搜了搜,基本都是一个答案,就是URL后缀带了“?wsdl”。但是我的代码没有带,说明不是这个问题。
然后怀疑是环境问题,可能是某个jar包存在多个不同的版本导致类冲突了。检查jar包是否冲突,可是包太多了,对比起来累。直接把windows下的tomcat放到linux上去运行,发现还是报上面的异常。
最后想到可能是访问https有限制,找我们网管问了问,果然是这个问题。最后开放了下权限就没有问题了。
分享到:
相关推荐
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 ...
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 may be a singularity in the solution. If the model is correct, try reducing the step size 附有文献和 模型 ,求解,谢谢!!! 未命名.jpg
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 ...
按照文献做的光伏电池组件模型调试出错附... There may be a singularity in the solution. If the model is correct, try reducing the step size 附有文献和 模型 ,求解,谢谢!!! 未命名.jpg
小学阶段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 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 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...
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 be句型.docx
Therebe句型与数量的表达~A.doc
小学四年级 there be句型PPT学习教案.pptx