2017-05-08 47 views
0

我想在一個系統上實現數據庫集成,在創建用戶後,通過ZimbraAdminService在Zimbra服務上創建帳戶。Pentaho Zimbra Web服務(zimbra.xsd找不到)

服務器版本是8.6

在Pentaho的Web服務查找步驟,當我填寫網址欄https://example.com/service/wsdl/ZimbraAdminService.wsdl並點擊「Load」按鈕,我收到以下錯誤:

Could not load WSDL file: WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'zimbra.xsd'.: java.io.FileNotFoundException: This file was not found: file:/C:/Program Files/Pentaho/data-integration/zimbra.xsd 

我已經檢查了文件https://wiki.zimbra.com/wiki/Wsdl

任何人都面臨這樣的問題,並有一個解決方案?謝謝。

回答

0

爲了解決上面的問題,我不得不去到瀏覽器,訪問以下地址,載入和保存的XSD服務,擴展名爲.xsd生成的XML:

https://example.com/service/wsdl/zimbra.xsd

https://example.com/service/wsdl/zimbraAdmin.xsd

https://example.com/service/wsdl/zimbraAdminExt.xsd

https://example.com/service/wsdl/zimbraMail.xsd

https://example.com/service/wsdl/zimbraRepl.xsd

https://example.com/service/wsdl/zimbraSync.xsd

https://example.com/service/wsdl/zimbraVoice.xsd

將這個文件放在/你的程序安裝文件夾/ Pentaho的/數據集成(在Windows上 - C:\ Program Files文件\ Pentaho的\數據集成)

這樣做後,問題就解決了。

+0

事情是這一步不能解決問題。也許是因爲Pentaho Web服務查找步驟不支持Zimbra Web服務,因爲根據Matt Castters的說法,Pentaho似乎更復雜。在這一刻,我正在嘗試根據本教程(http://wiki.pentaho.com/display/EAI/Web+services+lookup)安裝和使用Soap Call(實驗步驟)的解決方法。當使用HTTP Post步驟時,它返回消息「HTTP方法POST不受此URL支持」。 –