Home » Php, Webservice

Simple Webservice Client in PHP

12 June 2007 No Comment

To test our early webservice code from here just use this simple php program.

require_once(‘lib/nusoap.php’);
$wsdl=”http://your.server.domain/ws.php?wsdl”;
$client=new soapclient($wsdl, ‘wsdl’);
$param=array(‘x’=>’1′,’y’=>’2’);
echo $client->call(‘TestFunction’, $param).”\n”;


BlinkList Diigo Digg Facebook Furl Google Mister Wong Newsvine Reddit StumbleUpon Simpy Technorati Yahoo DZone

Hide Bookmarks

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.