//get PartnerLinks
TPartnerLinks iPLs = iNetToolSpec.addNewPartnerLinks();
Iterator<Partnerlink> plist = petrinetModel.getElementContainer().getPartnerlinkList().getPartnerlinkList().iterator();
while (plist.hasNext()){
Partnerlink link = plist.next();
org.woped.pnml.TPartnerLink iPL = iPLs.addNewPartnerLink();
iPL.setName(link.getName());
iPL.setPartnerLinkType(link.getPartnerlinkTypeByQName());
iPL.setPartnerRole(link.getPartnerlinkRole());
iPL.setMyRole(link.getMyRole());
iPL.setWSDL(link.getWsdlUrl());
}
//get Variables
TVariables iVs = iNetToolSpec.addNewVariables();
int VarCounter=0;