-
1. Re: CXF SE causing NPE
martinmurphy Aug 22, 2008 7:05 AM (in response to newion)Can you check to see if you've specified the operation in the ME when invoking on the CXF SE?
-
2. Re: CXF SE causing NPE
newion Aug 22, 2008 7:44 AM (in response to martinmurphy)I'm not sure what you mean.
This is my web service interface:
@WebService(name="DataIntegrityCheck", targetNamespace = "http://company.com/reporttool/dataintegrity")
@SOAPBinding(style=Style.DOCUMENT,parameterStyle=ParameterStyle.BARE)
public interface DataIntegrityCheckService {
@Oneway
public void startService(String ruleName);}
CXF SE endpoint definition:
<cxfse:endpoint>
<cxfse:pojo>bq. <bean id="checkEngine" class="com.consileon.ct.dataintegrity.DataIntegrityCheckServiceImpl">bq. <property name="entityManagerFactory" ref="entityManagerFactory"/>
<property name="context" ref="context"/></bean>
</cxfse:pojo>
</cxfse:endpoint>
and CXF BC definition:
<cxfbc:consumer wsdl="classpath:DataIntegrityCheckService.wsdl" endpoint="DataIntegrityCheck" service="integrity:DataIntegrityCheckService" interfaceName="integrity:DataIntegrityCheckPort" targetService="integrity:DataIntegrityCheckService"
/>
-
3. Re: CXF SE causing NPE
martinmurphy Aug 22, 2008 8:15 AM (in response to newion)I didn't realise the CXF BC was invoking directly on the SE, I thought there was another component in between that may not have been setting the operation on the Message Exchange that was passed to the SE.
Can you get a full stack and print it here?
I presume there is a good reason to deploy this in FUSE ESB rather than just using FUSE SF directly?
Edited by: martinmurphy on Aug 22, 2008 8:14 AM
-
4. Re: CXF SE causing NPE
newion Aug 22, 2008 9:12 AM (in response to martinmurphy)I found the problem, finally.
My application is throwing NPE but the exception was not reported properly by. I could see only :
2008-08-22 15:07:33 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Application has thrown exception, unwinding now: java.lang.NullPointerException: null.
I migrated from CXF 2.0.6 to 2.0.8 (most recent FUSE ESB)
and now I can see what was the cause of the error.
Thanks anyway.
-
5. Re: CXF SE causing NPE
ubhole Aug 22, 2008 9:16 AM (in response to newion)What version of Servicemix you are using?
Can you try latest one like 3.2.2 or Latest Snapshot?
It may be related to the issue https://issues.apache.org/activemq/browse/SM-1225
Regards,
Ulhas Bhole
-
6. Re: CXF SE causing NPE
newion Aug 22, 2008 9:58 AM (in response to ubhole)I used fuse-esb-3.3.1.3-windows and now fuse-esb-3.3.1.5-windows