servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SM-1193) Cxf Se endpoint should support the interfaceName is null in the incoming exchange
Date Thu, 10 Jan 2008 04:00:46 GMT

     [ 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: [<?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.


Mime
View raw message