LEADWorkflowInvoker invoker = null;
try {
WsdlDefinitions wsdl = workflow.getOdeInvokableWSDL(configuration.getDSCURL(), configuration.getODEURL());
LeadContextHeader leadContext = WSDLUtil.buildLeadContextHeader(this.engine,
monitorConfiguration, StringUtil.convertToJavaIdentifier(engine
.getWorkflow().getName()),resourceMapping);
///////////////////////////////////////
leadContext.setExperimentId(monitorConfiguration.getTopic());
//////////////////////////////////////////////////////////////
URI messageBoxURL = null;
if (monitorConfiguration.isPullMode()) {
messageBoxURL = monitorConfiguration.getMessageBoxURL();
}
// create an invoker with LEAD Context
GsiInvoker secureInvoker = null;
if (this.engine.getWorkflowClient().isSecure()) {
MyProxyClient myProxyClient = this.engine.getMyProxyClient();
secureInvoker = new GsiInvoker(myProxyClient.getProxy(),
XBayaSecurity.getTrustedCertificates());
leadContext.setScmsUrl(URI.create("https://tyr12.cs.indiana.edu:60443/SCMS?wsdl"));
}
invoker = new LEADWorkflowInvoker(wsdl, leadContext, messageBoxURL,