On Tue, Feb 26, 2013 at 4:31 AM, sarfaraj <sarfarajsay...@gmail.com> wrote: > I am using wsdl2java plugin (below) to generate the web service client. And > used java code(in one of the processor i.e. prepareBulkGetRequest) to get > the result. >
Camel does NOT support Axis out of the box with a Camel component for that. Instead we have all these components http://camel.apache.org/components And for WS we have CXF or Spring-WS. If you want to use Axis with Camel then use a Java Bean to integrate with Axis from regular Java code. And let Camel integrate with the bean http://camel.apache.org/bean We have an old tutorial on using Axis with Camel in this kind I said above http://camel.apache.org/tutorial-axis-camel.html >>>>>>>>>>>>>plugin>>>>>>>>>> > <plugin> > <groupId>org.codehaus.mojo</groupId> > > <artifactId>axistools-maven-plugin</artifactId> > <version>1.4</version> >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > > And In camel context I did > > <camelContext xmlns="http://camel.apache.org/schema/spring"> > <route > > > > <from uri="file:src/input?noop=true" /> > > > <unmarshal> > <csv /> > </unmarshal> > > > <to uri="bean:csvHandler?method=doHandleCsvData" /> > > <to uri="bean:prepareBulkGetRequest" /> > <log message="${body}" /> > </route> > > In beans i have > > <beans xmlns="http://www.springframework.org/schema/beans" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:cxf="http://camel.apache.org/schema/cxf" > xmlns:camel="http://cxf.apache.org/transports/camel" > xmlns:jaxws="http://cxf.apache.org/jaxws" > xmlns:osgix="http://www.springframework.org/schema/osgi-compendium" > > xsi:schemaLocation=" > http://camel.apache.org/schema/cxf > http://camel.apache.org/schema/cxf/camel-cxf.xsd > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd > http://camel.apache.org/schema/spring > http://camel.apache.org/schema/spring/camel-spring.xsd > http://cxf.apache.org/transports/camel > http://cxf.apache.org/transports/camel.xsd > http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd > http://www.springframework.org/schema/osgi-compendium > http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd > http://www.springframework.org/schema/context > http://www.springframework.org/schema/context/spring-context.xsd > > "> > > Is there any issue with beans ? do i need to remove some of the beans from > above tag ? > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/OSGI-axis-1-4-jar-tp5728065p5728143.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen