Perhaps my tutorial can help pinpoint the problem for you: http://www.jroller.com/gmazza/entry/portlet_soap_tutorial
HTH, Glen Mughal, Anas wrote: > > Hello, > > In our portal application, we are trying to integrate with a vendor > implementation that uses CXF. > > Their implementation works fine if deployed in the portal application > WAR. > > However, when we try to access their implementation from a portlet, we > keep on getting the following NULL Pointer exception: > > java.lang.NullPointerException > > at > org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBData > Binding.java:440) > > at > org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:264) > > at > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildService > FromClass(ReflectionServiceFactoryBean.java:376) > > at > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromCla > ss(JaxWsServiceFactoryBean.java:525) > > at > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeSe > rviceModel(ReflectionServiceFactoryBean.java:439) > > at > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Refle > ctionServiceFactoryBean.java:195) > > at > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsService > FactoryBean.java:164) > > at > org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint( > AbstractWSDLBasedEndpointFactory.java:100) > > at > org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java: > 52) > > at > org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactory > Bean.java:102) > > at > org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean. > java:115) > > at > org.openiam.am.integ.bluenog.helper.ServiceLookupHelper.getRoleService(S > erviceLookupHelper.java:80) > > Could this be due to some JAR dependency issue. Any help would be > greatly appreciated. > -- View this message in context: http://old.nabble.com/JAXBDataBinding-throwing-NULL-Pointer-from-portlet-tp28141394p28144472.html Sent from the cxf-issues mailing list archive at Nabble.com.
