You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/09/06 23:03:56 UTC

DO NOT REPLY [Bug 12382] New: - Java2WSDL should do the right thing with DataHandler

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12382>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12382

Java2WSDL should do the right thing with DataHandler

           Summary: Java2WSDL should do the right thing with DataHandler
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: butek@us.ibm.com


Right now, if mail.jar isn't in the CLASSPATH and the input to Java2WSDL has 
parameters of javax.activation.DataHandler, it prints out:

The class javax.activation.DataHandler is defined in a java or javax package and 
cannot be converted into an xml schema type.  An xml schema anyType will be used 
to define this class in the wsdl file.

This is OK for most java/javax classes, but DataHandler should say something 
like:

In order to generate a WSDL for javax.activation.DataHandler, you must have 
mail.jar in your CLASSPATH.