我正在尝试使用标准 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");