I have this excerpt from a Camel route in blueprint XML: <bean id="crewService" class="my.package.path.CrewService"/> <route> <from uri="seda:from_rraa"/> .... <bean ref="crewService" method="translateTo"/> ... </route>
> -----Original Message----- > From: Kasim Sert (Ibtech-Software Infrastructure) > [mailto:kasim.s...@ibtech.com.tr] > Sent: Tuesday, November 17, 2015 4:23 AM > To: users@camel.apache.org > Subject: Using BeanInvocation in camel cxf > > Hi, > > I am trying to develop a framework to invoke different web services based > on their db definitions of SEI names and web method names and parameters > etc. > > To make this I found how to generate and BeanInvocation object from > current web service definition. However I could not find any example on how > to invoke this beaninvocation object. > > Should it be something like : > > From(direct:start) > .bean(BeanInvocation,"invoke") > > When I try this I get null pointer and even I dont know if this is right way > to > go. > > Can anybody send an example usage on camel routes please ? > > > [Facebook]<http://www.facebook.com/Finansbank> [Twitter] > <http://twitter.com/finansbank> > > [https://www.finansbank.com.tr/Disclaimer/BannerImages.aspx?date=17.11 > .201511:2300]<https://www.finansbank.com.tr/Disclaimer/Bannerlink.aspx? > date=17.11.201511:2300> > > > Bu e-posta'n?n i?erdi?i bilgiler (ekleri dahil olmak ?zere) gizlidir. Onay?m?z > olmaks?z?n ???nc? ki?ilere a?iklanamaz. Bu mesaj?n g?nderilmek istendi?i > ki?i de?ilseniz, l?tfen mesaj? sisteminizden derhal siliniz. IBTech A.?. bu > mesaj?n i?erdi?i bilgilerin do?rulu?u veya eksiksiz oldu?u konusunda bir > garanti vermemektedir. Bu nedenle bilgilerin ne ?ekilde olursa olsun > i?eri?inden, iletilmesinden, al?nmas?ndan, saklanmas?ndan sorumlu de?ildir. > Bu mesaj?n i?eri?i yazar?na ait olup, IBTech A.?.'nin g?r??lerini > i?ermeyebilir. > > The information contained in this e-mail (including any attachments)is > confidential. It must not be disclosed to any person without our authority. If > you are not the intended recipient, please delete it from your system > immediately. IBTech A.S. makes no warranty as to the accuracy or > completeness of any information contained in this message and hereby > excludes any liability of any kind for the information contained therein or > for > the information transmission, reception, storage or use of such in any way > whatsoever. Any opinions expressed in this message are those of the author > and may not necessarily reflect the opinions of IBTech A.S.