• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fault Query

 
Chandrasekar Iyer
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Folks,

Just started off on SOAP basics and hence have tons of queries...Starting off..

a)The SOAP schema at http://schemas.xmlsoap.org/soap/envelope/ indicates that namespace for Header should be of type "##other".This I take means that any Element whose type thats not from targetNameSpace of type being defined or null namespace.

Given that,will it be possible to define SOAP:Fault in Header as Fault also comes in from same "Envelope" namespace ?

b)I google-d for SOAP message validating tools.SOAPUI is one option.Any other recommendations ?
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Question a:
If you look at the <binding> element in a WSDL document, there can be zero or more <header> elements describing the header(s) that may be enclosed as part of the input or output message. A <header> element has the following properties:
• Belongs to the namespace “http://www.w3.org/ns/wsdl/soap”.
• Zero or more <documentation> elements.
• Zero or more elements which does not belong to the namespaces “http://www.w3.org/ns/wsdl” or “http://www.w3.org/ns/wsdl/soap”.

Question b:
Eclipse and NetBeans both have XML validation built-in. If you want a dedicated XML editor, take a look at Oxygen: http://www.oxygenxml.com/
Best wishes!
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure whether the following answers your question, but the Basic Profile Version 1.0 says -

4.1.3 SOAP Faults and Namespaces

The children of the soap:Fault element are local to that element, therefore namespace qualification is unnecessary.
R1001 When a MESSAGE contains a soap:Fault element its element children MUST be unqualified.

For example, ...


Regards,
Dan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic