You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by James Black <jb...@ieee.org> on 2002/08/16 17:01:38 UTC

re: problem with bad types from the sax parser?

Hello,
  I have a problem that confuses me.  I get an error:
org.xml.sax.SAXException: Bad types (class
edu.usf.acomp.epic.AbstractCommon -> class
edu.usf.acomp.epic.lms.Transaction)

  The Transaction class is a concrete class for AbstractCommon, and many
of my classes extend AbstractCommon. For some reason the Transaction
class is failing, and I don't know why.  My guess is that it is when I
am sending the data from the client to the server.
  I am using the axis version for 7 Aug.

  My wsdl file is at
http://alina.acomp.usf.edu:8080/axis/services/LMSDBServer?WSDL

This is what I called:
<wsdl:operation name="lookupTransactions" parameterOrder="in0 in1 in2
in3">
  <wsdl:input name="lookupTransactionsRequest1"
message="intf:lookupTransactionsRequest1" />
  <wsdl:output name="lookupTransactionsResponse1"
message="intf:lookupTransactionsResponse1" />
  </wsdl:operation>

  Where should I look for the cause of the error at the beginning of
this?

  I used java2wsdl to create the wsdl file, and wsdl2java to create the
stubs.

  Thank you.