Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7.11, 3.0
-
None
-
CXF 3.0.0
JDK 1.7.0_45
Tomcat 7.0
Eclipse Version: Kepler Service Release 1
Web Service (Server) generated with wsdl2java OR with the JEE-Eclipse Web Service Wizard
-
Unknown
Description
Webservice response validation fails when using CXF Schema Validation (cxf-beans.xml: ... <entry key="schema-validation-enabled" value="true" /> )
Response is
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Marshalling Error: UndeclaredPrefix: Cannot resolve 'ns1:StatusCodeTyp' as a QName: the prefix 'ns1' is not declared.</faultstring>
</soap:Fault>
Reproducible with:
Sample Minimal WSDL: https://github.com/mattbond/PaperTest1/blob/master/WebContent/wsdl/paper.wsdl
Sample Eclipse Project on GitHub: https://github.com/mattbond/PaperTest1.git
Request, Responses (with and without validation) and console Logs available here:
https://github.com/mattbond/PaperTest1/tree/master/Request