Uncaught SoapFault exception

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I try to connect to som WSDL, but I get this error:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from ....

My code:

$client = new SoapClient("http://campaigns.emailserver2.com/zoomiowebservice/login.asmx?WSDL";, array("strUserName" => "userName", "strPwd" => "password", "trace" => true));

try {
$objectresult = $client->LogOn(array("strUserName" => "userName", "strPwd" => "password", "trace" => true));
	$simpleresult = $objectresult->strSessionId;

	echo htmlspecialchars($simpleresult);
} catch (SoapFault $exception) {
	echo $exception;
}


What is wrong?


Regards
Jeppe D.

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux