[Issue 552] New - schema validation: wrong fault code category

View: New views
3 Messages — Rating Filter:   Alert me  

[Issue 552] New - schema validation: wrong fault code category

by teecee-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...


[Issue 552] schema validation: wrong fault code category

by jitu-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://jax-ws.dev.java.net/issues/show_bug.cgi?id=552



User jitu changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|issues@jax-ws             |jitu
--------------------------------------------------------------------------------




------- Additional comments from jitu@... Wed Apr 16 15:22:24 +0000 2008 -------
Assigning it to myself.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...


[Issue 552] schema validation: wrong fault code category

by jitu-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://jax-ws.dev.java.net/issues/show_bug.cgi?id=552



User jitu changed the following:

                What    |Old value                 |New value
================================================================================
        Target milestone|not determined            |2.1.5
--------------------------------------------------------------------------------




------- Additional comments from jitu@... Thu Jul 10 06:17:20 +0000 2008 -------
Setting the target milestone.

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...