Hi!
I'm trying to migrate from Xfire to CXF using Spring and xmlbeans.
I'm getting this error when deploying:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'testservice': Invocation of init method failed; nested exception
is javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException: Service class
com.cxftest.ws.servicetest.ServiceTestFacade method testService part
{http://cxftest.com/webservicetest/ws/test}testServiceRequest cannot be
mapped to schema. Check for use of a JAX-WS-specific type without the JAX-WS
service factory bean.
It works when I'm using JAXB, but not when I generate documents with the
xmlbeans-maven-plugin version 2.1.0.
This archive contains the complete project (maven project). It works and
deploys using JAXB...
http://www.nabble.com/file/p22227104/CXFTest.rar CXFTest.rar
This archive contains the same complete project, only this one uses
XMLBeans.
http://www.nabble.com/file/p22227104/CXFTestXmlBeans.rar CXFTestXmlBeans.rar
How may I get the service running using XMLBeans?
Any help would be highly appreciated!
For some more information; http://www.knutivars.net/cxf/index.html see this
page!
--
View this message in context:
http://www.nabble.com/Xfire---CXF.-Problem-using-xmlbeans.-WebServiceException-tp22227104p22227104.html
Sent from the cxf-user mailing list archive at Nabble.com.