[jbossws-issues] [JBoss JIRA] Updated: (JBWS-1242) ComplexDataTypesRpcList_Service - null array elements incorrectly created as empty elements

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Wed Jun 6 10:01:11 EDT 2007


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

Thomas Diesler updated JBWS-1242:
---------------------------------

    Assignee: Thomas Diesler

> ComplexDataTypesRpcList_Service - null array elements incorrectly created as empty elements
> -------------------------------------------------------------------------------------------
>
>                 Key: JBWS-1242
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1242
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws
>    Affects Versions: jbossws-2.0.0.Beta
>            Reporter: Jason T. Greene
>         Assigned To: Thomas Diesler
>             Fix For: jbossws-2.0.0
>
>
> 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

-- 
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