PHP/SOAP Integration

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
contractorsan
Forum Newbie
Posts: 3
Joined: Wed Mar 09, 2011 11:16 am

PHP/SOAP Integration

Post by contractorsan »

Hello all! I am a relative newbie to PHP, and a complete newbie to .net and SOAP...

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) ;
Naturally, there is alot that I have left to do... this is the error that it is currently throwing:

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
contractorsan
Forum Newbie
Posts: 3
Joined: Wed Mar 09, 2011 11:16 am

Re: PHP/SOAP Integration

Post by contractorsan »

Bump! :)
Post Reply