cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] Resolved: (CXF-1207) Namespace confusion with explicit wrapper elements
Date Wed, 28 Oct 2009 18:35:59 GMT


Daniel Kulp resolved CXF-1207.

       Resolution: Won't Fix
    Fix Version/s: Invalid

Marking this as a "won't fix" as it's really a JAXB error reporting issue.  We pretty much
just hand all the classes to JAXB to have it generate the schema.   In this case, it's generating
invalid schema and not providing an error message.  Short of running the validator on every
schema JAXB produces (which would suck timewise), not sure what we can do.

> Namespace confusion with explicit wrapper elements
> --------------------------------------------------
>                 Key: CXF-1207
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime, JAXB Databinding
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>             Fix For: Invalid
>     @RequestWrapper(className = "org.apache.cxf.javascript.fortest.BasicTypeFunctionReturnStringWrapper")
> asks for an explicit wrapper.
> @XmlRootElement
> public class BasicTypeFunctionReturnStringWrapper
> declares it. Note the lack of an @XmlType and the lack of a namespace on the root element.
At runtime, this results in ...
> Should this work? Is it really the same problem as CXF-1198?
> Nov 13, 2007 8:24:21 AM org.apache.cxf.service.factory.ReflectionServiceFactoryBean fillInSchemaCrossreferences
> SEVERE: Schema element {uri:org.apache.cxf.javascript.fortest}basicTypeFunctionReturnString
references undefined type basicTypeFunctionReturnStringWrapper for service {uri:org.apache.cxf.javascript.fortest}SimpleDocLitWrappedUnqualifiedService.
> Nov 13, 2007 8:24:23 AM org.apache.cxf.wsdl.EndpointReferenceUtils getSchema
> WARNING: SAXException for newSchema()
> org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'basicTypeFunctionReturnStringWrapper'
to a(n) 'type definition' component.
> 	at
> 	at

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

View raw message