Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.7.11
-
None
-
None
-
Unknown
Description
Enabling schema validation on jaxws:endpoint
<jaxws:endpoint id="DemoService" ....... <jaxws:properties> <entry key="schema-validation-enabled" value="true" /> </jaxws:properties> </jaxws:endpoint>
Invoke this service with expected fault (schema validation failed on request), then got response:
<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>
the expected faultcode should be soap:Server.