axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Langisch <li...@langisch.ch>
Subject Re: can't access axis webservice using .net client
Date Fri, 14 Jan 2005 07:09:55 GMT
Monika,

Looks like a class resp. a jar conflict with your server jars
(saaj.jar,...). Which server are you using? Websphere? There are several
threads on this topic. Use IncompatibleClassChangeError as keyword.

Yves

On Thu, 2005-01-13 at 17:55 -0800, Monika Gorkani wrote:
> 
> 
> I have a doc/literal axis webservice. Axis 1.1 worked fine with
> my .net 
> client. But when i switched the axis.jar to version 1.2, I get the 
> following exception:
> 
> [1/13/05 17:20:19:498 PST] 527f4938 WebGroup      E SRVE0026E:
> [Servlet 
> Error]-[class org.apache.axis.SOAPPart does not implement interface 
> org.w3c.dom.Document]: java.lang.IncompatibleClassChangeError: class 
> org.apache.axis.SOAPPart does not implement interface
> org.w3c.dom.Document
>        at 
> org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1387)
>        at 
> org.apache.axis.message.SOAPHandler.endElement(SOAPHandler.java:118)
>        at 
> org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1083)
>        at
> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
> Source)
>        at 
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown 
> Source)
>        at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
> $FragmentContentDispatcher.dispatch(Unknown 
> Source)
>        at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> Source)
>        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
> Source)
>        at javax.xml.parsers.SAXParser.parse(Unknown Source)
>        at 
> org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226)
>        at
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
>        at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
>        at
> org.apache.axis.server.AxisServer.invoke(AxisServer.java:279)
>        at  
> org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:653)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>        at 
> org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 
> 
> 
> 
> -------------------------------------------------------------------------
> Monika Gorkani
> Advisory Engineer
> DB2 Content Management Group
> IBM Silicon Valley Laboratory
> 555 Bailey Ave, San Jose CA 95141
> 408-4635840  Tieline: 543-5840
> --------------------------------------------------------------------------
> --=_alternative 00087A0488256F89_=
> Content-Type: text/html; charset="us-ascii"
> 
> 
> <br><font size=2 face="sans-serif">I have a doc/literal axis
> webservice. Axis 1.1 worked fine with my .net client. But when i
> switched the axis.jar to version 1.2, I get the following
> exception:</font>
> <br>
> <br><font size=2 face="sans-serif">[1/13/05 17:20:19:498 PST] 527f4938
> WebGroup &nbsp; &nbsp; &nbsp;E SRVE0026E: [Servlet Error]-[class
> org.apache.axis.SOAPPart does not implement interface
> org.w3c.dom.Document]: java.lang.IncompatibleClassChangeError: class
> org.apache.axis.SOAPPart does not implement interface
> org.w3c.dom.Document</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1387)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.axis.message.SOAPHandler.endElement(SOAPHandler.java:118)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1083)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
> Source)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
> Source)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
> $FragmentContentDispatcher.dispatch(Unknown Source)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.xerces.parsers.XMLParser.parse(Unknown Source)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> javax.xml.parsers.SAXParser.parse(Unknown Source)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.axis.Message.getSOAPEnvelope(Message.java:424)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.axis.server.AxisServer.invoke(AxisServer.java:279)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:653)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301)</font>
> <br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp;
at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)</font>
> <br>
> <br><font size=2 face="sans-serif"><br>
> <br>
> <br>
> 
> -------------------------------------------------------------------------
> Monika Gorkani
> Advisory Engineer
> DB2 Content Management Group
> IBM Silicon Valley Laboratory
> 555 Bailey Ave, San Jose CA 95141
> 408-4635840  Tieline: 543-5840
> --------------------------------------------------------------------------


Mime
View raw message