• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question regarding MZ notes  RSS feed

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!