Author
Question regarding MZ notes
Eva Van Shtock
Greenhorn
Joined: Jun 02, 2006
Posts: 28
Hi, I just started looking into this certification. I'm reading MZ notes and has a question regarding SOAP notes. In Chapter 2, MZ says SOAP-ENV:mustUnderstand="0|1" or soap:mustUnderstand="0|1" are OK. I cannot see the difference. Is SOAP-ENV a keyword? Cannot I use: xyz:mustUnderstand="0|1" and assign xmlns:xyz to the URI and this works the same? Can anyone tell me why he says "this form is OK OR this is OK"? Regards Eva
wise owen
Ranch Hand
Joined: Feb 02, 2006
Posts: 2023
posted Aug 08, 2006 17:03:00
0
SOAP-ENV is not a keyword and it is a prefix that is bound to http://schemas.xmlsoap.org/soap/envelope/ . The xmlns attribute to the <Envelope> tag to give the SOAP-ENV prefix a qualified name associated with a namespace.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" ...> <SOAP-ENV:Body> .... </SOAP-ENV:Body> </SOAP-ENV:Envelope>
is the same as
<xyz:Envelope xmlns:xyz="http://schemas.xmlsoap.org/soap/envelope/" ...> <xyz:Body> .... </xyz:Body> </xyz:Envelope>
[ August 08, 2006: Message edited by: wise owen ]
subject: Question regarding MZ notes