2013-03-19 70 views
0

我正在使用BPM 7.5.1,並且遇到了將web服務映射到本地BPM變量的問題。 Webservice返回一個對象列表。確切地說,我有「客戶端」列表,每個客戶端都有一些基本信息(id,reg。nu​​mber等)。所有數據類型似乎都能正確生成,webservice返回正確的soap數據,但BPM無法將其映射到變量中。來自WebService的IBM 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. 

感謝您的建議。

回答

1
Property ClientId in class ClientsListResponse is not declared. 

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

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

希望工程:)

0

的WSDL沒有屬性ClientID。可能是一些不同的性格。

另一方面

,實例化對象必須是:

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

不喜歡這種

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