You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Matthew Bond (JIRA)" <ji...@apache.org> on 2014/08/12 12:53:11 UTC

[jira] [Updated] (CXF-5773) Request Validation failed for Request with SimpleType parts

     [ https://issues.apache.org/jira/browse/CXF-5773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew Bond updated CXF-5773:
------------------------------

    Affects Version/s: 3.0.1
              Summary: Request Validation failed for Request with SimpleType parts  (was: Request Validation faild for Request with SimpleType parts)

> Request Validation failed 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, 3.0.1
>         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" /> )
> Only happens for the parts of the operation that are simpleType. Parts which are 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)