[jbossws-issues] [JBoss JIRA] Created: (JBWS-1453) WSDl To Java - Invalid name for generated class if complex type name contains a period.

Darran Lofthouse (JIRA) jira-events at jboss.com
Sun Jan 14 12:35:52 EST 2007


WSDl To Java - Invalid name for generated class if complex type name contains a period.
---------------------------------------------------------------------------------------

                 Key: JBWS-1453
                 URL: http://jira.jboss.com/jira/browse/JBWS-1453
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: wstools
    Affects Versions: jbossws-1.2.0.CR2
            Reporter: Darran Lofthouse
         Assigned To: Darran Lofthouse
             Fix For: jbossws-1.2.1


The following compex type: -

   <complexType name='String.Array'>
    <sequence>
     <element maxOccurs='unbounded' minOccurs='0' name='value' nillable='true' type='string'/>
    </sequence>
   </complexType>

Causes the following class to be generated: -

package org.jboss.support.phonebook;


public class  String.Array
{

protected java.lang.String[]  value;
public String.Array(){}

public String.Array(java.lang.String[] value){
this.value=value;
}
public java.lang.String[]  getValue() { return value ;}

public void setValue(java.lang.String[] value){ this.value=value; }

}

This class name is invalid and the period needs to be replaced.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list