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

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Wed Aug 15 09:35:01 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBWS-1453?page=all ]

Darran Lofthouse updated JBWS-1453:
-----------------------------------

    Summary: WSDL To Java - Invalid name for generated class if complex type name contains a period.  (was: WSDl To Java - Invalid name for generated class if complex type name contains a period.)

> 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: tools-jaxrpc
>            Reporter: Darran Lofthouse
>         Assigned To: Darran Lofthouse
>             Fix For:  jbossws-2.0.2
>
>
> 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