锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
1.聽聽聽聽聽聽聽
寤虹珛
BPEL
嫻佺▼錛?/span>
BPEL
鏄窡
wsdl(web services)
閫氫俊鐨?/span>
.
2.聽聽聽聽聽聽聽
鍓靛緩涓鍊?/span>
pxe-system.xml
鏂囦歡錛屾弿榪版庨杭妯g秮瀹?/span>
BPEL
嫻佺▼鍒板闅涚殑
JBI
緄勪歡涓?/span>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<system-descriptor name="AsyncProcessSU"
聽 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
聽 xsi:schemaLocation="http://www.fivesight.com/pxe/system-descriptor/ http://www.fivesight.com/pxe/system-descriptor/"
聽 wsdlUri="uri:/AsyncProcess.wsdl"
聽 xmlns="http://www.fivesight.com/pxe/system-descriptor/"
聽 xmlns:proc="uri:com.bptest.process"
聽 xmlns:resp="uri:com.bptest.responder">
聽 <channels>
聽聽聽 <channel name="inboundChannel" />
聽聽聽 <channel name="callbackChannel" />
聽聽聽 <channel name="outboundChannel" />
聽 </channels>
聽 <services>
聽聽聽 <service name="ProcessSVC" provider="uri:jbi" >
聽聽聽聽聽 <properties>
聽聽聽聽聽聽聽 <property name="namespace"
聽聽聽聽聽聽聽聽 value="uri:fivesight.com/examples/AsyncProcessJBI" />
聽聽聽聽聽 </properties>
聽聽聽聽聽 <imports>
聽聽聽聽聽聽聽 <!-- The following port will be registered as a JBI service endpoint
聽聽聽聽聽聽聽
聽聽聽聽聽{uri:fivesight.com/examples/AsyncProcessJBI:ProcessSVC, ProcessPORT}
聽聽聽聽聽聽聽聽聽 -->
聽聽聽聽聽聽聽 <port name="ProcessPORT" type="proc:ProcessPT" channel-ref="inboundChannel"/>
聽聽聽聽聽聽聽 <!-- The following port will be registered as a JBI service endpoint
聽聽聽聽
聽聽聽聽聽聽聽聽{uri:fivesight.com/examples/AsyncProcessJBI:ProcessSVC, CallbackPORT}
聽聽聽聽聽聽聽聽聽 -->
聽聽聽聽聽聽聽 <port name="CallbackPORT" type="resp:CallbackPT" channel-ref="callbackChannel"/>
聽聽聽聽聽 </imports>
聽聽聽 </service>
聽聽聽 <service name="ResponderSVC" provider="uri:jbi" >
聽聽聽聽聽 <properties>
聽聽聽聽聽聽聽 <property name="namespace"
聽聽聽聽聽聽聽聽 value="uri:fivesight.com/examples/AsyncProcessJBI" />
聽聽聽聽聽 </properties>
聽聽聽聽聽 <exports>
聽聽聽聽聽聽聽 <!-- The following port will invoke JBI service endpoint
聽聽聽聽聽聽聽聽聽聽聽聽 {uri:fivesight.com/examples/AsyncProcessJBI:ResponderSVC, ResponderPORT}
聽聽聽聽聽聽聽聽聽 -->
聽聽聽聽聽聽聽 <port name="ResponderPORT" type="resp:ResponderPT" channel-ref="outboundChannel"/>
聽聽聽聽聽 </exports>
聽聽聽 </service>
聽聽聽 <service name="ProcessSync.BpelService" provider="uri:bpel">
聽聽聽聽聽 <properties>
聽聽聽聽聽聽聽 <property name="compiledProcess" value="AsyncProcess.cbp"/>
聽聽聽聽聽 </properties>
聽聽聽聽聽 <imports>
聽聽聽聽聽聽聽 <port name="AsyncResponder.Responder" type="resp:ResponderPT" channel-ref="outboundChannel"/>
聽聽聽聽聽 </imports>
聽聽聽聽聽 <exports>
聽聽聽聽聽聽聽 <port name="Client.Process" type="proc:ProcessPT" channel-ref="inboundChannel"/>
聽聽聽聽聽聽聽 <port name="AsyncResponder.Caller" type="resp:CallbackPT" channel-ref="callbackChannel"/>
聽聽聽聽聽 </exports>
聽聽聽 </service>
聽 </services>
</system-descriptor>
3.聽聽聽聽聽聽聽
鎶?/span>
pxe-system.xml
鍜?/span>
BPEL
銆?/span>
wsdl
鏂囦歡鎵撳寘鎴?/span>
pxe.sar
鏂囦歡
.
4.聽聽聽聽聽聽聽
JBI
鐧間綀緄勪歡鏄竴鍊?/span>
zip
鏂囦歡錛屾墍浠ユ妸鍓涙墠鐨?/span>
.sar
鍦ㄦ墦鍖呮垚
.zip
5.聽聽聽聽聽聽聽
鍓靛緩
jbi.xml
鏂囦歡
.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<jbi version="1"
聽 xsi:schemaLocation="http://java.sun.com/xml/ns/jbi聽 ./jbi.xsd"
聽 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
聽 xmlns="http://java.sun.com/xml/ns/jbi">
聽 <service-assembly>
聽聽聽 <identification>
聽聽聽聽聽 <name>AsyncProcessSA</name>
聽聽聽聽聽 <description>Service Assembly containing just the BPEL deployment.</description>
聽聽聽 </identification>
聽聽聽 <service-unit>
聽聽聽聽聽 <identification>
聽聽聽聽聽聽聽 <name>AsyncProcessSU</name>
聽聽聽聽聽聽聽 <description>BPEL Service Unit</description>
聽聽聽聽聽 </identification>
聽聽聽聽聽 <target>
聽聽聽聽聽聽聽 <artifacts-zip>AsyncProcess-su.zip</artifacts-zip>
聽聽聽聽聽聽聽 <component-name>PxeBpelEngine</component-name>
聽聽聽聽聽 </target>
聽聽聽 </service-unit>
聽 </service-assembly>
</jbi>
6.
鎶?/span>
jbi.xml
鍜岀浜旀寰楀埌鐨?/span>
zip
涓璧鋒墦鍖呮垚涓鍊?/span>
service Assembly(SA)
7.
鍦ㄥ壍寤轟竴鍊?/span>
servicemix.xml
鏂囦歡鐢ㄤ締閬嬭
JBI container