axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Closed: (AXIS-1302) Warning while generating wsdl file using Java2WSDL
Date Mon, 12 Apr 2004 12:00:43 GMT

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Mon, 12 Apr 2004 4:59 AM

Integer -> int has been fixed in Axis 1.2 Beta
SimpleDateFormat -> Object is intentional (there is no mapping defined, use Date class)
View the issue:

Here is an overview of the issue:
        Key: AXIS-1302
    Summary: Warning while generating wsdl file using Java2WSDL
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Axis
   Fix Fors:
             current (nightly)

   Reporter: Vinodh Lakshminarayan

    Created: Mon, 12 Apr 2004 3:49 AM
    Updated: Mon, 12 Apr 2004 4:59 AM
Environment: Windows XP, JDK1.4.2

I have an interface with a method X. X takes four to five arguments, among them, some paramters
are of type are Integer, java.text.SimpleDateFormat. When trying to generate wsdl file using
Java2WSDL tool I get the following warning

WARNING: The class java.text.SimpleDateFormat 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.

Now with the wsdl file generated if I use the tool WSDL2Java I notice that the paramter that
was Integer is now replaced with primitive type int and SimpleDateFormat is converted to java.lang.Object.

Is this a bug or intended behaviour? Is there anything that I am missing here?

Thanks and regards

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message