我使用Wso2 BPS編寫異步工作流。要關聯請求和回調,我使用請求中的元素和回調中的屬性。相關器的定義是:無法使用屬性關聯消息使用wso2 bpel
對於請求
<的bpws:屬性名= 「correlatorProp」 類型= 「XS:字符串」/> <的bpws:propertyAlias propertyName的=「TNS:correlatorProp 「爲messageType =」 WS-DRT:PUSHIN」份= 「PARAMS」>
<的bpws:查詢> <![CDATA [/ DRT型:資源/ RES:資源/ RES:的uuid]]> </PWS :query>
</bpws:p ropertyAlias>回調:
<的bpws:propertyAlias propertyName的= 「TNS:correlatorProp」 爲messageType = 「WS-dpalert:PUSHIN」 份= 「PARAMS」> <的bpws:查詢> < [ CDATA [@conversationId]]> < /的bpws:查詢>
< /的bpws:propertyAlias>
然後我測試這個工作流程與以下請求/回調
請求 < soapenv:信封的xmlns:soapenv = 「http://schemas.xmlsoap.org/soap/envelope/」> < soapenv:車身> <類型:推的xmlns:RES =「HTTP ://esa.int/sais-dpc/schema/resource「timestamp =」2001-12-17T09:30:47.0Z「sequenceNumber =」1「lastResponse =」true「> < type:resources> < res :資源> < res:uuid> 40000 </res:uuid>
< /類型:資源> < /類型:推> </soapenv:身體> </soapenv:信封>回調:
< soapenv:信封的xmlns:soapenv =「HTTP://模式。 xmlsoap.org/soap/envelope/「> < soapenv:Body> < p:push xmlns:p =」http://esa.int/sais-dpc/service/specification/dp-alert-provider/type「 conversationId =「40000」sequenceNumber =「0」lastResponse =「true」> <號碼:alertsRef> 40000 </P:alertsRef> </P:推> </soapenv:車身> </soapenv:信封>
但發動機沒有這兩條消息相關。有沒有任何機構有經驗的問題?
謝謝,
Minh三。
我在中繼線中解決了這個問題。您可以嘗試從最新的快照版本 - http://wso2.org/bamboo/browse/WSO2CARBON-PRODUCTS – warunapww