camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Castyn <>
Subject CXF Endpoint issue
Date Mon, 14 Nov 2011 21:43:12 GMT
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 {}SforceService.

I have the endpoint configured within my camel route file as:

<route id="SalesforceAuthentication">
  	<from uri="timer://sforce?fixedRate=true&amp;period=60000"/>
 	<to uri="velocity://velocity/sforceLogin.vm" />
    	<to uri="cxf:bean:salesforceLogin"/> 
    	<convertBodyTo type="java.lang.String" />
    	<to uri="file:data/sforce?fileName=sforceLoginResponse.xml"/>

and the endpoint declaration itself :


Within my WSDL:
    <service name="SforceService">
        <documentation>Sforce SOAP API</documentation>
        <port binding="tns:SoapBinding" name="Soap">

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:
Sent from the Camel - Users mailing list archive at

View raw message