⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 counter.bpel

📁 bpel执行引擎用来执行bpel业务流程
💻 BPEL
字号:
<?xml version="1.0"?><!--  ~ Licensed to the Apache Software Foundation (ASF) under one  ~ or more contributor license agreements.  See the NOTICE file  ~ distributed with this work for additional information  ~ regarding copyright ownership.  The ASF licenses this file  ~ to you under the Apache License, Version 2.0 (the  ~ "License"); you may not use this file except in compliance  ~ with the License.  You may obtain a copy of the License at  ~  ~    http://www.apache.org/licenses/LICENSE-2.0  ~  ~ Unless required by applicable law or agreed to in writing,  ~ software distributed under the License is distributed on an  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY  ~ KIND, either express or implied.  See the License for the  ~ specific language governing permissions and limitations  ~ under the License.  --><b:process xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"           xmlns:xsd="http://www.w3.org/2001/XMLSchema"           xsi:schemaLocation="http://docs.oasis-open.org/wsbpel/2.0/process/executable http://docs.oasis-open.org/wsbpel/2.0/CS01/process/executable/ws-bpel_executable.xsd"           xmlns:b="http://docs.oasis-open.org/wsbpel/2.0/process/executable"           name="counter"           xmlns:t="http://example.com/bpel/counter"           targetNamespace="http://example.com/bpel/counter">    <b:import importType="http://schemas.xmlsoap.org/wsdl/"              location="counter.wsdl"              namespace="http://example.com/bpel/counter" />    <b:partnerLinks>        <b:partnerLink name="operations" partnerLinkType="t:plink" myRole="me" />    </b:partnerLinks>    <b:variables>        <b:variable name="counter" messageType="t:responseMessage" />        <b:variable name="initiation" messageType="t:requestMessage" />    </b:variables>    <b:sequence>        <b:receive partnerLink="operations" createInstance="yes" operation="initialize" portType="t:port"                   variable="initiation">        </b:receive>        <b:assign>            <b:copy>                <b:from>0</b:from>                <b:to variable="counter" part="value"></b:to>            </b:copy>        </b:assign>        <b:while>            <b:condition>10 &gt; $counter.value</b:condition>            <b:sequence>                <b:assign>                    <b:copy>                        <b:from>$counter.value+1</b:from>                        <b:to>$counter.value</b:to>                    </b:copy>                </b:assign>            </b:sequence>        </b:while>        <b:reply partnerLink="operations" operation="initialize" variable="counter"/>    </b:sequence></b:process>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -