SOAP-ERROR: Parsing WSDL: Couldn't load from * ,Premature end of data in tag definitions line 2
来源:互联网 发布:三体结局 知乎 编辑:程序博客网 时间:2024/05/29 14:10
今天写了个wsdl.xml,测试的时候出现这个错误:
SOAP-ERROR: Parsing WSDL: Couldn't load from '*\soap\wsdl.xml' : Premature end of data in tag definitions line 2
找了找网上资料,和我问题相似的有很多,但是最终没有得到解决,汇下总:
1. 在php.ini中打开soap需要的扩展。php_soap.dll、php_xmlrpc.dll、php_curl.dll、php_openssl.dll。
2.将http://localhost/.. 换成 https://localhost/.. 试试 不知道为什么,不知道可行不可行,在stackoverflow看到的。
3.我的最可笑的原因就是xml文件中<soap>标签没有闭合也会出现这个问题。最终仔细检查了xml文件得到解决。
0 0
- SOAP-ERROR: Parsing WSDL: Couldn't load from * ,Premature end of data in tag definitions line 2
- SOAP-ERROR: Parsing WSDL: Couldn't load from 'https:
- SOAP-ERROR: Parsing WSDL:Couldn’t load from “xxxxxxx” 解决方案
- php soap连接https的wsdl报错SOAP-ERROR: Parsing WSDL:Couldn't load from
- SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://******.wsdl' : failed to load external entity "
- PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://xxxx.wsdl'
- 百度推广API报SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn’t load from错误
- linux下soap 出现 SOAP-ERROR: Parsing WSDL: Couldn't load from 解决办法
- SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://******.wsdl' : failed to load external entity "http://******wsdl"
- 解决 PHP SOAP-ERROR: Parsing WSDL: Couldn't load from 问题
- Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
- SOAP: Uncaught SoapFault exception以及 XML error parsing WSDL from
- XML error parsing SOAP payload on line 2: Invalid document end
- org.dom4j.DocumentException: Error on line 1 of document : Premature end of file. Nested exception:
- tomcat 启动出错 Parse Fatal Error at line 1 column 1:Premature end of file
- Corrupt JPEG data: premature end of data segment
- error: couldn't parse contents of '/Users/.../Info.plist': The data couldn’t be read because...
- error: couldn't parse contents of '/Users/.../Info.plist': The data couldn’t be read because...
- vi中常用命令
- java设计模式学习笔记--可配置的简单工厂模式
- 1002--并发
- 动起来
- Camera
- SOAP-ERROR: Parsing WSDL: Couldn't load from * ,Premature end of data in tag definitions line 2
- Ubuntu 14.04 成功安装Xmind 6
- JAVA的第一篇博客,为什么这么激动!!!!
- java环境变量详解---找不到或无法加载主类
- mac install tomcat8
- java学习之认识泛型
- hdu2814(斐波那契,费马小定理,快速幂)
- 我计算结构体和联合体大小的方法
- Java内存分配