File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Question regarding MZ notes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Question regarding MZ notes" Watch "Question regarding MZ notes" New topic
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
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question regarding MZ notes
 
Similar Threads
Question about Exception
MZ ?
When should one consider appearing for the exam and exam question policy
MZ notes - fault about import/types ?
Passed SCDJWS with 86%