• Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis stock quote sample

 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone by a chance have played around with Axis and know why I got the MIMEContent class not found as below?
TIA
tony


C:\TOOLS\axis-1_3>java samples.stock.GetQuote1 ibm
Using WSDL
log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/extensions/mime/MIMEContent
at org.apache.axis.wsdl.gen.Parser.run(Parser.java:297)
at org.apache.axis.client.Service.initService(Service.java:243)
at org.apache.axis.client.Service.<init>(Service.java:165)
at samples.stock.GetQuote1.getQuote1(GetQuote1.java:64)
at samples.stock.GetQuote1.main(GetQuote1.java:193)
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apparently you are missing the WSDL jar file from your classpath. You need most of the Axis libraries in the classpath of the client app.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!