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/11/14 08:42:37 UTC
[jira] Created: (MUSE-147) Input array parameters are not correctly
generated
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: Dan Jemiolo
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
[jira] Commented: (MUSE-147) Input array parameters are not
correctly generated
Posted by "Andrew Eberbach (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/MUSE-147?page=comments#action_12457320 ]
Andrew Eberbach commented on MUSE-147:
--------------------------------------
You're right. Argh. This only got fixed for the properties, not for the parameters or return types. Going to work on the fix right now.
> 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
[jira] Commented: (MUSE-147) Input array parameters are not
correctly generated
Posted by "Jose Antonio (JIRA)" <ji...@apache.org>.
[ 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
[jira] Resolved: (MUSE-147) Input array parameters are not
correctly generated
Posted by "Andrew Eberbach (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/MUSE-147?page=all ]
Andrew Eberbach resolved MUSE-147.
----------------------------------
Resolution: Fixed
This got fixed in the mega-patch.
> 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
[jira] Updated: (MUSE-147) Input array parameters are not correctly
generated
Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/MUSE-147?page=all ]
Dan Jemiolo updated MUSE-147:
-----------------------------
Fix Version/s: 2.1.0
> 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
[jira] Updated: (MUSE-147) Input array parameters are not correctly
generated
Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/MUSE-147?page=all ]
Dan Jemiolo updated MUSE-147:
-----------------------------
Fix Version/s: 2.2.0
(was: 2.1.0)
This currently works for properties (getters/setters), but we'll need to handle other operations in 2.2.
> 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.2.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
[jira] Reopened: (MUSE-147) Input array parameters are not
correctly generated
Posted by "Andrew Eberbach (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/MUSE-147?page=all ]
Andrew Eberbach reopened MUSE-147:
----------------------------------
Needs more fixing.
> 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
[jira] Assigned: (MUSE-147) Input array parameters are not
correctly generated
Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/MUSE-147?page=all ]
Dan Jemiolo reassigned MUSE-147:
--------------------------------
Assignee: Andrew Eberbach (was: Dan Jemiolo)
> 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
>
> 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
[jira] Resolved: (MUSE-147) Input array parameters are not
correctly generated
Posted by "Andrew Eberbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MUSE-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Eberbach resolved MUSE-147.
----------------------------------
Resolution: Fixed
This should finally be fixed as part of the commit for Muse-118.
For example:
<xsd:element name="MyOperation">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="first" type="xsd:string" minOccurs="2"/>
<xsd:element name="second" type="xsd:boolean" minOccurs="4"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
Would define a method that takes an array of strings and an array of booleans.
> Input array parameters are not correctly generated
> --------------------------------------------------
>
> Key: MUSE-147
> URL: https://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.2.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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org