我正在使用SOAP API Web服务,
通过使用这个我得到以下错误:
Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from
'https://paas.cloud.clickandpledge.com/paymentservice.svc?wsdl' :
Start tag expected, '<' not found in /home/nati9630/public_html/testsoap.php
on line 4
PHP代码:
$connect = array('soap_version' => SOAP_1_1, 'trace' => 1,
'exceptions' => 0,
'verify_peer' => false,
'verify_peer_name' => false);
$client = new SoapClient('https://paas.cloud.clickandpledge.com/
paymentservice.svc?wsdl', $connect);
$soapParams = array('');
$response = $client->Operation($soapParams);
print_r($response);