String id = inputNode.getID();
String value = inputNode.getDefaultValue().toString();
inputNameVals[i].setName(id);
inputNameVals[i].setValue(value);
}
XBayaConfiguration configuration = engine.getConfiguration();
String myProxyUsername = configuration.getRegistryUserName();
String myProxyPass = configuration.getRegistryPassphrase();
//todo we need to add the workflowContext header in the message
WorkflowContextHeaderBuilder builder = new WorkflowContextHeaderBuilder(configuration.getBrokerURL().toASCIIString(),
configuration.getGFacURL().toASCIIString(),configuration.getRegistryURL().toASCIIString(),configuration.getTopic()
,null,configuration.getMessageBoxURL().toASCIIString());
stub._getServiceClient().addHeader(AXIOMUtil.stringToOM(XMLUtil.xmlElementToString(builder.getXml())));
stub.launchWorkflow(workflow.toXMLText(), topicString,inputNameVals);
engine.getConfiguration().getJcrComponentRegistry().getRegistry().saveWorkflowExecutionName(topicString, instanceNameFinal);
} catch (Exception e) {
WorkflowInterpreterLaunchWindow.this.engine.getGUI().getErrorWindow().error(e);