前提条件:
1.在soupUI 中的响应(作为模拟服务生成)
2.网络客户端,知道通过地址运行模拟服务:
http://localhost:8091/cps/axis2/services/
模拟服务运行正常。
当从 web 客户端执行请求时,我希望得到soapUI 中指定的响应。
而不是这个,我得到了一般错误:
org.apache.axiom.soap.SOAPProcessingException: First Element must contain the local name, Envelope , but found html
这意味着响应存在问题,因此返回 500 代码的 html。
问题是,我怎样才能调试问题的原因是什么?
我怀疑命名空间和抽象类型。