I have a WSDL that worked fine with 2.0.7.  I upgraded to cxf 2.1.3-SNAPSHOT
(so I could upgrade to Servicemix 3.3-SNAPSHOT) and I was still able to
generate my classes from my WSDL with it, but, I get an error at runtime
when I try to send a request from my client.  The relevant part of the stack
trace is:

Caused by: java.lang.NullPointerException
        at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeClassInfo(Ref
lectionServiceFactoryBean.java:599)
        at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeWSDLOperation(JaxWsS
erviceFactoryBean.java:234)
        at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeWSDLOperation
s(ReflectionServiceFactoryBean.java:519)
        at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.initializeWSDLOperations(JaxWs
ServiceFactoryBean.java:243)
        at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(Re
flectionServiceFactoryBean.java:313)
        at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(
ReflectionServiceFactoryBean.java:403)
        at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServic
eFactoryBean.java:188)
        at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean
.java:164)
        at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSD
LBasedEndpointFactory.java:100)
        at
org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:52)
        at
org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:9
7)

I'm not sure why the WSDL generates ok, but then gives me this error at
runtime.  Does this stack trace ring a bell with anyone of where I might
want to look?  I will double check I'm using the updated plugins for
generating the WSDL, though that should all have been updated together.

Thanks for any help!
Ryan

Reply via email to