[
https://issues.apache.org/jira/browse/CXF-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550110
]
Benson Margulies commented on CXF-1277:
---------------------------------------
The question then is: what is the status of schema validation as a product
feature. We don't document it very clearly, but it seems possible that there
should be a way to turn it on that either (a) carefully does nothing for RPC
services, (b) carefully validates only below the level of the parts, or (c)
depends on all the schema you are discussing.
> JAXB schema validation fails for RPC
> ------------------------------------
>
> Key: CXF-1277
> URL: https://issues.apache.org/jira/browse/CXF-1277
> Project: CXF
> Issue Type: Bug
> Components: JAXB Databinding
> Affects Versions: 2.1
> Reporter: Benson Margulies
> Assignee: Daniel Kulp
>
> If I turn on schema validation in CXF in an RPC server, it always fails. This
> is because JAXB tries to validate the whole input message, and there's no
> schema in the wsdl for these things. It seems to me that there could be
> schema: they are just form-unqualified elements of the elements for the
> messages. Is there some reason-of-standardization why we can't just include
> this in wsdl we generate? If so, we could fabricate it for runtime
> validation, I guess.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.