[jbossws-issues] [JBoss JIRA] Created: (JBWS-1300) Problem deserializing nil String array

Chris Laprun (JIRA) jira-events at jboss.com
Thu Oct 12 15:41:41 EDT 2006


Problem deserializing nil String array
--------------------------------------

                 Key: JBWS-1300
                 URL: http://jira.jboss.com/jira/browse/JBWS-1300
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: binding
    Affects Versions: jbossws-1.0.3
            Reporter: Chris Laprun
            Priority: Critical


The incoming SOAP message:
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<ns1:getPortletProperties xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'><ns1:registrationContext xsi:nil='1'/><ns1:portletContext><ns1:portletHandle xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'>/test-basic-portlet.Simple Test Portlet</ns1:portletHandle></ns1:portletContext><ns1:userContext xsi:nil='1'/><ns1:names xsi:nil='1'/></ns1:getPortletProperties>
</env:Body></env:Envelope>

results in a GetPortletProperties object containing a names value being a String[] of size 1 with null elements.

Here's the type definition for the getPortletProperties element:
<element name="getPortletProperties">
    <complexType>
      <sequence>
        <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
        <element name="portletContext" type="types:PortletContext"/>
        <element name="userContext" type="types:UserContext" nillable="true"/>
        <element name="names" type="xsd:string" nillable="true" maxOccurs="unbounded"/>
      </sequence>
    </complexType>
  </element>

I expect names to be null, not of size 1 with null elements.


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