GMgKe586q6suSQnyqZLlGCooeWM

Pages

Search

Saturday, April 16, 2011

Zend - Consuming Web Service

Here's a code on how to consume a web service from a SOAP server. read more one http://www.phpriot.com/articles/zend-soap/6

file: hello.php
<?php
require_once "Zend/Soap/Client.php";
$client = new Zend_Soap_Client("http://localhost/webservice.php?wsdl");
echo $client->getDate();
echo $client->getAgeString('Lady Gaga', 24);
Share/Bookmark

No comments:

Post a Comment