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] [Commented] (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:comment-tabpanel&focusedCommentId=16108417#comment-16108417 ] 

Andrea Cosentino commented on CAMEL-11619:
------------------------------------------

Use the users mailing list please.

>  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&amp;messageProtocol=SOAP&amp;operation=querySync&amp;receiveTimeOut=60000&amp;alias=sfsf_ace2048_cred&amp;batchSize=200&amp;address=https://api.sf.com/sfapi/v1/soap&amp;queryMode=NORMAL&amp;query=SELECT custom10, custom08, compensationSalaryEligible, compensationBonusEligible, cellPhone, benchStrength FROM User&amp;trustManagers=#sfsfTrustManagers&amp;sfsfServiceProvider=#sfsfServiceProvider&amp;secureStore=#sfsfSecureStore&amp;bus=#sfsfBus&amp;usrDefinedNamespaceMap=#userdefinedNamespaces"/>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)