Re: RE: element handling in schema

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

 



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


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

  Powered by Linux