[ 
https://issues.apache.org/activemq/browse/SM-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41732#action_41732
 ] 

Freeman Fang commented on SM-1279:
----------------------------------

Hi Ron,

I believe this is similiar problem as Johan's EIP SRS, we need specify the 
operation in exchange-target.
I paste what's in mailing list to answer Johan's problem here

I will close this issue now, if you find any problem just reopen it.

Thanks

====================
Hi Johan,

I just go through the EIP component code, fortunately you can specify the 
operation for your EIP SRS, so your EIP SRS configuration should like
<eip:static-routing-slip service="front:routingSlip" endpoint="endpoint">
 <eip:targets>
   <eip:exchange-target service="front:GetCustomerService"
interface="front:GetCustomerPortType" operation="front:GetCustomer"/>
 </eip:targets>
</eip:static-routing-slip>     
Here I assume you define namespace front as 
http://www.exampleURI.com/GetCustomer
Would you please try with this configuration, this should work.


> CXF SE throws NPE on receipt of message from an EIP component
> -------------------------------------------------------------
>
>                 Key: SM-1279
>                 URL: https://issues.apache.org/activemq/browse/SM-1279
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-cxf-se
>    Affects Versions: 3.2.1
>            Reporter: Ron Gavlin
>            Assignee: Freeman Fang
>            Priority: Critical
>
> CXF SE throws NPE on receipt of message from an EIP component. In order to 
> reproduce easily, modify the cxf-wsdl-first sample application by adding a 
> servicemix-file SU with a poller/sender and a servicemix-eip:pipeline SU. 
> Wire the file:poller to the eip:pipeline to both the cxf-se endpoint and the 
> file:sender. Then create a file in the file:poller whose contents contains a 
> jbi-wrapped cxf-wsdl-first request. The error generated is identical to the 
> error generated by the following scenario: cxf-bc -> eip:staticRecipientList 
> -> cxf-se. That scenario is described in the following mailing list entry 
> http://www.nabble.com/cxfbc-eip-cxfse-problem-td16026202s12049.html.

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

Reply via email to