Despite having configured and tested the SalesForce connector, I encounter this error when testing a get command using Postman.
Postman get against: Http://localhost:8081/sfdc
returns error "Failed to invoke query"
In the console log, I find the following error:
ERROR 2017-06-09 13:50:29,098 [[apdev-examples].HTTP_Listener_Configuration.worker.01] org.mule.retry.notifiers.ConnectNotifier: Failed to connect/reconnect: Work Descriptor. Root Exception was: Failed to parse detail: START_TAG seen ...... @1:752 due to: com.sforce.ws.ConnectionException: unable to find end tag at: START_TAG seen ...... @1:752. Type: class com.sforce.ws.ConnectionException
ERROR 2017-06-09 13:50:29,102 [[apdev-examples].HTTP_Listener_Configuration.worker.01] org.mule.exception.DefaultMessagingExceptionStrategy:
********************************************************************************
Message : Failed to invoke query.
Payload : {NullPayload}
Payload Type : org.mule.transport.NullPayload
Element : /getSFDCAccountsFlow/processors/0 @ apdev-examples
--------------------------------------------------------------------------------
Root Exception stack trace:
com.sforce.ws.ConnectionException: Failed to parse detail: START_TAG seen ...... @1:752 due to: com.sforce.ws.ConnectionException: unable to find end tag at: START_TAG seen ...... @1:752
Thanks, Jason
Thanks for your responses. The solution ended up being that I was on Java JDK 7, and the Salesforce Connector was only compatible with JDK 8. Pointing Anypoint Studio to JDK 8 resolved the problem.