Uploaded image for project: 'Camel'
  1. Camel
  2. 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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.17.4
    • Fix Version/s: None
    • Component/s: camel-cxf
    • Labels:
      None
    • Estimated Complexity:
      Unknown
    • Regression:
      Regression

      Description

      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&amp;queryMode=NORMAL&amp;query=SELECT custom10, custom08, compensationSalaryEligible, compensationBonusEligible, cellPhone, benchStrength FROM User&trustManagers=#sfsfTrustManagers&sfsfServiceProvider=#sfsfServiceProvider&secureStore=#sfsfSecureStore&bus=#sfsfBus&usrDefinedNamespaceMap=#userdefinedNamespaces"/>

        Attachments

          Activity

            People

            • Assignee:
              acosentino Andrea Cosentino
              Reporter:
              deepaktaker Deepak
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: