You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2014/05/11 00:11:06 UTC
[jira] [Resolved] (CXF-5732) Wrong faultcode in case failed schema
validation on server side
[ 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)