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

ComplexDataTypesRpcList_Service - null array elements incorrectly created as empty elements

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • jbossws-interop
    • jbossws-2.0.0.Beta
    • jbossws-jaxrpc
    • None

      For schema type:

      <xs:complexType name="ArrayOfstring">
      <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string"/>
      </xs:sequence>
      </xs:complexType>
      <xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring"/>

      The following request

      <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> </s:Header> <s:Body> <RetArrayString1D xmlns="http://tempuri.org/"> <inArrayString1D xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns=""> <d4p1:string i:nil="true" /> <d4p1:string>string Array Data 1</d4p1:string> <d4p1:string i:nil="true" /> <d4p1:string>string Array Data 3</d4p1:string> <d4p1:string i:nil="true" /> <d4p1:string>string Array Data 5</d4p1:string> <d4p1:string i:nil="true" /> <d4p1:string>string Array Data 7</d4p1:string> <d4p1:string i:nil="true" /> <d4p1:string>string Array Data 9</d4p1:string> </inArrayString1D> </RetArrayString1D> </s:Body> </s:Envelope>

      incorrectly returns:
      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Body> <ns1:RetArrayString1DResponse xmlns:ns1="http://tempuri.org/"> <RetArrayString1DResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ns_string:string xmlns:ns_string="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> </ns_string:string> <ns_string:string xmlns:ns_string="http://schemas.microsoft.com/2003/10/Serialization/Arrays">string Array Data 1</ns_string:string> <ns_string:string xmlns:ns_string="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> </ns_string:string> <ns_string:string xmlns:ns_string="http://schemas.microsoft.com/2003/10/Serialization/Arrays">string Array Data 3</ns_string:string> <ns_string:string xmlns:ns_string="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> </ns_string:string> <ns_string:string xmlns:ns_string="http://schemas.microsoft.com/2003/10/Serialization/Arrays">string Array Data 5</ns_string:string> <ns_string:string xmlns:ns_string="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> </ns_string:string> <ns_string:string xmlns:ns_string="http://schemas.microsoft.com/2003/10/Serialization/Arrays">string Array Data 7</ns_string:string> <ns_string:string xmlns:ns_string="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> </ns_string:string> <ns_string:string xmlns:ns_string="http://schemas.microsoft.com/2003/10/Serialization/Arrays">string Array Data 9</ns_string:string> </RetArrayString1DResult> </ns1:RetArrayString1DResponse> </env:Body> </env:Envelope

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

                Created:
                Updated:
                Resolved: