axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dr. Friedemann Weik (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-2427) Java2WSDL creates artificial elements in the wsdl.
Date Wed, 08 Mar 2006 12:55:56 GMT
     [ http://issues.apache.org/jira/browse/AXIS-2427?page=all ]

Dr. Friedemann Weik updated AXIS-2427:
--------------------------------------

    Attachment: TarifRangeLight.java
                GRSearch.wsdl

Attached is the original Java file with the described problem and the complete generated wsdl-file,
where the described problem is one portion of the wsdl-file starting in the line
   <complexType name="TarifRangeLight">

> Java2WSDL creates artificial elements in the wsdl.
> --------------------------------------------------
>
>          Key: AXIS-2427
>          URL: http://issues.apache.org/jira/browse/AXIS-2427
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.3
>  Environment: Windows 2000, Java 1.4.2_04
>     Reporter: Dr. Friedemann Weik
>  Attachments: GRSearch.wsdl, TarifRangeLight.java
>
> In addition to the issued bug report #2424 we observed the following:
> The Java-source contains the defintions:
>     private boolean bM_bFromIsEinstieg;
>     private boolean bM_bToIsAusstieg;
> These lines become converted in the wsdl by Java2WSDL into:
>     <sequence>
>      <element name="BM_bFromIsEinstieg" type="xsd:boolean"/>
>      <element name="BM_bToIsAusstieg" type="xsd:boolean"/>
> .... snip ...
>      <element name="bM_bFromIsEinstieg" type="xsd:boolean"/>
>      <element name="bM_bToIsAusstieg" type="xsd:boolean"/>
> .... snip ...
>     </sequence>
> which is essentially a doubbling of the 2 boolean variables with a slightly different
name (modified as described in bug-report 2424). If I fix this by removing the 2 extra element-lines
and change the names back to the original ones (beginning with lower case letters), the created
Java source is OK.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message