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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/11/28 00:16:56 UTC

[jira] Commented: (AXIS-2301) xsd:any is mapped to array of MessageElement while maxOccurs="1"

    [ http://issues.apache.org/jira/browse/AXIS-2301?page=comments#action_12358585 ] 

Davanum Srinivas commented on AXIS-2301:
----------------------------------------

Hans, 

Could you please upload a new diff against latest code in SVN? (zip up the diff as well!). I had trouble applying the patch.

thanks,
dims

> xsd:any is mapped to array of MessageElement while maxOccurs="1"
> ----------------------------------------------------------------
>
>          Key: AXIS-2301
>          URL: http://issues.apache.org/jira/browse/AXIS-2301
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2.1
>     Reporter: Hans
>  Attachments: anytest.diff.txt, patch.diff.txt
>
> According to the JAX-RPC 1.1 specification xsd:any should be mapped to an attribute of type javax.xml.soap.SOAPElement when maxOccurs="1", or javax.xml.soap.SOAPElement[] when maxOccurs is greater than 1. However, Axis will always generate an array, regardless of the maxOccurs attribute.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira