__soapCall($method,$param); } /** * Get a complex type object * * @return ComplexTypeDemo The object */ public function GetComplexType(){ return self::_Call('GetComplexType',Array( )); } /** * Print an object * * @param ComplexTypeDemo $obj The object * @return string The result of print_r */ public function PrintComplexType($obj){ return self::_Call('PrintComplexType',Array( $obj )); } /** * Print an array of objects * * @param ComplexTypeDemoArray $arr A ComplexTypeDemo array * @return stringArray The results of print_r */ public function ComplexTypeArrayDemo($arr){ return self::_Call('ComplexTypeArrayDemo',Array( $arr )); } /** * Say hello demo * * @param string $name Some name (or an empty string) * @return string Response string */ public function SayHello($name){ return self::_Call('SayHello',Array( $name )); } /** * This method has no parameters and no return value, but it is visible in WSDL, too * */ public function DemoMethod(){ return self::_Call('DemoMethod',Array( )); } } /** * This is how to define a complex type f.e. - the class ComplexTypeDemo doesn't need to exists, * but it would make it easier for you to return that complex type from a method * * @pw_element string $StringA A string with a value * @pw_element string $StringB A string with a NULL value * @pw_element int $Integer An integer * @pw_element boolean $Boolean A boolean * @pw_complex ComplexTypeDemo */ class ComplexTypeDemo{ /** * A string with a value * * @var string */ public $StringA; /** * A string with a NULL value * * @var string */ public $StringB; /** * An integer * * @var int */ public $Integer; /** * A boolean * * @var boolean */ public $Boolean; }