{'fraction_non_alphanumeric': 0.020930232558139535, 'fraction_numerical': 0.009302325581395349, 'mean_word_length': 5.943548387096774, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
BPELGEN: An Algorithm of Automatically Converting from Web Services Composition Plan to BPEL4WS

Service composition is a key issue in the pervasive computing systems of service orientation. Automatically converting web services composition plans into BPEL4WS is an essential step in SASO (Semantic and Automatic Service Orchestration system). In this paper, we employ DAG to represent web services composition plans, and propose an automatic conversion algorithm BPELGEN which automatically converts the DAG into BPEL4WS through dynamic code generation at runtime. There are three main characteristics of the algorithm: (1) automatically converting web services composition plan into BPEL4WS; (2) supporting nested flow process generation; (3) the BPEL4WS generated by the algorithm satisfying data dependency and execution dependency of the composition plan.