Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Axis wsdltojava error

843833Feb 24 2005 — edited Feb 24 2005
when trying to use the wsdltojava that comes along with the axis package, I encountered the following error. Can someone please help me to fix this error?

- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
java.io.IOException: Type {http://interfaces.common.generic.wss.francetelecom.com}SetSimCardRequest is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:653)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:533)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:506)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:483)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:356)
at java.lang.Thread.run(Thread.java:543)

Comments

843833
try adding activation.jar and mail.jar to your classpath
843833
That doesn't cause any problem in creation of java files. The non-inclusion of activation and mail modules will allow the proper functionality of wsdl2java. I suppose it's just a problem associated with the namespace definition and import. I found this tip after I posted the message on the forum. Thanx anyway for your reply.
843833
why tomcat5 doesn't include activation.jar and mail.jar
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 24 2005
Added on Feb 24 2005
3 comments
175 views