微信用soap发送短信的问题
程序员文章站
2022-06-04 20:59:01
...
在web服务下测试用soap发送短信是没有问题的,但是只要是这个页面是放在微信上,经过微信访问就没法发送成功,new SoapClient的时候就已经报错:
SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://xx.xx.xx.xx/Service/WebService.asmx?wsdl' : failed to load external entity "http:/xx.xx.xx.xx/Service/WebService.asmx?wsdl"
SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://xx.xx.xx.xx/Service/WebService.asmx?wsdl' : failed to load external entity "http:/xx.xx.xx.xx/Service/WebService.asmx?wsdl"
回复讨论(解决方案)
11111111