thanks Ashwin, for the respone , 
But this approach,  we need to code rather than a xbean configuration. 

but it was good input  for us to use few other places , 

thanks  
Brijesh N K


Ashwin Karpe wrote:
> 
> Hi Brijesh,
> 
> I am assuming that the SMX-bean2 is a CXF-SE.
> 
> If so, You do not need to configure an EIP to do this.
> 
> However in SMX-bean1, you do need to set the service, operation and
> interface in the Message Exchange received so that the Message Exchange is
> next directed to the CXF-SE. 
> 
>              private String wsNamespace = "http://foo.bar.com/xxx";;
>       private QName svc = new QName(wsNamespace,"MyWebServiceName");
>       private QName ifc = new 
> QName(wsNamespace,"MyWebServiceRemoteInterface");
>       private QName operation = new QName(wsNamespace,"MyWebServiceOp");
> 
>             me.setService(svc);
>             me.setInterfaceName(ifc);
>             me.setOperation(operation);
>             channel.sendSync(me);
> 
> Obviously in the CXF-SE you can then call out to an EJB or do whatever
> else you need to do in the operation invoked in the Web Service
> Implementation.
> 
> Hope this helps.
>  
> Cheers,
> 
> Ashwin...
> 
> 
> brijesh wrote:
>> 
>> hello, 
>> 
>> I have following configuration 
>> 
>> first one for cxf-bc for giving http binding component, second one
>> smx-bean for substituting xml element  from database, third one is
>> calling actual ejb from my application.  
>> 
>> cxf-bc-->smx-bean1-->smx-bean2
>> 
>> is it possoble to configure in xbean of smx-bean1 to give targetService
>> as smx-bean2(for passing control from smx-bean1 to smx-bean2). 
>> 
>> if not , do we need to have eip to configure to achive this?
>> 
>> 
>> thanks 
>> 
>> Brijesh N K
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/smx-bc-tp21249850p21274083.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to