2013-08-22 94 views
0

AxisFault 的faultcode:{} http://schemas.xmlsoap.org/soap/envelope/ Server.userException faultSubcode: faultString:產生java.io.IOException:無法序列與ArraySerializer這樣一個java.lang.String!Apache Axis的圖書館

當我試圖運行我的Web服務程序時,我得到了這個錯誤!非常感謝您的幫助。由於我是新用戶,可能需要一些時間才能獲得StackOverflow的所有規則和規定。

+0

所以這是一個通知給我們或其他東西 – Satya

+0

甚至沒有問題? – happymeal

+0

發佈您的代碼以及請 – Satya

回答

0

由於沒有比這更詳細,

  • 你通過了String當陣列是由服務器的預期。
  • 但最有可能的是,您通過了一個String,其中WSDL指定了一個數組。換句話說,請求沒有離開客戶端。
+0

我剛剛修改了代碼this.doc = this.builder.parse(new ByteArrayInputStream(this.xmlString.getBytes())); to this.doc = this.builder.parse(new ByteArrayInputStream(this.xmlString.getBytes(「UTF-8」)));修改代碼後,我得到了Apache軸錯誤。 – JustCoder