You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/10/22 22:53:35 UTC

DO NOT REPLY [Bug 24020] New: - org.xml.sax.SAXException: Bad types Error while deserializing results

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24020>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24020

org.xml.sax.SAXException: Bad types Error while deserializing results

           Summary: org.xml.sax.SAXException: Bad types Error while
                    deserializing results
           Product: Axis
           Version: 1.1
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: rameshi@a1books.com


Hi, 
I am getting the following exception when I make a request to an existing 
service. The exception is pasted  below. I will attach a jar file containing 
source code and the WSDL file. AmazonTest.java is the main program calling the 
service. Please look at it and let me know what the problem is.

Environment Details are given below:

JVM: 1.3
OS : Solaris
Axis: 1.1

Exception: 
org.xml.sax.SAXException: Bad types (class [Ljava.lang.Object; -> class 
com.amazon.soap.axis.MarketplaceSearch)
org.xml.sax.SAXException: Bad types (class [Ljava.lang.Object; -> class 
com.amazon.soap.axis.MarketplaceSearch)
        at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:311)
        at org.apache.axis.encoding.DeserializationContextImpl.startElement
(DeserializationContextImpl.java:963)
        at org.apache.axis.message.SAX2EventRecorder.replay
(SAX2EventRecorder.java:198)
        at org.apache.axis.message.MessageElement.publishToHandler
(MessageElement.java:722)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
        at org.apache.axis.client.Call.invoke(Call.java:2272)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at 
com.amazon.soap.axis.AmazonSearchBindingStub.marketplaceSearchRequest
(AmazonSearchBindingStub.java:1499)
        at AmazonTest.getResult(AmazonTest.java:70)
        at AmazonTest.main(AmazonTest.java:85)


Thanks
Ramesh