"http://schemas.xmlsoap.org/wsdl/", the namespace on the "definitions" element, is not a valid SOAP
来源:互联网 发布:邓玉娇刺官案 知乎 编辑:程序博客网 时间:2024/05/19 10:41
webservice接口调用,地址重定向时出现此问题:
"http://schemas.xmlsoap.org/wsdl/", the namespace on the "definitions" element, is not a valid SOAP version.
解决步骤:
1. 首先,不选择重定向时,接口调用是没有问题的。所以,排除服务端问题;
2. 接着,在网上查找,有说在set地址时,把wsdl地址后面的 '?wsdl'删除即可,尝试之后,问题依然存在,没有解决。很不解..
3. 后来通过查找文档发现,重定向时设置的是webservice服务的地址,瞬间觉得,去除 ‘?wsdl’没起作用,可能是因为:webservice服务实际地址
并不等同于webservice web描述文件wsdl地址去除后缀 ‘?wsdl’,所以不成功;
4. 通过查找,发现,wsdl地址去除后缀的确不是实际的webservice地址,更改set,设置实际webservice地址。问题解决。。
0 0
- "http://schemas.xmlsoap.org/wsdl/", the namespace on the "definitions" element, is not a valid SOAP
- "http://schemas.xmlsoap.org/wsdl/", the namespace on the "definitions" element, is not a valid SOAP
- [WebService] the namespace on the "definitions" element, is not a valid SOAP version
- CXF异常 No DestinationFactory was found for the namespace http://schemas.xmlsoap.org
- faultCode=INVALID_WSDL: Expected element ‘{http://schemas.xmlsoap.org/wsdl/} WSDLExceptionfaultCode=
- WebService发布与调用问题:expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {http://schemas.xmlsoap.org/wsdl/}def
- {http://schemas.xmlsoap.org/soap/envelope/}Server.userException 错误解决
- AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
- There is not a header with name ServiceContext and namespace http://schemas.microsoft.com/sharepoint/servicecontext in the messa
- 处理:The selection is not within a valid module.
- 解决The selection is not within a valid module
- 解决The selection is not within a valid module
- 解决The selection is not within a valid module
- The selection is not within a valid module异常
- 解决The selection is not within a valid module
- '{DependencyProperty.UnsetValue}' is not a valid value for the '.........Background'
- Warning the selected directory is not a valid tomcat home
- INS-35354] The system on which you are attempting to install Oracle RAC is not part of a valid clust
- A20csi接口的摄像头模块的移植
- uva529
- Java 读写Excel
- Oracle 创建用户、表空间,及为索引指定表空间
- 编译Android源码以及单个模块的编译
- "http://schemas.xmlsoap.org/wsdl/", the namespace on the "definitions" element, is not a valid SOAP
- java中 if-else分支语句的优化方案
- mysql query cache详解
- 64位WIN7上成功安装theano,并运行了g++, GPU
- myeclipse 无法创建web项目
- 计算机网络笔记(二)谢希仁版
- 原生JS实现图片轮播与淡入
- CPU与内存的那些事
- 题目1380:lucky number