cvs: pear /Services_Webservice/tests test_02.php
| From: | Manfred Weber | Date: | Tue, 14 Nov 2006 22:17:45 +0000 |
| Subject: | cvs: pear /Services_Webservice/tests test_02.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-43078@lists.php.net to get a copy of this message | ||
crafics Tue Nov 14 22:17:45 2006 UTC
Added files:
/pear/Services_Webservice/tests test_02.php
Log:
A simple test
http://cvs.php.net/viewvc.cgi/pear/Services_Webservice/tests/test_02.php?view=markup&rev=1.1
Index: pear/Services_Webservice/tests/test_02.php
+++ pear/Services_Webservice/tests/test_02.php
<?php
include_once('Services/Webservice.php');
class myService extends Services_Webservice
{
/**
* Says "Hello!"
*
* @param int
* @return string
*/
public function hello($i )
{
//create some logic here
return 'myString';
}
}
$myService = new myService(
'myService',
'example webservice description',
array('uri' => 'myService', 'encoding' =>
SOAP_ENCODED,'soap_version' => SOAP_1_2)
);
$myService->handle();
?>