使用XFire调用WebService需注意的事项 2008-02-27 14:25:10 标签:WebService注意事项XFire [推送到技术圈]
版权声明:原创作品,如需转载,请与作者联系。否则将追究法律责任。
(一):注意过滤输入和输出参数空白字符
如果出现空白字符解析不了导致调用失败,导致下面的异常:
org.codehaus.xfire.fault.XFireFault: Error writing document.. Nested exception is com.ctc.wstx.exc.WstxIOException: Invalid null character in text to output
at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89)
at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:83)阅读全文>
发表于 @ 2009年05月04日 19:02:00|评论(loading...)|编辑|举报|收藏