function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sean_kSean_k 

Unable to find required classes (javax.activation.DataHandler

I am getting the following error message when i tried to gnerate Java classes from  the partner WSDL by using the AXIS's WSDL2java (java org.apache.axis.wsdl.WSDL2Java partner.xml)
 
- Unable to find required classes (javax.activation.DataHandler and javax.mail.i
nternet.MimeMultipart). Attachment support is disabled.
 
JDK is 1.5.0_06-b05
AXIS (Got the message both with 1_2_1 and 1_3)
 
i have the folloing libraries in the classpath
 
axis-ant.jar
axis.jar
commons-discovery-0.2.jar
commons-logging-1.0.4.jar
jaxrpc.jar
log4j-1.2.8.jar
saaj.jar
wsdl4j-1.5.1.jar
 
I never got this with with  6.0 api iam getting only with 7.0
 
Is anything missing in my classpath?
 
Thanks
Sean
 
 
 
JepsJeps
You are missing:
 
mailapi.jar
activation.jar