SOAP

From Rosetta Code
Revision as of 15:52, 23 January 2007 by MikeMol (talk | contribs) (Formatted more correctly as task.)
Task
SOAP
You are encouraged to solve this task according to the task description, using any language you may know.

In this task, the goal is to create a SOAP client which accesses functions defined at http://example.com/soap/wsdl, and calls the functions soapFunc( ) and anotherSoapFunc( ).

PHP

<?php
$client = new SoapClient('http://example.com/soap/wsdl');
$result = $client->soapFunc('hello');
$result = $client->anotherSoapFunc(34234);
?>