File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes SOAP Fault Element Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "SOAP Fault Element" Watch "SOAP Fault Element" New topic

SOAP Fault Element

Sudhanshu Mishra
Ranch Hand

Joined: May 28, 2011
Posts: 235

Hi all,
I have just started preparing for SCDJWS and I am stuck with few doubts...

1:The SOAP Schema which is at the URL SOAP Schema does not specifies that elementFormDefualt is "qualified".
2:Even if I assume that elementFormDefualt is "qualified", then while creating the SOAP Fault message,I MUST write the qualified names of the "faultcode" and "fualtstring" elements.
Why I am asking this is becuase,I just copied the entire SOAP Schema from the website to my Eclipse editor,and then tried to use "unqualified faultcode and faultstring" elements.It worked fine.
But,when I modified the schema as "elementFormDefualt=qualified" (which the schema claims of),I was unable to use "unqualified faultcode and faultstring" elements and I had qualify them.

If the question seems silly,please forgive me as I have just started
I request Javaranch to please help me out.


I agree. Here's the link:
subject: SOAP Fault Element
It's not a secret anymore!