RE: element handling in schema
| From: | Dmitry Stogov | Date: | Mon, 21 Mar 2005 17:11:54 +0000 |
| Subject: | RE: element handling in schema | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1781@lists.php.net to get a copy of this message | ||
Hi George,
Sorry, but I decide not to apply your patch.
It works only for very specific conditions and breaks internal logic of
ext/soap.
I just apllied another patch that is related to "parts" attributr of
<soap:body>.
Now soap functions accept only parts of message those are specified in
"parts".
Additional headers must be passed manually.
I attached the exaple.
It doesn't work, but does reqest encoding with headers and attributes.
Thanks. Dmitry.
> -----Original Message-----
> From: George Schlossnagle [mailto:george@omniti.com]
> Sent: Sunday, March 20, 2005 17:56
> To: Dmitry Stogov
> Cc: George Schlossnagle; soap@lists.php.net
> Subject: Re: element handling in schema
>
>
>
> On Mar 20, 2005, at 2:51 AM, Dmitry Stogov wrote:
>
> > <atribute> and <attributeGroup> are supported add should be handled
> > correctly. The may not be handled correctly because you
> pass data in
> > wrong structure.
> > Of course ext/soap may have a bug.
>
> I see the stubs for handling them, but I can't make it
> actually work.
> Would you mind seeing if it's something crazy I'm doing here:
>
> http://sanni.omniti.com/soap-attr.phps
>
> Specifically where version is serialized from MessageHeader.
> Tinkering around with it, I couldn't find any means to get it to
> serialize as an attribute (which is what the referenced wsdl
> specifies). It always serializes as a node.
>
> Thanks, and I'll actually be quite thrilled if it's just me who can't
> make this work. Otherwise I'm happy to work on patching it,
> as I need
> it kinda quickly.
>
> Best Regards,
>
> George
>
>
Attachment: [application/x-httpd-php] soap1.php
Attachment: [application/x-httpd-php] soap1.php