You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2008/01/10 04:36:45 UTC

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

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.


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

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on SM-1193 started by Freeman Fang.

> 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.


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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s: servicemix-cxf-se-2008.01

> 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, servicemix-cxf-se-2008.01
>
>
> 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.


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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Freeman Fang (JIRA)" <ji...@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: [<?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.