目前有一个webservice,部署在webshpere6.1下面,jdk 1.5调用时,发生异常使用抓包工具,调用返回的soap消息如下:
<?xml version ="1.0" encoding= "utf-8"?>
<soapenv:Envelope xmlns :soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userExce ption</faultcode>
<faultstring>
java.lang.ClassCastException:org.apache.xerce s.parsers.XIncludeAwareParserConfiguration incom patible with org.apache.xerces.xni.parser.XMLParserConfiguration
</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">ABC</ns1 :hostname>
</detail>
</soapenv:Fault>
</so apenv:Body>
</soapenv:Envelope>
搜索了一下,大都说是xercesimpl.jar出了问题,但我没有引用这个包,不知何故,请高人解惑
<?xml version ="1.0" encoding= "utf-8"?>
<soapenv:Envelope xmlns :soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userExce ption</faultcode>
<faultstring>
java.lang.ClassCastException:org.apache.xerce s.parsers.XIncludeAwareParserConfiguration incom patible with org.apache.xerces.xni.parser.XMLParserConfiguration
</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">ABC</ns1 :hostname>
</detail>
</soapenv:Fault>
</so apenv:Body>
</soapenv:Envelope>
搜索了一下,大都说是xercesimpl.jar出了问题,但我没有引用这个包,不知何故,请高人解惑
解决方案 »
- ireport如何动态改变字体【急】
- hibernate的一个问题:object references an unsaved transient instance - save the transient instance before
- spring配置的一个疑问,没有理解注入的关系,请指教?
- ireport中的表格怎么画的?
- 本人初学Spring遇到头痛问题
- structs中web.xml和structs-config.xml的区别
- 随机抽取系统(带算法)请各位指教
- red hat9.0安装tomcat5.5启动后无法显示后台的问题
- 如做一个短信增值业务的程序员需要掌握哪些方面的知识啊?
- 请教!怎么样实现上传大文件?
- servlet 与 jsp 问题
- IP地址判断
XIncludeAwareParserConfiguration 是不是不同的jar包中有多个这个类,出现冲突了