Sample-06-ExternalInteraction-SalesforceWebServices

I am trying to connect to SFDC via the instructions in the sample solutions that are included with Clover. I followed all of the directions in 06-Graph-1.grf including updating the credentials in the Request Body Structure. Here is the error from the Console:

ERROR [main] - Error during graph initialization !
Element [1343738314141:example08_1]-Phase 0 can’t be initialized.
at org.jetel.graph.TransformationGraph.init(TransformationGraph.java:477)
at org.jetel.graph.runtime.EngineInitializer.initGraph(EngineInitializer.java:272)
at org.jetel.graph.runtime.EngineInitializer.initGraph(EngineInitializer.java:239)
at org.jetel.main.runGraph.runGraph(runGraph.java:377)
at org.jetel.main.runGraph.main(runGraph.java:341)
Caused by: LOG_INTO_SALESFORCE …FATAL ERROR !
at org.jetel.graph.Phase.init(Phase.java:182)
at org.jetel.graph.TransformationGraph.init(TransformationGraph.java:475)
… 4 more
Caused by: org.jetel.exception.JetelRuntimeException: java.lang.NoClassDefFoundError: com/ibm/wsdl/util/xml/DOM2Writer
… 6 more

I have the WSDL URL set like this: ${DATAIN_DIR}/wsdl_jsp.xml …This is the file I downloaded from SDFC using the admin credentials. I don’t think this is the problem though.

I downloaded the jar file from http://mvnrepository.com/artifact/com.f … /force-wsc, but I’m not even sure if that is the missing piece here.

Are there some java and/or Clover specific configurations here that I don’t know about? I’m thinking maybe there are some java libraries in that jar file that this graph needs to read?

Tom

Hi, Tom,

You are not supposed to download anything. Everything you need is prepared in the example jobflow. You should just fill in your credentials in 06-Graph-1.grf and then run the jobflow 06-ExternalInteraction-SalesforceWebServices.jbf

I guess it would be also good to mention that password consist of your password concatenated with security token. There is no “+” sign there as the description could imply.

Best regards,

Thank you, Lubus. The job and Graph1 are running without any uptrapped errors now, and by that I mean the job starts successfully but I’m still not able to connect to SFDC. I’m getting: INVALID_LOGIN: Invalid username, password, security token; or user locked out.

I’m using the token, and the token is a good token because I’m able to use it in another application that requires the SFDC token. I just can’t get the login to work with Clover. I think this is a SFDC issue and not a problem with the Sample-06 clover app.

I got the sample graph working. I was overthinking things, thank you for taking the time to anser my post.

Tom