Wow, that's fast! Thanks for fixing this. Regards, Jan
Freeman Fang wrote: > > Hi Jan, > > I will fix it up asap, [1] track this issue > [1]https://issues.apache.org/activemq/browse/SM-1193 > > Thanks very much > > Freeman > > Jan Arend Jansen wrote: >> Hi, >> >> It seems that CXF SE internal endpoints cannot handle JBI exchanges that >> only have an endPointName and no interfaceName. >> >> If I send an internal exchange from ODE BPEL to a CXF SE it fails with: >> ERROR - CxfSeComponent - Error processing exchange InOut[ >> id: ID:10.200.196.74-1175f57716a-4:0 >> status: Active >> role: provider >> service: {http://.../bo/marsdoclit}MARSWService >> endpoint: MARSWServicePort >> operation: {http://.../bo/marsdoclit}getUsers >> in: [<?xml version="1.0" encoding="UTF-8"?><message >> xmlns="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper" >> xmlns:msgns="http://.../bo/marsdoclit" type="msgns:getUsers" >> version="1.0"><part><getUsers xmlns="http://.../bo >> /marsdoclit" xmlns:ns0="http://.../bo/marsdoclit"> >> >> <ns0:string>user/username</ns0:string> >> >> <ns0:string0>*</ns0:string0> >> >> </getUsers></part></message> >> ] >> java.lang.NullPointerException >> at >> org.apache.servicemix.cxfse.CxfSeEndpoint.process(CxfSeEndpoint.java:180) >> ...]]> >> >> Looking at the CxfSeEndpoint code line 180: >> JBIDestination jbiDestination = jbiTransportFactory >> .getDestination(exchange.getService().toString() >> + exchange.getInterfaceName().toString()); >> >> getInterfaceName returns null, so that explains the NPE. Why does CXF SE >> not >> work with an interfaceName but with a endpointName? >> >> Thanks, >> Jan >> > > -- View this message in context: http://www.nabble.com/CXF-SE-message-without-InterfaceName-tp14715817s12049p14729381.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
