2015-05-12 30 views
0

我試圖通過CEWS文檔上傳到FileNet的,但我得到這個錯誤:什麼是GlobalIdentity,如何在FileNet Web服務中設置它?

「The unexpected exception is chained to this exception. Message was: com.filenet.apiimpl.core.GlobalIdentity incompatible with com.filenet.apiimpl.core.RepositoryIdentity「

我們FileNet的人似乎並不知道這意味着什麼。他們提供的工作代碼與我的基本相同(但我目前無法直接編譯,因爲它引用了我沒有的部分項目)。

所以是GlobalIdentity我需要的東西通過網絡服務傳入?如果是這樣,怎麼樣?如果不是,它在哪裏配置?

回答

0

好吧,我終於發現我的錯誤。

我錯誤地將crt.TargetSpecification.classId設置爲我嘗試使用的存儲庫的名稱,而不是正確的classId。