RE: [PEAR] Question regarding PEAR SOAP Server
| From: | Dietrich Ayala | Date: | Wed, 08 May 2002 18:24:09 +0000 |
| Subject: | RE: [PEAR] Question regarding PEAR SOAP Server | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1356@lists.php.net to get a copy of this message | ||
i'm not sure how much shane has changed how deployment works in pear soap, but in
soapx4/nusoap, you could wrap it:
function myPublicFunc($arr){
$returnVal = myClass::Func($arr);
// do some type detection here
// and manually encode the return value
// using the SOAP_Value class
}
hope this helps, dietrich
> -----Original Message-----
> From: Sebastian Bergmann [mailto:sebastian@php.net]
> Sent: Tuesday, May 07, 2002 10:08 PM
> To: pear-general@lists.php.net
> Subject: [PEAR] Question regarding PEAR SOAP Server
>
>
> Okay, this is more or less a general SOAP question, as well:
>
> I have a method of a class, that can be statically called, that I
> want to make available through SOAP. This method accepts one parameter,
> which is an associative array. The result is 'mixed': it may be an
> (associative) array, an integer value, XML, ...
>
> Any hints on how I should do this?
>
> --
> Sebastian Bergmann
> http://sebastian-bergmann.de/ >@6¶‘¯
> /ç®
¢a¤‡http://phpOpenTracker.de/
>
> Did I help you? Consider a gift:
> http://wishlist.sebastian-bergmann.de/
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>