camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Cosentino (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (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
Date Tue, 01 Aug 2017 05:59:02 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-11619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrea Cosentino resolved CAMEL-11619.
--------------------------------------
    Resolution: Invalid

>  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)

Mime
View raw message