0
$params = array (
"AccountName" => $_POST['comp-name'],
"DBA" => $_POST['DBA'],
"Comment" => $_POST['comments']
);
$options = array(
'soap_version'=>SOAP_1_1,
'trace'=>1,
'exceptions'=>1
);
$context = stream_context_create($options);
try {
$soap = new
SoapClient('https://application.cloud.clickandpledge.com/Signup.svc?wsdl', $options);
$soapParams = array('instruction'=>$params);
$response = $soap->AccountSignUp($soapParams);
}
catch(Exception $e) {
die($e->getMessage());
}
var_dump($response);
我會哄上面的代碼片斷使用我的WSDL文件與SOAP連接,我在哪裏得到以下在我的屏幕上的錯誤..SOAP的錯誤:解析WSDL:無法從WSDL「中加載:未能加載外部實體「WSDL」
SOAP的錯誤:解析WSDL:無法從「http://application.cloud.clickandpledge.com/Signup.svc?wsdl=wsdl0」中加載:未能加載外部實體「http://application.cloud.clickandpledge.com/Signup.svc?wsdl=wsdl0」