📄 hello.bpel
字号:
<?xml version="1.0" encoding="UTF-8"?><process name="HelloWorld" targetNamespace="http://jbpm.org/examples/hello" xmlns:tns="http://jbpm.org/examples/hello" xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"> <import importType="http://schemas.xmlsoap.org/wsdl/" location="hello.wsdl" namespace="http://jbpm.org/examples/hello" /> <partnerLinks> <partnerLink myRole="Greeter" name="caller" partnerLinkType="tns:Greeter-Caller"> <documentation>establishes the relationship with the caller agent</documentation> </partnerLink> </partnerLinks> <variables> <variable messageType="tns:nameMessage" name="request"> <documentation>holds the incoming message</documentation> </variable> <variable messageType="tns:greetingMessage" name="response"> <documentation>holds the outgoing message</documentation> </variable> </variables> <sequence name="MainSeq"> <receive createInstance="yes" name="ReceiveName" operation="sayHello" partnerLink="caller" portType="tns:Greeter" variable="request"> <documentation>receive the name of a person</documentation> </receive> <assign name="ComposeGreeting" validate="no"> <documentation>compose a greeting phrase</documentation> <copy> <from>concat('Hello, ', $request.name, '!')</from> <to part="greeting" variable="response" /> </copy> </assign> <reply name="SendGreeting" operation="sayHello" partnerLink="caller" portType="tns:Greeter" variable="response"> <documentation>send greeting back to caller</documentation> </reply> </sequence></process>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -