RE: [PEAR] Question regarding PEAR SOAP Server
| From: | Dietrich Ayala | Date: | Wed, 08 May 2002 19:39:08 +0000 |
| Subject: | RE: [PEAR] Question regarding PEAR SOAP Server | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1358@lists.php.net to get a copy of this message | ||
it depends how "mixed" your return value is, and how you want to encode the values. with
NuSOAP or soapx4 you can let the soap
server class detect the type of the return value and it'll encode it for you. i'd assume
pear soap is the same.
this is fine for strings,ints,arrays,etc, but for your XML you might want to encode it as a single
string value, or embed it
literally as part of the message, or send it binary, or whatever. using the SOAP_Value class lets
you do that. (i'm not actually
sure about it's ability to do literal, you'd have to ask shane)
dietrich
> -----Original Message-----
> From: Sebastian Bergmann [mailto:sebastian@php.net]
> Sent: Wednesday, May 08, 2002 9:18 AM
> To: pear-general@lists.php.net
> Subject: Re: [PEAR] Question regarding PEAR SOAP Server
>
>
> Dietrich Ayala wrote:
> > // and manually encode the return value
> > // using the SOAP_Value class
>
> What exactly do I need to care of here?
>
> Thanks,
> Sebastian
>
> --
> Sebastian Bergmann
> http://sebastian-bergmann.de/
> 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
>
>
>