I am trying to do a simple SOAP Integration, based on the instructions found at this website:
http://propertyware.com/apidocs/Getting-Started
However, the instructions are written for VB.net... and I can't for the life of me figure out how to translate them into PHP. My feeble attempt so far is:
Code: Select all
$wsdl = "http://propertyware.com/pw/services/PWServices?wsdl";
$client = new SoapClient($wsdl);
$testMessage = "Test commnunication with Propertyware web service";
$result = $client->echoString(testMessage) ;Fatal error: Uncaught SoapFault exception: [ns1:Server.Unauthenticated] User 'null' not authenticated (unknown user) in /home/churd/public_html/soap.php:14 Stack trace: #0 [internal function]: SoapClient->__call('echoString', Array) #1 /home/churd/public_html/soap.php(14): SoapClient->echoString('testMessage') #2 {main} thrown in /home/churd/public_html/soap.php on line 14