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/08 21:02:43 UTC

[jira] Closed: (AXIS-1237) WSDL generation with Java2WSDL convert complexType from 'namedValue' to 'NamedValue' fro example

Message:

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Thu, 8 Apr 2004 12:01 PM

Please reopen bug with your sample code.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1237

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1237
    Summary: WSDL generation with Java2WSDL convert complexType from 'namedValue' to 'NamedValue' fro example
       Type: Bug

     Status: Closed
 Resolution: CANNOT REPRODUCE

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.1

   Assignee: 
   Reporter: Steffen Schenk

    Created: Mon, 23 Feb 2004 1:46 PM
    Updated: Thu, 8 Apr 2004 12:01 PM
Environment: Operating System: Windows NT/2K
Platform: PC

Description:
We have a problem while generating a WSDL file from our Java Code. We use the 
Java2WSDL program of the apache axis library.

We have defined some complexType in the BindingStub beginning with a lower case 
letter:
Example:
qName = new javax.xml.namespace.QName("urn:FITstandard", "namedValue");
cachedSerQNames.add(qName);
cls = NamedValue.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(nvsf);
cachedDeserFactories.add(beandf);

The WSDL-generator makes this in the wsdl-file:
   <complexType name="NamedValue">
    <sequence>
     <element name="id" nillable="true" type="xsd:string"/>
     <element name="value" nillable="true" type="xsd:anyType"/>
    </sequence>
   </complexType>


Of course this is wrong, because we need the right syntax.
If we correct the wsdl-file and generate the java code out of it, then the java 
code is correct and everything begins with the lower case. 
The class NamedValue instead is correct written beginning with an upper case.

Bye
Steffen


---------------------------------------------------------------------
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