You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2017/08/01 05:59:02 UTC
[jira] [Assigned] (CAMEL-11619) Failed to resolve endpoint: No
type converter available to convert from type: java.lang.String to the
required type: org.apache.cxf.Bus with value #sfsfBus
[ https://issues.apache.org/jira/browse/CAMEL-11619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino reassigned CAMEL-11619:
----------------------------------------
Assignee: Andrea Cosentino
> Failed to resolve endpoint: No type converter available to convert from type: java.lang.String to the required type: org.apache.cxf.Bus with value #sfsfBus
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-11619
> URL: https://issues.apache.org/jira/browse/CAMEL-11619
> Project: Camel
> Issue Type: Bug
> Components: camel-cxf
> Affects Versions: 2.17.4
> Reporter: Deepak
> Assignee: Andrea Cosentino
>
> Hi,
> We have built a custom soap adapter which uses apache camel cxf as a medium for communication. we are now getting the error. this has worked before and there was no change in camel version.
> Below is the error:
> Failed to resolve endpoint: soapadapter://EmpEmploymentTermination?address=https://api.sf.com/sfapi/v1/soap&alias=SFSF_T1&batchSize=200&bus=#sfsfBus&entity=EmpEmploymentTermination&id=EmpTerminationSFEmpTerminationReceiver&messageProtocol=SOAP&operation=querySync&query=SELECT+lastDateWorked,+last_modified_on,+end_date,+person_id_external+FROM+EmpEmploymentTermination&queryMode=NORMAL&receiveTimeOut=60000&secureStore=#sfsfSecureStore&sfsfServiceProvider=#sfsfServiceProvider&trustManagers=#sfsfTrustManagers&usrDefinedNamespaceMap=#userdefinedNamespaces due to: Could not find a suitable setter for property: bus as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: java.lang.String to the required type: org.apache.cxf.Bus with value #sfsfBus]], cause: java.lang.IllegalArgumentException: Could not find a suitable setter for property: bus as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: java.lang.String to the required type: org.apache.cxf.Bus with value #sfsfBus
> Spring Beans.xml
> <cxfcore:bus bus="sfsfBus" id="de1"/>
> <camel:to uri="soapadapter:User?entity=User&messageProtocol=SOAP&operation=querySync&receiveTimeOut=60000&alias=sfsf_ace2048_cred&batchSize=200&address=https://api.sf.com/sfapi/v1/soap&queryMode=NORMAL&query=SELECT custom10, custom08, compensationSalaryEligible, compensationBonusEligible, cellPhone, benchStrength FROM User&trustManagers=#sfsfTrustManagers&sfsfServiceProvider=#sfsfServiceProvider&secureStore=#sfsfSecureStore&bus=#sfsfBus&usrDefinedNamespaceMap=#userdefinedNamespaces"/>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)