Win a copy of Spark in Action this week in the Open Source Projects forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

SOAP Fault Element

Ranch Hand
Posts: 238
Eclipse IDE Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic