Monday, September 5, 2011

nuSoap - PHP Soap Client

 here is small working example

<?php

error_reporting(E_ALL);

require_once('../lib/nusoap.php');

 $soapclient=new soapclient('http://www.webservicex.net/country.asmx?WSDL','wsdl');
 $results = $soapclient->call('GetCountries');

 print_r ($results);


?>

No comments:

Post a Comment