Re: [SOAP] RE: element handling in schema

From: Date: Mon, 28 Mar 2005 05:13:36 +0000
Subject: Re: [SOAP] RE: element handling in schema
References: 1 2  Groups: php.soap 
Request: Send a blank email to php-soap+get-1785@lists.php.net to get a copy of this message
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!

« previous php.soap (#1785) next »