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 90EF697AD for ; Tue, 15 Nov 2011 02:16:08 +0000 (UTC) Received: (qmail 31157 invoked by uid 500); 15 Nov 2011 02:16:08 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 31122 invoked by uid 500); 15 Nov 2011 02:16:08 -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 31114 invoked by uid 99); 15 Nov 2011 02:16:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 02:16:08 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of willem.jiang@gmail.com designates 209.85.213.45 as permitted sender) Received: from [209.85.213.45] (HELO mail-yw0-f45.google.com) (209.85.213.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 02:16:03 +0000 Received: by ywa17 with SMTP id 17so3859036ywa.32 for ; Mon, 14 Nov 2011 18:15:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=86Hmt2OfrGAmcV3gwUKsLwacvLyWcNUGxzwTpDFbb2A=; b=KjQ8sWNU5YjckmXYEp1A2NBJdcN0VUvIqa4XJCDGXQAYUa7fMMeDN3VXvmIw0eO4gC Xys7Uybb7OAKXKfS9CKOPTjmt1Pwsnrv454CwAvtSe2pTbHRs+wA33rWw6EdeQcDFwVM iACJJPPov6iJMbpCTyS14nfh5ej2oPN7V0a1E= Received: by 10.68.28.133 with SMTP id b5mr55038677pbh.28.1321323342417; Mon, 14 Nov 2011 18:15:42 -0800 (PST) Received: from [192.168.0.158] ([125.34.10.29]) by mx.google.com with ESMTPS id f1sm52869188pba.7.2011.11.14.18.15.39 (version=SSLv3 cipher=OTHER); Mon, 14 Nov 2011 18:15:40 -0800 (PST) Message-ID: <4EC1CB48.80900@gmail.com> Date: Tue, 15 Nov 2011 10:15:36 +0800 From: Willem Jiang User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: users@camel.apache.org Subject: Re: CXF Endpoint issue References: <1321306992227-4992556.post@n5.nabble.com> In-Reply-To: <1321306992227-4992556.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Can you try to specify the serviceName and endpointName attribute of the CxfEndpoint ? On Tue Nov 15 05:43:12 2011, Castyn wrote: > Greetings, I am running into an issue when deploying a simple camel route > within servicemix that contains a cxf endpoint. I am getting the following > error. I saw some previous posts on this but I checked over everything > suggested in them and can't find the discrepency. > > org.apache.camel.FailedToCreateProducerException: Failed to create Producer > for endpoint: Endpoint[cxf://bean:salesforceLogin]. Reason: > org.apache.cxf.service.factory.ServiceConstructionException: Could not find > definition for service {http://enterprise.soap.sforce.com/}SforceService. > > I have the endpoint configured within my camel route file as: > > > > > > > > > > and the endpoint declaration itself : > > id="salesforceLogin" > address="https://test.salesforce.com/services/Soap/c/22.0" > wsdlURL="wsdl/sfdc.wsdl" > serviceClass="com.sforce.soap.enterprise.SforceService"> > > > > Within my WSDL: > > > Sforce SOAP API > > location="https://test.salesforce.com/services/Soap/c/22.0"/> > > > > It seems like everything matches, but since I keep hitting this issue > apparently it does not. Anyone have any idea what would be causing this? > > -- > View this message in context: http://camel.465427.n5.nabble.com/CXF-Endpoint-issue-tp4992556p4992556.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Weibo: willemjiang