axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Commented: (AXIS-1237) WSDL generation with Java2WSDL convert complexType from 'namedValue' to 'NamedValue' fro example
Date Wed, 24 Mar 2004 22:06:58 GMT
The following comment has been added to this issue:

     Author: Davanum Srinivas
    Created: Wed, 24 Mar 2004 2:06 PM
       Body:
Can u please zip up your code and post it for us to recreate the problem?

thanks,
dims
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1237&page=comments#action_27793

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=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: Open

    Project: Axis
 Components: 
             WSDL processing
   Versions:
             1.1

   Assignee: Axis Developers Mailing List
   Reporter: Steffen Schenk

    Created: Mon, 23 Feb 2004 1:46 PM
    Updated: Wed, 24 Mar 2004 2:06 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


Mime
View raw message