You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2007/12/13 00:47:43 UTC

[jira] Created: (CXF-1295) Doc/Lit/Wrapped services fail schema validation at runtime with JAXB+JAX-WS

Doc/Lit/Wrapped services fail schema validation at runtime with JAXB+JAX-WS
---------------------------------------------------------------------------

                 Key: CXF-1295
                 URL: https://issues.apache.org/jira/browse/CXF-1295
             Project: CXF
          Issue Type: Bug
          Components: JAXB Databinding
    Affects Versions: 2.1
            Reporter: Benson Margulies
            Assignee: Daniel Kulp


If a service is doc/wrapped/lit, and you turn on schema validation on the endpoint, it will fail. The reason is that there are undeclared elements used.

To demonstrate this, look at org.apache.cxf.javascript.DocLitWrappedClientTest. In the @before method, there is a 'false' passed to 'setupRhino'. (If I rename that function you'll be able to figure it out).

Change it to 'true'. The test will fail with validation errors.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.