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/OCPJWSD) and the fly likes SOAP Fault Element Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCPJWSD)
Reply Bookmark "SOAP Fault Element" Watch "SOAP Fault Element" New topic
Author

SOAP Fault Element

Sudhanshu Mishra
Ranch Hand

Joined: May 28, 2011
Posts: 200

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.

Thanks....
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: SOAP Fault Element
 
Similar Threads
JAX-WS web service - "Cannot find dispatch method"
SOAP 1.2 Fault children qualified
soap fault return empty <detail> element.
Fault Element
Questions on Chap4 of RMH