[
https://issues.apache.org/jira/browse/CXF-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved CXF-5765.
------------------------------
Resolution: Fixed
Fix Version/s: 3.0.1
2.7.12
Assignee: Daniel Kulp
> Response is invalid
> -------------------
>
> Key: CXF-5765
> URL: https://issues.apache.org/jira/browse/CXF-5765
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.7.11, 3.0.0
> Environment: 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
> Reporter: Matthew Bond
> Assignee: Daniel Kulp
> Fix For: 2.7.12, 3.0.1
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)