axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand Raghavendran (JIRA)" <>
Subject [jira] Commented: (AXIS-2187) code generated by WSDL2JAVA does not compile
Date Tue, 23 Aug 2005 17:04:09 GMT
    [ ] 

Anand Raghavendran commented on AXIS-2187:

Thak you very much.  It worked!  When will these fixes make it into the official release?
 Please consider these issue closed.

> code generated  by WSDL2JAVA does not compile
> ---------------------------------------------
>          Key: AXIS-2187
>          URL:
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: WINDOWS XP, JDK 1.4.x, AXIS 1.2RC3, Tomcat server
>     Reporter: Anand Raghavendran
>  Attachments:, ContactService.wsdl
> When the wsdl file references a schema that has following element defintion for URL:
> <xsd:element name="URL" type="URL_Type"/>
> <xsd:simpleType name="URL_Type">
>            <xsd:restriction base="URL"/>
> </xsd:simpleType>
> <xsd:simpleType name="URL">
>               <xsd:restriction base="NC">
> 	<xsd:maxLength value="1024"/>
>               </xsd:restriction>
> </xsd:simpleType>
> <xsd:simpleType name="NC">
>                  <xsd:restriction base="xsd:string"/>
> </xsd:simpleType>
>  WSDL2Java generates code that does not compile properly.  The generated code has URL
as a member variable declaration of type "String_Element" instead of String:
> String_Element URL;  
> Instead of  
> String URL;
> As a result, we are needing to manually search and replace every occurence of String_Element
with String in the generated code to make it compile.  Please fix this issue.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message