Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help with Apache Client

L Sl
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all!
Can you help me with my problem??? I have a problem in running my Axis Client. It gives me "org.xml.sax.SAXException: Bad types" exception.
My webservice returns an array of Books (Books[]). My client will login with username/password then send a query, then print all the titles of the book.
Thank you in advance!

Here is the snippet of my client:

More Detailed stacktrace
- Exception:
org.xml.sax.SAXException: Bad types (class [Ljava.lang.Object; -> class mypackage.Book)
at org.apache.axis.message.RPCHandler.onStartChild(
at org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
at org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic