You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Jose Antonio (JIRA)" <ji...@apache.org> on 2006/12/11 13:33:22 UTC
[jira] Commented: (MUSE-147) Input array parameters are not
correctly generated
[ http://issues.apache.org/jira/browse/MUSE-147?page=comments#action_12457316 ]
Jose Antonio commented on MUSE-147:
-----------------------------------
Still not fixed in the latest nightly. The input message in the wsdl is defined as:
<xsd:element name="Install">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="PackageLocation" type="xsd:anyURI" minOccurs="1" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
But I get the following method:
public String install(URI param0) throws Exception;
> Input array parameters are not correctly generated
> --------------------------------------------------
>
> Key: MUSE-147
> URL: http://issues.apache.org/jira/browse/MUSE-147
> Project: Muse
> Issue Type: Bug
> Components: Core Engine - WSDL Processing
> Affects Versions: 2.1.0
> Environment: I think all platforms are affected but anyway I'm using Ubuntu Linux with Sun's JDK 1.5.
> Reporter: Jose Antonio
> Assigned To: Andrew Eberbach
> Fix For: 2.1.0
>
>
> When using this kind of input message in a WSDL file:
> .......
> <xsd:element name="Lookup">
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element name="Entry" type="xsd:string" minOccurs="0"
> maxOccurs="unbounded"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> .......
> It is expected to obtain a method with an Array as input but instead I get this kind method signature:
> String lookup(String param0) throws Exception;
> Instead of the expected
> String lookup(String[] param0) throws Exception;
> I also tried defining the input as
> <xsd:element name="Lookup">
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element name="Entries" type="tns:EntriesType"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> <xsd:complexType name="PackagesType">
> <xsd:sequence>
> <xsd:element name="Entry" type="xsd:string" minOccurs="0"
> maxOccurs="unbounded"/>
> </xsd:sequence>
> </xsd:complexType>
> But then I get the following method signature:
> String lookup(Element param0) throws Exception;
> I think maybe the WSDL generation tool ignores the minOccurs - MaxOccurs attributes of the input message so it does not treat it like an Array.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org