You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/10/07 09:00:53 UTC

[jira] Updated: (SM-1193) Cxf Se endpoint should support the interfaceName is null in the incoming exchange

     [ https://issues.apache.org/activemq/browse/SM-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated SM-1193:
--------------------------------

    Component/s: servicemix-cxf-se

> 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
>          Components: servicemix-cxf-se
>    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: [<?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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.