目前有一个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出了问题,但我没有引用这个包,不知何故,请高人解惑