This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
My study notes on SCDJWS 1.4 exam is now available on the SCDJWS Links page. You can also access it at this url.
Thanks to Valentin Crettaz for reviewing it and making it available to the community at Javaranch. Hope you may find it useful in your preparation and you can mail me at firstname.lastname@example.org if you have any feedback.
I must say the notes are great capturing all the key info.
In your notes on page 41 it says
"The VersionMismatch fault applies only to the namespace assigned to the Envelope, Header, Body, and Faultelements. It does not apply to other parts of the SOAP message, like the header blocks, XML document version, or application-specific elements in the Body."
You mention that VersionMismatch fault applies to header element and in the following line you say it does not apply to the header block.
Is my interpretation right or wrong?
Joined: Apr 17, 2006
It means that the VersionMismatchFault is only applicable to the elements as defined by the soap schema (which are Envelope, Body, Header and Fault elements). The header blocks will belong to some schema other than the soap schema. For eg:
As shown above, <mi:message-id> is the header block element where as <soap:Header> is the header element. So if the receiving node say only processes soap 1.2 messages only (ie the namespace for the soap message elements Envelope, Header, Body should be http://www.w3.org/2003/05/soap-envelope - a soap 1.2 namespace) and the message as shown above is a soap 1.1 message (as identified by the namespace http://schemas.xmlsoap.org/soap/envelope/), so the receiving node should generate a VersionMismatchFault in such a case.