// find whether its Streaming
List<NodeImpl> nodes = this.graph.getNodes();
Node activeNode = null;
String operationName = null;
BPELScript script = null;
script = new BPELScript(this);
ODEWSDLTransformer wsdlTransformer = new ODEWSDLTransformer();
script.create(BPELScriptType.BPEL2);
this.odeProcess = script.getGpelProcess();
this.odeProcess.setTargetNamespace(XBayaConstants.LEAD_NS);
WsdlDefinitions abstractWorkflowWsdl = script.getWorkflowWSDL().getWsdlDefinitions();
this.odeWorkflowWSDL = abstractWorkflowWsdl;
try {
this.odeInvokableWSDL = WSDLUtil.stringToWSDL(abstractWorkflowWsdl.xmlString());
wsdlTransformer.makeWorkflowWSDLConcrete(this.odeInvokableWSDL, this.getName(), dscUrl);
wsdlTransformer.setOdeLocation(odeEprEndingWithPort, this.getName(), this.odeInvokableWSDL);
this.odeWsdlMap = new HashMap<String, WsdlDefinitions>();
Collection<XmlElement> itr = script.getWSDLs();
for (XmlElement xmlElement : itr) {
WsdlDefinitions wsdl = WSDLUtil.stringToWSDL(XmlConstants.BUILDER.serializeToString(xmlElement));
String id = xmlElement.attributeValue(NS_XWF, ID_ATTRIBUTE);
if (id == null || id.length() == 0) {
// xwf up to 2.2.6_2 doesn't have ID.