[ http://issues.apache.org/jira/browse/AXIS-2187?page=comments#action_12319715 ]
Anand Raghavendran commented on AXIS-2187: ------------------------------------------ I am using the latest release 1.2.1 and still having the same issues. Are you suggesting that I build axis from the latest src in cvs repository? Please send me any useful link that can walk me through this process. I have never done that before. Or is a there a binary version of the latest CVS axis that I can readily download? > code generated by WSDL2JAVA does not compile > --------------------------------------------- > > Key: AXIS-2187 > URL: http://issues.apache.org/jira/browse/AXIS-2187 > 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: ContactInfo_Type.java, 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
