Did you checked our examples? For example the camel-example-cxf at [1]... [1] https://git-wip-us.apache.org/repos/asf?p=camel.git;a=tree;f=examples/camel-example-cxf;h=499a63ad4d9df483f503e50a4131aedc822d40eb;hb=HEAD
Best, Christian ----------------- Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/642 On Tue, Sep 16, 2014 at 7:29 PM, techybolek <techy_bo...@yahoo.com> wrote: > I'm able to run most camel scenarios as a stand-alone java application > indicating org.apache.camel.spring.Main as the main function. Spring Main > automatically locates the xml bean file and initializes the camel context > and the camel routes. I find it very convenient for quick testing an > debugging. > However, I could not get the cxf web service endpoints to work that way. > The > application builds and launches correctly and the routes that don't include > the cxf web service endpoints work fine. Also when I deploy the application > to Service Mix the web service endpoint works fine too. > > Is there any way to get the web service endpoints to work in a standalone > java application? I'd expect it should be doable, I'd just need to somehow > initialize the jetty servlet or something... > Thanks, Thomas > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-run-a-camel-aplication-with-a-cxf-web-service-outside-of-osgi-container-tp5756600.html > Sent from the Camel - Users mailing list archive at Nabble.com. >