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 ji...@apache.org on 2004/04/15 14:42:43 UTC

[jira] Reopened: (AXIS-1302) Warning while generating wsdl file using Java2WSDL

Message:

   The following issue has been reopened.

   Reopener: Davanum Srinivas
       Date: Thu, 15 Apr 2004 5:41 AM

Can you please post your sample code and the command you use to generate the wsdl file.

thanks,
dims
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1302

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

     Status: Reopened
   Priority: Major

    Project: Axis
   Fix Fors:
             current (nightly)
   Versions:
             1.1

   Assignee: 
   Reporter: Vinodh Lakshminarayan

    Created: Mon, 12 Apr 2004 3:49 AM
    Updated: Thu, 15 Apr 2004 5:41 AM
Environment: Windows XP, JDK1.4.2

Description:
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
Vinodh


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira