Schema validation in JAXB does not return validation errors to the client #2
----------------------------------------------------------------------------

                 Key: XFIRE-855
                 URL: http://jira.codehaus.org/browse/XFIRE-855
             Project: XFire
          Issue Type: Improvement
          Components: JAXB 2.0
    Affects Versions: 1.2.4
            Reporter: Frank Grupe
         Assigned To: Dan Diephouse
            Priority: Minor


Hi,

this Issue should be a reopen for XFIRE-771. Perhaps there has happend a 
mistake when checking in the fix for that one?
Because I get the same problem as described there in version 1.2.4: 
Instead of information about the nested validation Exception there appears only 
the "Unmarshal" Exception at the client side when a validation error occurs:
<soap:Fault>
<faultcode>soap:Server</faultcode> 
<faultstring>Could not unmarshall type.</faultstring> 
</soap:Fault>

I'd also prefer to see something like this instead, so that the caller can 
react himself:
<soap:Fault>
<faultcode>soap:Server</faultcode> 
<faultstring>org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid 
content was found starting with element 'width'. One of '{"":length}' is 
expected.</faultstring> 
</soap:Fault>

Could you please check what went wrong?

Thanks,
Frank



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to