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
> 


-----
--- 
Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence 
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
--- 
+1-972-304-9084 (Office) 
+1-972-971-1700 (Mobile) 
---- 
Blog: http://opensourceknowledge.blogspot.com/


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

Reply via email to