cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-5732) Wrong faultcode in case failed schema validation on server side
Date Sat, 10 May 2014 22:11:06 GMT

     [ https://issues.apache.org/jira/browse/CXF-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-5732.
------------------------------

       Resolution: Not a Problem
    Fix Version/s:     (was: 2.7.12)
                       (was: 2.6.15)
                       (was: 3.0.0)
                   Invalid

> Wrong faultcode in case failed schema validation on server side
> ---------------------------------------------------------------
>
>                 Key: CXF-5732
>                 URL: https://issues.apache.org/jira/browse/CXF-5732
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.7.11
>            Reporter: Xilai Dai
>            Assignee: Xilai Dai
>             Fix For: Invalid
>
>
> Enabling schema validation on jaxws:endpoint
> {code}
> <jaxws:endpoint id="DemoService"
>         .......
>         <jaxws:properties>
>             <entry key="schema-validation-enabled" value="true" />
>         </jaxws:properties>
>     </jaxws:endpoint>
> {code}
> Invoke this service with expected fault (schema validation failed on request), then got
response:
> {code}
>       <soap:Fault>
>          <faultcode>soap:Client</faultcode>
>          <faultstring>Unmarshalling Error: cvc-minLength-valid: Value '2222' with
length = '4' is not facet-valid with respect to minLength '10' for type '#AnonType_inDemoServiceOperationRequest'.</faultstring>
>       </soap:Fault>
> {code}
> the expected faultcode should be soap:Server.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message