Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1627

WSDL To Java - Array Unwrapping uses incorect case to reference array type.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-2.0.0
    • jbossws-1.2.1
    • tools-jaxrpc
    • None

      The following types defined in the schema: -

      <complexType name='Person'>
      <sequence>
      <element name='surname' nillable='true' type='string'/>
      <element name='nickNames' nillable='true' type='tns:ArrayOf_nickNames'/>
      </sequence>
      </complexType>

      <complexType name='ArrayOf_nickNames'>
      <sequence>
      <element name='names' maxOccurs='unbounded' nillable='true' type='tns:nickName'/>
      </sequence>
      </complexType>

      <complexType name='nickName'>
      <sequence>
      <element name='name' nillable='true' type='string'/>
      </sequence>
      </complexType>

      Cause Person to contain: -

      protected java.lang.String surname;

      protected org.jboss.test.ws.jbws1627.nickName[] nickNames;

      However the generated nick name class is called NickName.java

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: