<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Java 人生

    java (Java EE)&Linux

    BlogJava 首頁 新隨筆 聯系 聚合 管理
      15 Posts :: 2 Stories :: 5 Comments :: 0 Trackbacks

    一.??? servicemix 中實現 JBI 組件調用 BPEL 的步驟 .

    1.??????? 建立 BPEL 流程, BPEL 是跟 wsdl(web services) 通信的 .

    2.??????? 創建一個 pxe-system.xml 文件,描述怎麼樣綁定 BPEL 流程到實際的 JBI 組件中。

    <?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.??????? pxe-system.xml BPEL wsdl 文件打包成 pxe.sar 文件 .

    4.??????? JBI 發佈組件是一個 zip 文件,所以把剛才的 .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. jbi.xml 和第五步得到的 zip 一起打包成一個 service Assembly(SA)
    7.
    在創建一個 servicemix.xml 文件用來運行 JBI container

    posted on 2006-04-18 20:33 jinmy liao 閱讀(960) 評論(0)  編輯  收藏 所屬分類: SOA

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 成人网站免费大全日韩国产| 亚洲人成无码网站在线观看| 一级毛片a免费播放王色| 女人18毛片水真多免费播放| 亚洲国产成人久久精品app| 99久久综合精品免费| 水蜜桃亚洲一二三四在线 | 亚洲色丰满少妇高潮18p| 91精品国产免费久久久久久青草| 亚洲视频在线观看| 国产精品免费一区二区三区四区| 精品国产_亚洲人成在线高清| 两个人的视频www免费| 久久久亚洲精品国产| 99免费观看视频| 亚洲国产成人精品无码一区二区 | 亚洲国产精华液2020| 日本二区免费一片黄2019| 亚洲AV电影天堂男人的天堂| 日韩免费观看的一级毛片| 一级毛片免费一级直接观看| 亚洲一区二区三区自拍公司| 午夜免费福利视频| jlzzjlzz亚洲jzjzjz| 国产精品免费播放| 一级毛片高清免费播放| 人人狠狠综合久久亚洲婷婷| 91精品国产免费| 亚洲AV无码成人专区| 免费一级毛片在线观看| 中文字幕无码免费久久9一区9| 亚洲Aⅴ无码专区在线观看q| 日本一区二区三区免费高清| 美女扒开屁股让男人桶爽免费| 青青草原亚洲视频| 97视频免费在线| 免费看一级一级人妻片| 亚洲的天堂av无码| 免费人妻av无码专区| 日韩免费视频一区二区| 亚洲av第一网站久章草|