Return-Path: Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: (qmail 76263 invoked from network); 10 Jan 2008 04:01:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2008 04:01:09 -0000 Received: (qmail 8352 invoked by uid 500); 10 Jan 2008 04:00:58 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 8321 invoked by uid 500); 10 Jan 2008 04:00:58 -0000 Mailing-List: contact dev-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list dev@servicemix.apache.org Received: (qmail 8312 invoked by uid 99); 10 Jan 2008 04:00:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2008 20:00:58 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 04:00:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EFFE6714236 for ; Wed, 9 Jan 2008 20:00:46 -0800 (PST) Message-ID: <30706264.1199937646967.JavaMail.jira@brutus> Date: Wed, 9 Jan 2008 20:00:46 -0800 (PST) From: "Freeman Fang (JIRA)" To: dev@servicemix.apache.org Subject: [jira] Resolved: (SM-1193) Cxf Se endpoint should support the interfaceName is null in the incoming exchange In-Reply-To: <3392535.1199936205025.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/SM-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Freeman Fang resolved SM-1193. ------------------------------ Resolution: Fixed fixed by http://svn.apache.org/viewvc?rev=610661&view=rev for 3.3 snapshot branch http://svn.apache.org/viewvc?rev=610663&view=rev for 3.2.2 snapshot branch > Cxf Se endpoint should support the interfaceName is null in the incoming exchange > --------------------------------------------------------------------------------- > > Key: SM-1193 > URL: https://issues.apache.org/activemq/browse/SM-1193 > Project: ServiceMix > Issue Type: Bug > Affects Versions: 3.2.1 > Reporter: Freeman Fang > Assignee: Freeman Fang > Fix For: 3.2.2, 3.3 > > > copy this issue from the mailling list > 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: [ xmlns="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper" > xmlns:msgns="http://.../bo/marsdoclit" type="msgns:getUsers" > version="1.0"> > > user/username > > * > > ] > 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 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.