Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D10C011520 for ; Fri, 27 Jun 2014 09:27:30 +0000 (UTC) Received: (qmail 62480 invoked by uid 500); 27 Jun 2014 09:27:30 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 62429 invoked by uid 500); 27 Jun 2014 09:27:30 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 62414 invoked by uid 99); 27 Jun 2014 09:27:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2014 09:27:30 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of tanteanni@hotmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2014 09:27:28 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1X0SQx-0004AS-QC for users@camel.apache.org; Fri, 27 Jun 2014 02:27:03 -0700 Date: Fri, 27 Jun 2014 02:27:03 -0700 (PDT) From: dermoritz To: users@camel.apache.org Message-ID: <1403861223802-5752939.post@n5.nabble.com> In-Reply-To: References: <1403814608310-5752910.post@n5.nabble.com> <1403851767036-5752932.post@n5.nabble.com> Subject: =?UTF-8?Q?Re:_Error_on_using_camel_cxf_?= =?UTF-8?Q?"No_binding_factory=E2=80=A6_http://s?= =?UTF-8?Q?chemas.xmlsoap.org/soap/_registered_(but_works_in_eclipse)?= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks for quick reply. My main looks as follows: public static void main(final String... args) throws Exception { Injector i; if (args.length < 1 || Strings.isNullOrEmpty(args[0])) { i = Guice.createInjector(new CepModule()); } else { i = Guice.createInjector(new CepModule(args[0])); } OurMain main = i.getInstance(OurMain.class); // eliminates logging to java.util.logger SLF4JBridgeHandler.removeHandlersForRootLogger(); // redirects all java.util.logger stuff to slf4j SLF4JBridgeHandler.install(); //i.getInstance(RouteControl.class).startAll(); main.enableHangupSupport(); main.run(); } As i said before i have a "@Test" that just runs this method with same configuration in Eclipse and this works fine. I read many links regarding this error. Often i read something about cxf.xml (which is present in META-INF/cxf) and/or a camel-cxf.xml. Do i need this? The line with "startAll" is commented out and related to this question: http://stackoverflow.com/questions/24427765/camel-getroutes-returns-empty-list-how-to-implement-a-route-controller -- View this message in context: http://camel.465427.n5.nabble.com/Error-on-using-camel-cxf-No-binding-factory-http-schemas-xmlsoap-org-soap-registered-but-works-in-ec-tp5752910p5752939.html Sent from the Camel - Users mailing list archive at Nabble.com.