https://jax-ws.dev.java.net/issues/show_bug.cgi?id=552 Issue #|552
Summary|schema validation: wrong fault code category
Component|jax-ws
Version|2.1.2
Platform|All
OS/Version|All
URL|
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P2
Subcomponent|runtime
Assigned to|issues@jax-ws
Reported by|teecee
------- Additional comments from
teecee@... Wed Apr 16 09:34:24 +0000 2008 -------
While the schema validation feature for incoming/outgoing messages introduced in
2.1.3 works fine, it seems to generate a wrong fault code category when a client
sends a malformed message to a server:
<S:Envelope xmlns:S="
http://www.w3.org/2003/05/soap-envelope">
<S:Body>
<S:Fault xmlns:ns4="
http://schemas.xmlsoap.org/soap/envelope/">
<S:Code>
<S:Value>S:Receiver</S:Value>
</S:Code>
<S:Reason>
<S:Text xml:lang="de">org.xml.sax.SAXParseException:
cvc-complex-type.2.4.a: Invalid content was found starting with element '...'.
One of '{"
http://...:...}' is expected.</S:Text>
</S:Reason>
...
Since this is a fault caused by the *sender*, the <Code>/<Value> element should
contain "S:Sender" instead.
---------------------------------------------------------------------
To unsubscribe, e-mail:
issues-unsubscribe@...
For additional commands, e-mail:
issues-help@...