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

Tools generates an invalid schema type for a byte array

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-1.0RC3
    • None
    • tools-jaxrpc
    • None

      Tools currently generates xsd:byte as the type for a byte array.

      The following should be the default generation rules:

      byte[] becomes:
      xsd:base64Binary
      Byte[] becomes:
      <complexType name="ByteArray">
      <sequence>
      <element name="value" type="xsd:Byte" nillable="true" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      </complexType>

      -Jason

              jgreene@redhat.com Jason Greene
              jgreene@redhat.com Jason Greene
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: