簡體   English   中英

WebService的IBM BPM映射列表

[英]IBM BPM mapping list from WebService

我正在使用BPM 7.5.1,但在將結果從Web服務映射到本地BPM變量時遇到問題。 Webservice向我返回對象列表。 確切地說,我有“客戶端”列表,每個客戶端都有一些基本信息(標識,注冊號等)。所有數據類型似乎都正確生成,並且Web服務返回正確的soap數據,但BPM無法將其映射為變量。

我仍然收到此錯誤:

CWLLG0391E: An update operation failed.
    com.lombardisoftware.core.TeamWorksRuntimeException: Property ClientId in class ClientsListResponse is not declared. It must be declared to be used.

感謝您的建議。

Property ClientId in class ClientsListResponse is not declared.

如錯誤聲明中所述,尚未聲明ClientsListResponse中的ClientId。 您可以嘗試以下操作:

tw.local.ClientsListResponse = new tw.object.listOf.ClientsListResponse;
tw.local.ClientsListResponse[0] = new tw.local.ClientListResponse;
tw.local.ClientsListResponse[0].ClientID = "xxx";

希望它能工作:)

WSDL沒有屬性ClientId。 可能是一些不同的角色。

另一方面,實例化一個對象必須是:

tw.object.listOf.ClientsListResponse =新的tw.local.ClientsListResponse();

不像這樣

tw.local.ClientsListResponse =新的tw.object.listOf.ClientsListResponse;

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM