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.

Reply via email to