A-A+

zeep.exceptions.XMLSyntaxError: Invalid XML content received

2019年01月25日 18:01 学习笔记 暂无评论 阅读 431 views 次

【注意:此文章为博主原创文章!转载需注意,请带原文链接,至少也要是txt格式!】

zeep.exceptions.XMLSyntaxError: Invalid XML content received (Opening and ending tag mismatch: p line 46 and br, line 46, column 250)

 

"There is no default service defined. This is usually due to "
ValueError: There is no default service defined. This is usually due to missing wsdl:service definitions in the WSDL

其实报这个错误就是对方的wsdl写的不规范导致的问题,就算你把

settings = Settings(strict=False)

client = Client(url, settings=settings)

不严谨打开也白费的,需要更改的是对方的WSDL接口。

布施恩德可便相知重

微信扫一扫打赏

支付宝扫一扫打赏

×

给我留言