iPL.setMyRole(link.getMyRole());
iPL.setWSDL(link.getWsdlUrl());
}
//get Variables
TVariables iVs = iNetToolSpec.addNewVariables();
int VarCounter=0;
while (petrinetModel.getElementContainer().getVariableList().getBpelCode().sizeOfVariableArray()>VarCounter){
org.woped.pnml.TVariable iVar = iVs.addNewVariable();
iVar.setName(petrinetModel.getElementContainer().getTVariablesList().getVariableArray(VarCounter).getName());
iVar.setType(petrinetModel.getElementContainer().getTVariablesList().getVariableArray(VarCounter).getType());
VarCounter++;
}