You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Adrian Perez Jorge (JIRA)" <ax...@ws.apache.org> on 2004/11/11 19:08:23 UTC

[jira] Created: (AXIS-1661) Collection schema should generate maxOccurs case.

Collection schema should generate maxOccurs case.
-------------------------------------------------

         Key: AXIS-1661
         URL: http://nagoya.apache.org/jira/browse/AXIS-1661
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.1, 1.1RC1    
    Reporter: Adrian Perez Jorge


The schema generated in not-rpc encoding for an array is not the same for a Collection (i.e. use element's maxOccurs).

The problem is that Class.isArray() is called instead of testing also for java.util.Collection asignability.

Patch included.

(I have used "cvs diff ArraySerializer.java").


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1661) Collection schema should generate maxOccurs case.

Posted by "Adrian Perez Jorge (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1661?page=history ]

Adrian Perez Jorge updated AXIS-1661:
-------------------------------------

    Attachment: ArraySerializer.java.patch

> Collection schema should generate maxOccurs case.
> -------------------------------------------------
>
>          Key: AXIS-1661
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1661
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.1, 1.1RC1
>     Reporter: Adrian Perez Jorge
>  Attachments: ArraySerializer.java.patch
>
> The schema generated in not-rpc encoding for an array is not the same for a Collection (i.e. use element's maxOccurs).
> The problem is that Class.isArray() is called instead of testing also for java.util.Collection asignability.
> Patch included.
> (I have used "cvs diff ArraySerializer.java").

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira