>From the log, it looks like the deploy from the CXF side worked fine.   

> Jul 27, 2011 2:04:16 PM org.apache.cxf.endpoint.ServerImpl initDestination
> INFO: Setting the server's publish address to be /TradeProcessorBasicAuth

What it looks like is happening is that WebLogic's classpath scanning  is 
kicking in and deploying everything that has an @WebService annotation as a 
webservice.    I'm not familiar enough with WebLogic to really help figure out 
how to deal with that issue.

You may be able to remove the @WebService annotation from the impl and then 
add a bunch more attributes to the jaxws:endpoint cxf config (targetNamespace, 
endpointName, serviceName, etc....), but I'm not really sure on that.

Dan



On Wednesday, July 27, 2011 12:11:06 PM cwhistler wrote:
> 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.NasuProcessorImp
> l" 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(AbstractSEIModel
> Impl.java:164) at
> com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.j
> ava:94) at
> com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:26
> 5) at
> com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:36
> 3) at
> com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:20
> 2) 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(AbstractSEIModel
> Impl.java:151) at
> com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.j
> ava:94) at
> com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:26
> 5) at
> com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:36
> 3) Truncated. see log file for complete stacktrace
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/CXF-Java-first-service-using-XMLBean-genera
> ted-objects-as-the-input-and-output-parameters-tp4591548p4639963.html Sent
> from the cxf-dev mailing list archive at Nabble.com.
-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to