• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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 ]
 
My name is Inigo Montoya, you killed my father, prepare to read a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic