RE: [SOAP] Re: What is there in an object representing a complexType element ?
| From: | Michael Rasmussen | Date: | Mon, 02 May 2005 15:24:06 +0000 |
| Subject: | RE: [SOAP] Re: What is there in an object representing a complexType element ? | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1904@lists.php.net to get a copy of this message | ||
On Mon, 02 May 2005 17:01:42 +0200, LEBUR Guillaume wrote:
>
> Well, I'm pretty sure you can store data like this in a simple varchar
> column. Besides, I don't think this is related to my problem at all :/
>
It depends on the size of your documents. Varchars have an upper limit
which is considerable smaller than for blobs
> Aren't the PHP SOAP functions supposed to do that on their own ? If I
> have to parse the SOAP response myself and map it to an object, there's
> no point in using the SOAP server functions. It boils down to re-writing
> a large part of the SOAP server... Doesn't it ?
>
My suggestion aimed at been able to manipulate the xml part of the
response easy and in native PHP. My guess is that an element containing
xml will be serialized to a string in PHP; thereby you a loosing the hole
point of having your data stored in a XML document. This approach also
make yuo able to have the document stored while spliting the information
up in fields which can be stored in a table.
--
Hilsen/Regards
Michael Rasmussen
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917