Hmmm.... I guess the only thing I can suggest right now is to try 2.1.3 (or preferrably the 2.1.4-SNAPSHOTS) and see if it's still an issue with the latest code. If it is, we would at least have recent line numbers in the stack trace to look at. Preferrably even package up a sample showing the issue for us to debug.
Dan On Thursday 11 December 2008 4:51:05 am Julie Ingignoli wrote: > Yes I have got an ASM jar on the classpath it's 2.2.3 version it shouldn't > ? > > We use the 1.4.2 version for XmlSchema. > > Julie. > > 2008/12/10 Daniel Kulp <[email protected]> > > > Couple possibilities: > > > > 1) Is there an ASM jar available on the classpath. That MAY help. > > > > 2) Check the version of XmlSchema.jar. It needs to be 1.4.2. 1.3.x > > versions will definitely cause this issue. > > > > Dan > > > > On Wednesday 10 December 2008 5:06:29 am Julie Ingignoli wrote: > > > Hi, > > > > > > > > > > > > I need to create a webservice client with SSL authentification. I > > > > followed > > > > > this example from cxf's documentation : > > > http://cwiki.apache.org/CXF20DOC/client-http-transport.html > > > > > > I created and tested it with JUnit/Eclipse everything was alright but > > > now when i package and deploy it as an ear application I have got an > > > NullPointerException. > > > > > > I looked to the cxf's sources and the problem is that schema as no > > > > element > > > > > in the ReflectionServiceFactoryBean.createBareMessage method. > > > > > > I tried with two cxf's version : 2.1 and 2.1.1 no change. > > > > > > This is the stackTrace : > > > > > > > > > > > > [java] java.lang.NullPointerException > > > > > > [java] at > > > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createBareMes > >sa > > > > >ge(ReflectionServiceFactoryBean.java:982) > > > > > > [java] at > > > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceF > >ro > > > > >mClass(ReflectionServiceFactoryBean.java:356) > > > > > > [java] at > > > > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClas > >s( > > > > >JaxWsServiceFactoryBean.java:513) > > > > > > [java] at > > > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeSer > >vi > > > > >ceModel(ReflectionServiceFactoryBean.java:396) > > > > > > [java] at > > > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Reflec > >ti > > > > >onServiceFactoryBean.java:181) > > > > > > [java] at > > > > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceF > >ac > > > > >toryBean.java:163) > > > > > > [java] at > > > > org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(A > >bs > > > > >tractWSDLBasedEndpointFactory.java:79) > > > > > > [java] at > > > > org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:5 > >1) > > > > > [java] at > > > > org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryB > >ea > > > > >n.java:97) > > > > > > [java] at > > > > org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.j > >av > > > > >a:93) > > > > > > I think this comes from a library conflicts but no way to find which > > > one. > > > > > > This is my code, nothing is configured with Spring. > > > > > > > > > > > > JaxWsProxyFactoryBean proxyFactory = *new* JaxWsProxyFactoryBean(); > > > > > > proxyFactory.setServiceClass(ServiceAPI.*class*); > > > > > > proxyFactory.setAddress(serviceURL); > > > > > > > > > > > > proxy = (ServiceAPI) proxyFactory.create(); > > > > > > > > > > > > If somebody knows where i can have a look ... > > > > > > > > > > > > Thanks > > > > -- > > Daniel Kulp > > [email protected] > > http://dankulp.com/blog -- Daniel Kulp [email protected] http://dankulp.com/blog
