cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-3774) ValidationEventHandler referenced by CXF 2.4.2, no longer present in XmlSchema 2.0
Date Tue, 30 Aug 2011 02:30:37 GMT

    [ https://issues.apache.org/jira/browse/CXF-3774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093379#comment-13093379
] 

Freeman Fang commented on CXF-3774:
-----------------------------------

Hi,

We adapt cxf code to work with xmlschema2.0 a long time ago, so cxf code not reference org.apache.ws.commons.schema.ValidationEventHandler
 anymore for a while. You can find the 
this change here[1].

So you somehow still use some old cxf version in your env, you need figure it out.

[1]http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/xmlschema/SchemaCollection.java?r1=1023402&r2=1023401&pathrev=1023402

Freeman

> ValidationEventHandler referenced by CXF 2.4.2, no longer present in XmlSchema 2.0
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-3774
>                 URL: https://issues.apache.org/jira/browse/CXF-3774
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Piotr Findeisen
>            Assignee: Freeman Fang
>
> After upgrading CXF to 2.4.2 and, as a consequence, XmlSchema to 2.0 (using either jar
provided in CXF distribution or direct download from XmlSchema 2 project website) i get the
following:
> {noformat}
> Caused by: java.lang.NoSuchMethodError: org.apache.ws.commons.schema.XmlSchemaCollection.read(Lorg/w3c/dom/Document;Ljava/lang/String;Lorg/apache/ws/commons/schema/ValidationEventHandler;)Lorg/apache/ws/commons/schema/XmlSchema;
> 	at org.apache.cxf.common.xmlschema.SchemaCollection.read(SchemaCollection.java:180)
> 	at org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(AbstractDataBinding.java:159)
> 	at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:396)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:467)
> 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:615)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:530)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:278)
> 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:179)
> 	at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:99)
> 	at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:105)
> 	at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:175)
> {noformat}
> {{org.apache.cxf.common.xmlschema.SchemaCollection}} is a class in CXF jar, {{org.apache.ws.commons.schema.XmlSchemaCollection}}
is a class in XmlSchema jar, {{org.apache.ws.commons.schema.ValidationEventHandler}} [does
not and will not exist, according to XMLSCHEMA-15|https://issues.apache.org/jira/browse/XMLSCHEMA-15].

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message