views:

57

answers:

1

Hello, I'm a web services newbie and I've tried to learn it looking for tutorials in google... but I didn't found anything really helpfull...

Do you know any tutorial / web page / documentation for web services using PHP 5 native SOAP client? I need to implement a SOAP client for fetch/send data from a IIS server (for hotels reservations).

Is there some server that I can make tests with?

Thank you!

A: 
<?php
$client = new SoapClient('http://mssoapinterop.org/asmx/WSDL/WSDLInteropTestRpcEncService.wsdl');
$result = $client->echoString('hello');
print_r($result);
?>
Sjoerd