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:
soap1.php
Description: application/httpd-php
-- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php