midnight88 - 2011-01-14 12:01:03
Hi, im building server side service. I have something like
class testClass{
/**
* @var string
*/
public $value1;
/**
* @var string
*/
public $value2;
/**
*
* @param string $string
* @return int
*/
public function testFunction($string){
return 1;
}
}
class MainClass {
/**
*
* @param testClass $object
* @return testClass
*/
public function testing(testClass $object){
return $object;
}
}
my goal is to describe testClass in wsdl file, so the client'll know what kind of parameters he should pass. i mean - describe sections like <types>. is it possible ?