社区
基础编程
帖子详情
php soap错误 Premature end of data in tag html in line 1
0xBenjam
2014-12-01 04:27:09
在windows下 没有出现问题。
在linux 就报错了,错误如下:
Couldn't load from 'xxxx' : Premature end of data in tag html line 1
直接打开请求的链接,是能看到xml的内容的。怎么解决这个错误呢?
...全文
680
1
打赏
收藏
php soap错误 Premature end of data in tag html in line 1
在windows下 没有出现问题。 在linux 就报错了,错误如下: Couldn't load from 'xxxx' : Premature end of data in tag html line 1 直接打开请求的链接,是能看到xml的内容的。怎么解决这个错误呢?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
1 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
傲雪星枫
2014-12-01
打赏
举报
回复
取wsdl的时候soapclient没有使用证书信息所以不行,你可以這樣,你可以獲取到XML,用curl抓下来保存成本地文件进行调用。
php
调用nu
soap
实现
soap
出现Pre
mat
ure
end
of
data
in
tag
html
异常
1、用nu
soap
实现WebService,不要开启
php
的
SOAP
扩展;2、需要找到配置文件
php
.ini,将
php
_
soap
.dll、
php
_xmlrpc.dll、
php
_curl.dll、
php
_openssl.dll注释掉;3、配置完成后,重启服务器,bug解决。...
SOAP
-ERROR: Parsing WSDL: Couldn't load from * ,Pre
mat
ure
end
of
data
in
tag
definitions
line
2
SOAP
-ERROR: Parsing WSDL: Couldn't load from '*\
soap
\wsdl.xml' : Pre
mat
ure
end
of
data
in
tag
definitions
line
2 找了找网上资料,和我问题相似的有很多,但是最终没有得到解决,汇下总: 1. 在
php
.ini中...
php
soap
.net,
php
soap
访问.net Web 服务
php
soap
访问.net Web 服务一开始使用
soap
连接是报 Couldn't load from 'xxxx' : Pre
mat
ure
end
of
data
in
tag
html
line
发现是参数设的不对,
Soap
Client第一个参数使用的是正式请求网址,
Soap
Header 第一个参数...
Php
调用WebService报错
SOAP
-ERROR: Parsing WSDL: Couldn't load from 'http://****/ReportService/WebService1.asmx' : Pre
mat
ure
end
of
data
in
tag
html
line
3暂时遇到了这条
错误
,实际上是因为 $url = 'http://*****/ReportService...
soap
报错
php
,求解
PHP
调用
Soap
Client报错
SOAP
-ERROR: Parsing WSDL: Couldn't load from 'http://sws2.vjia.com/swsmsTest/GetOrderService.asmx' : Pre
mat
ure
end
of
data
in
tag
html
line
3 in E:\wwwroot\os5\diaoyong.
php
on
line
20
错误
提示 ...
基础编程
21,886
社区成员
140,364
社区内容
发帖
与我相关
我的任务
基础编程
从PHP安装配置,PHP入门,PHP基础到PHP应用
复制链接
扫一扫
分享
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章