Matthew Bond created CXF-5773:
---------------------------------
Summary: Request Validation faild for Request with SimpleType parts
Key: CXF-5773
URL: https://issues.apache.org/jira/browse/CXF-5773
Project: CXF
Issue Type: Bug
Components: JAX-WS Runtime
Affects Versions: 2.7.11, 3.0.0
Environment: 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
Webservice request validation fails when using CXF Schema Validation
(cxf-beans.xml: ... <entry key="schema-validation-enabled" value="true" /> )
Onyl happens when one of the parts of the operation is a simpleType -
complexTypes work fine
Response is
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: unrecognized type name:
{http://paper.bitapp.de/page}MySimpleType. Did you mean
{http://paper.bitapp.de/page}StatusCodeTyp?</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Reproducible with:
Sample Minimal WSDL:
https://github.com/mattbond/PaperTest2/blob/master/WebContent/wsdl/paper2.wsdl
Sample Eclipse Project on GitHub: https://github.com/mattbond/PaperTest2.git
Request, Responses (with and without validation) and console Logs available
here:
https://github.com/mattbond/PaperTest2/tree/master/Request
--
This message was sent by Atlassian JIRA
(v6.2#6252)