Re: defining a void function
| From: | Rob Booth | Date: | Mon, 19 May 2003 21:06:41 +0000 |
| Subject: | Re: defining a void function | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-615@lists.php.net to get a copy of this message | ||
$this->__dispatch_map['functionName'] =
array('in' => array('Variable1' => 'string',
'variable2' => 'string',
'out' => array()
);
You still need to specify the out parameter but by giving it an empty array
you get what you are looking for. At least this is how I'm doing it and it
works.
Rob
"Guido Gavilanes" <guido.gavilanes@sungemini.com.co> wrote in message
news:001d01c31e3e$704ff600$64e9a8c0@sungemini.com.co...
Hello, I am using PEAR::SOAP I have used the included sample code to
generate other services and I have noticed that if we use this code in a
server class to define a function with two parameters and a returning
value...
$this->__dispatch_map['functionName'] =
array('in' => array('Variable1' => 'string',
'variable2' => 'string',
'out' => array('rsp'=> 'string')
);
what can we use to define a void function? I have tried omitting the 'out'
part and other things but I think there is some other work to do with it.
does someone know how to define this other function?
Thank you in advance for your help!