Two Laptop Bag
The moose likes Web Services Certification (SCDJWS/OCPJWSD) and the fly likes Re SOAP Envelope basic profile Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCPJWSD)
Reply Bookmark "Re SOAP Envelope basic profile" Watch "Re SOAP Envelope basic profile" New topic
Author

Re SOAP Envelope basic profile

sakthi vadivel
Ranch Hand

Joined: Dec 16, 2007
Posts: 41
Hey folks,

I am just starting to study for OCPJWSD, here in the basic profile i just found some do's and dont's. Can anyone explain why it is so?

An ENVELOPE MUST NOT contain a Document Type Declaration. why?

An ENVELOPE MUST NOT contain Processing Instructions. why?

An ENVELOPE SHOULD NOT contain the namespace declaration xmlns:xml="http://www.w3.org/XML/1998/namespace". why?

A DESCRIPTION SHOULD NOT contain the namespace declaration xmlns:xml="http://www.w3.org/XML/1998/namespace". why?

, Please don't mind if it's a silly question, i would like to know the reason for it instead of simply memorizing.

Thanks,
Sakthi


sakthi SCJP, SCWCD OCA
Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3100
Hi,

You listed some requirements from basic profile. But actually all of them have a short explanation prepended.

In particular, answer for the first two your questions is:


XML DTDs and PIs may introduce security vulnerabilities, processing overhead and semantic ambiguity when used in envelopes.


Best regards,
MZ


Free SCDJWS 5.0 Study Guide - SCDJWS 5.0 Quiz (How to get SCDJWS 5.0 Quiz)
Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam Study Guide and Quiz
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Re SOAP Envelope basic profile
 
Similar Threads
WS BP R1033 and xml:lang in SOAP Faults
XSLT with name space
xml:lang in faultstring
SOAP 1.2 Fault children qualified
Help with SAAJ and SOAP 1.2