Uncaught SoapFault exception

[email protected] (Jeppe Donslund)
Newsgroups php.soap
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.