• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Question regarding MZ notes

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic