Java ApacheAxis库

Java ApacheAxis库,java,web-services,soap,axis,ioexception,Java,Web Services,Soap,Axis,Ioexception,轴断层 错误代码:{}Server.userException 故障子代码: faultString:java.io.IOException:无法使用ArraySerializer序列化java.lang.String 当我试图运行我的web服务程序时,我遇到了这个错误!非常感谢你的帮助。由于我是新用户,可能需要一些时间才能了解StackOverflow的所有规则和规定。没有更多细节 您传递了一个字符串,其中包含服务器期望的数组。 但最有可能的是,您传递了一个字符串,其中WSDL指定了一个数组。

轴断层 错误代码:{}Server.userException 故障子代码: faultString:java.io.IOException:无法使用ArraySerializer序列化java.lang.String


当我试图运行我的web服务程序时,我遇到了这个错误!非常感谢你的帮助。由于我是新用户,可能需要一些时间才能了解StackOverflow的所有规则和规定。

没有更多细节

您传递了一个字符串,其中包含服务器期望的数组。 但最有可能的是,您传递了一个字符串,其中WSDL指定了一个数组。换句话说,请求没有离开客户机。
所以这是给我们的通知或其他东西,根本就不是问题?请把你的代码也发出来。对不起,我忘了插入问题。public XMLStringUtilsString xmlStr抛出异常{重试{this.xmlString=xmlStr;this.factory=DocumentBuilderFactory.newInstance;this.builder=this.factory.newDocumentBuilder;//40*/this.doc=this.builder.parsenew ByteArrayInputStreamthis.xmlString.getBytesUTF-8;//this.doc=this.builder.parsenew InputSourcenew bytearrayinpstreamthis.xmlString.getBytes。setEncodingUTF-8;this.xpathFactory=xpathFactory.newInstance;this.xpath=this.xpathFactory.newXPath;}我刚刚修改了代码this.doc=this.builder.parsenew ByteArrayInputStreamthis.xmlString.getBytes;到this.doc=this.builder.parsenew ByteArrayInputStreamthis.xmlString.getBytesUTF-8;修改代码后,我得到了Apache axis错误。