You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "benson margulies (JIRA)" <ji...@apache.org> on 2007/10/11 02:36:50 UTC

[jira] Created: (CXF-1105) Arrays with Aegis+JAX-WS produce incorrect WSDL

Arrays with Aegis+JAX-WS produce incorrect WSDL
-----------------------------------------------

                 Key: CXF-1105
                 URL: https://issues.apache.org/jira/browse/CXF-1105
             Project: CXF
          Issue Type: Bug
          Components: Aegis Databinding
    Affects Versions: 2.0.2
            Reporter: benson margulies


If a parameter of an operation is declared as 

void foo (String x, Name[] y)

then the resulting WSDL will look like:

<xsd:complexType name="addNameBatch">
<xsd:sequence>
<xsd:element minOccurs="0"  name="indexid" type="xsd:string"/>
<xsd:element maxOccurs="unbounded"  name="names" type="ns1:ArrayOfName"/>
</xsd:sequence>
</xsd:complexType>

Presto: a two-dimensional array.

Using List<Name> instead yields the correct schema.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-1105) Arrays with Aegis+JAX-WS produce incorrect WSDL

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1105.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.3

> Arrays with Aegis+JAX-WS produce incorrect WSDL
> -----------------------------------------------
>
>                 Key: CXF-1105
>                 URL: https://issues.apache.org/jira/browse/CXF-1105
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.0.2
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>             Fix For: 2.0.3
>
>
> If a parameter of an operation is declared as 
> void foo (String x, Name[] y)
> then the resulting WSDL will look like:
> <xsd:complexType name="addNameBatch">
> <xsd:sequence>
> <xsd:element minOccurs="0"  name="indexid" type="xsd:string"/>
> <xsd:element maxOccurs="unbounded"  name="names" type="ns1:ArrayOfName"/>
> </xsd:sequence>
> </xsd:complexType>
> Presto: a two-dimensional array.
> Using List<Name> instead yields the correct schema.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CXF-1105) Arrays with Aegis+JAX-WS produce incorrect WSDL

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-1105:
--------------------------------

    Assignee: Daniel Kulp

> Arrays with Aegis+JAX-WS produce incorrect WSDL
> -----------------------------------------------
>
>                 Key: CXF-1105
>                 URL: https://issues.apache.org/jira/browse/CXF-1105
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.0.2
>            Reporter: benson margulies
>            Assignee: Daniel Kulp
>
> If a parameter of an operation is declared as 
> void foo (String x, Name[] y)
> then the resulting WSDL will look like:
> <xsd:complexType name="addNameBatch">
> <xsd:sequence>
> <xsd:element minOccurs="0"  name="indexid" type="xsd:string"/>
> <xsd:element maxOccurs="unbounded"  name="names" type="ns1:ArrayOfName"/>
> </xsd:sequence>
> </xsd:complexType>
> Presto: a two-dimensional array.
> Using List<Name> instead yields the correct schema.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.