[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: A Question about name spaces..
The namespace identifiers in your 2 response examples are the same - the difference is the prefix used ("n" vs. "u"). So I think your question should be regarding why 2 different namespace prefixes appear. Having said that, both <response> elements in your example are in the same namespace, because their namespace prefixes are each associated with the same namespace identifier. Kind Regards, Joseph Chiusano Booz Allen Hamilton Strategy and Technology Consultants to the World > -----Original Message----- > From: Brian OBrien [mailto:bobrien18@y...] > Sent: Saturday, March 05, 2005 7:05 PM > To: xml-dev@l... > Subject: A Question about name spaces.. > > If you post a soap message that uses xml namespaces then > shouldn't the response that you get back be in the same name space? > > ie > > <n:GetSomething xmlns:n="foobar"/> > > then shouldn't the response also be: > > <n:response xmlns:n="foobar">resp</n:response> > and not > <u:response xmlns:u="foobar">resp</u:response> > > > > ______________________________________________________________________ > Post your free ad now! http://personals.yahoo.ca > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org > <http://www.xml.org>, an initiative of OASIS > <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://www.oasis-open.org/mlmanage/index.php> > >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|