首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Exception >

webservice报java.lang.ClassCastException异常

2014-01-26 
webservice报java.lang.ClassCastException异常:错误信息如下:AxisFaultfaultCode: {http://schemas.xmlsoa

webservice报java.lang.ClassCastException异常:

错误信息如下:
 
  AxisFault
  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
  faultSubcode:
  faultString: java.lang.ClassCastException
  faultActor:
  faultNode:
  faultDetail:
  {http://xml.apache.org/axis/}stackTrace:java.lang.ClassCastException
  at org.apache.axis.message.SOAPFaultBuilder.onEndChild(SOAPFaultBuilder.
  java:299)
  at org.apache.axis.encoding.DeserializationContext.endElement(Deserializ
  ationContext.java:1090)
  at weblogic.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractS
  AXParser.java:585)
  at weblogic.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNa
  mespaceBinder.java:898)
  at weblogic.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespac
  eBinder.java:644)
  at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndEle
  ment(XMLDocumentFragmentScannerImpl.java:1008)
  at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCo
  ntentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
  at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocume
  nt(XMLDocumentFragmentScannerImpl.java:329)
  at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio
  n.java:525)
  at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguratio
  n.java:581)
  at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
  at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXPar
  ser.java:1175)
  at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
 
  at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
 
  at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
  at org.apache.axis.encoding.DeserializationContext.parse(Deserialization
  Context.java:227)
  at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
  at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
  at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnders
  tandChecker.java:62)
  at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
  at org.apache.axis.client.Call.invokeEngine(Call.java:2754)
  at org.apache.axis.client.Call.invoke(Call.java:2737)
  at org.apache.axis.client.Call.invoke(Call.java:2413)
  at org.apache.axis.client.Call.invoke(Call.java:2336)
  at org.apache.axis.client.Call.invoke(Call.java:1793)         

热点排行