cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cwhistler <chadd.whist...@sungard.com>
Subject Re: CXF Java first service, using XMLBean generated objects as the input and output parameters
Date Wed, 27 Jul 2011 19:11:06 GMT
Yeah my bad.  I lost the binding entries in my services.  Now that I've added
them back I still get the original exception:
    <jaxws:endpoint id="NasuProcessorBasicAuth"
       
implementorClass="com.sungard.aa.ta.citioli.processors.nasu.NasuProcessorImpl"
        implementor="#nasuProcessor"
        address="/NasuProcessorBasicAuth">
        *<jaxws:dataBinding>
            <bean class="org.apache.cxf.xmlbeans.XmlBeansDataBinding" />
        </jaxws:dataBinding>*       
        <jaxws:inInterceptors>
            <ref bean="securityInterceptor"/>
        </jaxws:inInterceptors>
    </jaxws:endpoint>

I don't see anything else here that I can prefer in my ear to get around
this.

Jul 27, 2011 2:04:16 PM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: Creating Service {http://www.sungard.com/aata}NasuProcessorImplService
from class com.sungard.aa.ta.citioli.processors.nasu.NasuProcessor
Jul 27, 2011 2:04:16 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be /NasuProcessorBasicAuth
Jul 27, 2011 2:04:16 PM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: Creating Service
{http://www.sungard.com/aata}MaintProcessorImplService from class
com.sungard.aa.ta.citioli.processors.maint.MaintProcessor
Jul 27, 2011 2:04:16 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be /MaintProcessorBasicAuth
Jul 27, 2011 2:04:16 PM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromClass
INFO: Creating Service
{http://www.sungard.com/aata}TradeProcessorImplService from class
com.sungard.aa.ta.citioli.processors.trade.TradeProcessor
Jul 27, 2011 2:04:16 PM org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be /TradeProcessorBasicAuth
<Jul 27, 2011 2:04:16 PM CDT> <Error> <HTTP> <BEA-101216> <Servlet:
"com.sungard.aa.ta.citioli.processors.maint.MaintProcessorImpl" failed to
preload on startup in Web application: "/citioli".
javax.xml.ws.WebServiceException: Unable to create JAXBContext
	at
com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:164)
	at
com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
	at
com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:265)
	at
com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:363)
	at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:202)
	Truncated. see log file for complete stacktrace

Caused By: java.security.PrivilegedActionException:
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 10 counts of
IllegalAnnotationExceptions
noNamespace.MmmfAccountDocument is an interface, and JAXB can't handle
interfaces.
	this problem is related to the following location:
		at noNamespace.MmmfAccountDocument
		at public noNamespace.MmmfAccountDocument
com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcess.inputVO
		at com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcess
noNamespace.MmmfAccountDocument does not have a no-arg default constructor.
	this problem is related to the following location:
		at noNamespace.MmmfAccountDocument
		at public noNamespace.MmmfAccountDocument
com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcess.inputVO
		at com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcess
noNamespace.MmmfAccountDocument$MmmfAccount is an interface, and JAXB can't
handle interfaces.
	this problem is related to the following location:
		at noNamespace.MmmfAccountDocument$MmmfAccount
		at public abstract noNamespace.MmmfAccountDocument$MmmfAccount
noNamespace.MmmfAccountDocument.getMmmfAccount()
		at noNamespace.MmmfAccountDocument
		at public noNamespace.MmmfAccountDocument
com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcess.inputVO
		at com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcess
noNamespace.MmmfAccountDocument$MmmfAccount does not have a no-arg default
constructor.
	this problem is related to the following location:
		at noNamespace.MmmfAccountDocument$MmmfAccount
		at public abstract noNamespace.MmmfAccountDocument$MmmfAccount
noNamespace.MmmfAccountDocument.getMmmfAccount()
		at noNamespace.MmmfAccountDocument
		at public noNamespace.MmmfAccountDocument
com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcess.inputVO
		at com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcess
noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo is an interface, and
JAXB can't handle interfaces.
	this problem is related to the following location:
		at noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo
		at public abstract
noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo[]
noNamespace.MmmfAccountDocument$MmmfAccount.getAddressInfoArray()
		at noNamespace.MmmfAccountDocument$MmmfAccount
		at public abstract noNamespace.MmmfAccountDocument$MmmfAccount
noNamespace.MmmfAccountDocument.getMmmfAccount()
		at noNamespace.MmmfAccountDocument
		at public noNamespace.MmmfAccountDocument
com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcess.inputVO
		at com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcess
noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo does not have a
no-arg default constructor.
	this problem is related to the following location:
		at noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo
		at public abstract
noNamespace.MmmfAccountDocument$MmmfAccount$AddressInfo[]
noNamespace.MmmfAccountDocument$MmmfAccount.getAddressInfoArray()
		at noNamespace.MmmfAccountDocument$MmmfAccount
		at public abstract noNamespace.MmmfAccountDocument$MmmfAccount
noNamespace.MmmfAccountDocument.getMmmfAccount()
		at noNamespace.MmmfAccountDocument
		at public noNamespace.MmmfAccountDocument
com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcess.inputVO
		at com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcess
noNamespace.MmmfResponseDocument is an interface, and JAXB can't handle
interfaces.
	this problem is related to the following location:
		at noNamespace.MmmfResponseDocument
		at public noNamespace.MmmfResponseDocument
com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcessResponse._return
		at com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcessResponse
noNamespace.MmmfResponseDocument does not have a no-arg default constructor.
	this problem is related to the following location:
		at noNamespace.MmmfResponseDocument
		at public noNamespace.MmmfResponseDocument
com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcessResponse._return
		at com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcessResponse
noNamespace.MmmfResponseDocument$MmmfResponse is an interface, and JAXB
can't handle interfaces.
	this problem is related to the following location:
		at noNamespace.MmmfResponseDocument$MmmfResponse
		at public abstract noNamespace.MmmfResponseDocument$MmmfResponse
noNamespace.MmmfResponseDocument.getMmmfResponse()
		at noNamespace.MmmfResponseDocument
		at public noNamespace.MmmfResponseDocument
com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcessResponse._return
		at com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcessResponse
noNamespace.MmmfResponseDocument$MmmfResponse does not have a no-arg default
constructor.
	this problem is related to the following location:
		at noNamespace.MmmfResponseDocument$MmmfResponse
		at public abstract noNamespace.MmmfResponseDocument$MmmfResponse
noNamespace.MmmfResponseDocument.getMmmfResponse()
		at noNamespace.MmmfResponseDocument
		at public noNamespace.MmmfResponseDocument
com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcessResponse._return
		at com.sungard.aa.ta.citioli.processors.maint.jaxws.WsProcessResponse

	at java.security.AccessController.doPrivileged(AccessController.java:255)
	at
com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:151)
	at
com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
	at
com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:265)
	at
com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:363)
	Truncated. see log file for complete stacktrace

--
View this message in context: http://cxf.547215.n5.nabble.com/CXF-Java-first-service-using-XMLBean-generated-objects-as-the-input-and-output-parameters-tp4591548p4639963.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Mime
View raw message