我正在尝试soap connection
使用该标准创建一个php soap client
,我相信它的编码都是正确的,但是我收到了这个错误:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://m2mconnect.orange.co.uk/orange-soap/services/MessageServiceByCountry?wsdl' : Start tag expected, '<' not found in C:\wamp\www\php\run.php:16 Stack trace: #0 C:\wamp\www\php\run.php(16): SoapClient->SoapClient('https://m2mconn...') #1 {main} thrown in C:\wamp\www\php\run.php on line 16
从我在网上发现的情况来看,似乎一个问题可能与端口有关,但我不确定要检查/使用哪些端口或如何检查。
我也不确定这是否与我的互联网连接有关,因为从一个路由器到另一个路由器有点奇怪。
这是我的代码:
$client = new SoapClient("https://m2mconnect.orange.co.uk/orange-soap/services/MessageServiceByCountry?wsdl");