RE: RE: element handling in schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just found the bug. :)
Thank you for your reports.

I have committed fix into HEAD only.
The example in attachment sets header namespaces (with fixed HEAD).

Thanks. Dmitry.

> -----Original Message-----
> From: Adam Maccabee Trachtenberg [mailto:adam@trachtenberg.com] 
> Sent: Monday, March 28, 2005 09:14
> To: George Schlossnagle
> Cc: Dmitry Stogov; soap@lists.php.net
> Subject: Re:  RE: element handling in schema
> 
> 
> On Sun, 27 Mar 2005, George Schlossnagle wrote:
> 
> > 2) Only the top level nodes are encoded with the correct namespace.
> > Consider:
> >
> >      <ns2:MessageHeader>
> >        <From>
> >          <ns2:PartyId>omniti.com</ns2:PartyId>
> >        </From>
> >        <To>
> >          <ns2:PartyId>webservices.sabre.com</ns2:PartyId>
> >        </To>
> >        <CPAId>IPCC</CPAId>
> >        <ConversationId>abc123@omniti.com</ConversationId>
> >        <Service>Session</Service>
> >        <Action>SessionCreateRQ</Action>
> >        <version>2.0</version>
> >        <MessageData>
> >          <MessageId>mid:123456@omnti.com</MessageId>
> >          <Timestamp>2005-03-18T05:15:00Z</Timestamp>
> >        </MessageData>
> >      </ns2:MessageHeader>
> >
> > All of these guys should be in the ns2 namespace.  That is 
> why I had 
> > added the SoapVars originally.
> 
> I have this problem with the eBay WSDL. I need to create 
> SoapVars for the header so they go inside the proper NS 
> (which is the same as the parent NS, but isn't inherited). 
> Otherwise, they end up in no NS, which is wrong.
> 
> -adam
> 
> -- 
> adam@trachtenberg.com | http://www.trachtenberg.com
> author of o'reilly's "upgrading to php 5" and "php cookbook" 
> avoid the holiday rush, buy your copies today!
> 
> -- 
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

Attachment: soap1.php
Description: application/httpd-php

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux