You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Krystian Szczesny (JIRA)" <ji...@apache.org> on 2008/05/08 14:32:55 UTC
[jira] Created: (WSCOMMONS-342) Incorrect class for complex types
with more then one same named elements
Incorrect class for complex types with more then one same named elements
------------------------------------------------------------------------
Key: WSCOMMONS-342
URL: https://issues.apache.org/jira/browse/WSCOMMONS-342
Project: WS-Commons
Issue Type: Bug
Components: XmlSchema
Environment: Java 1.5
Reporter: Krystian Szczesny
Attachments: DemoService.wsdl
Hi,
I want to switch from Axis 1.3 to 1.4 but I can't because WSDL2Java is generating incorrect classes.
Before, it used XmlSchema 1.3.2 and it worked great. Now it uses XmlSchema-20080505.025514-82 and here's what is happening:
WSDL file:
[...]
<xs:element name="addRequest">
<xs:complexType>
<xs:sequence>
<xs:element name="x" type="xs:int" />
<xs:element name="y" type="xs:int"/>
<xs:element name="y" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:element>
[...]
Now:
protected int localY;
public int getY() {
return localY;
}
public void setY(int param) {
this.localY = param;
}
protected int localY;
public int getY() {
return localY;
}
public void setY(int param) {
this.localY = param;
}
Before:
protected int localY;
public int getY() {
return localY;
}
public void setY(int param) {
this.localY = param;
}
protected int localY0;
public int getY0() {
return localY0;
}
public void setY0(int param) {
this.localY0 = param;
}
I will attach a wsdl file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WSCOMMONS-342) Incorrect class for complex types
with more then one same named elements
Posted by "Krystian Szczesny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krystian Szczesny updated WSCOMMONS-342:
----------------------------------------
Priority: Critical (was: Major)
> Incorrect class for complex types with more then one same named elements
> ------------------------------------------------------------------------
>
> Key: WSCOMMONS-342
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-342
> Project: WS-Commons
> Issue Type: Bug
> Components: XmlSchema
> Environment: Java 1.5
> Reporter: Krystian Szczesny
> Priority: Critical
> Attachments: DemoService.wsdl
>
>
> Hi,
> I want to switch from Axis 1.3 to 1.4 but I can't because WSDL2Java is generating incorrect classes.
> Before, it used XmlSchema 1.3.2 and it worked great. Now it uses XmlSchema-20080505.025514-82 and here's what is happening:
> WSDL file:
> [...]
> <xs:element name="addRequest">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="x" type="xs:int" />
> <xs:element name="y" type="xs:int"/>
> <xs:element name="y" type="xs:int"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> [...]
> Now:
> protected int localY;
> public int getY() {
> return localY;
> }
> public void setY(int param) {
> this.localY = param;
> }
> protected int localY;
> public int getY() {
> return localY;
> }
> public void setY(int param) {
> this.localY = param;
> }
> Before:
> protected int localY;
> public int getY() {
> return localY;
> }
> public void setY(int param) {
> this.localY = param;
> }
> protected int localY0;
> public int getY0() {
> return localY0;
> }
> public void setY0(int param) {
> this.localY0 = param;
> }
> I will attach a wsdl file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WSCOMMONS-342) Incorrect class for complex types
with more then one same named elements
Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647931#action_12647931 ]
Benson Margulies commented on WSCOMMONS-342:
--------------------------------------------
Please post this JIRA to Axis, not XmlSchema. There is no possible way to debug what you've posted.
> Incorrect class for complex types with more then one same named elements
> ------------------------------------------------------------------------
>
> Key: WSCOMMONS-342
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-342
> Project: WS-Commons
> Issue Type: Bug
> Environment: Java 1.5
> Reporter: Krystian Szczesny
> Priority: Critical
> Attachments: DemoService.wsdl
>
>
> Hi,
> I want to switch from Axis 1.3 to 1.4 but I can't because WSDL2Java is generating incorrect classes.
> Before, it used XmlSchema 1.3.2 and it worked great. Now it uses XmlSchema-20080505.025514-82 and here's what is happening:
> WSDL file:
> [...]
> <xs:element name="addRequest">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="x" type="xs:int" />
> <xs:element name="y" type="xs:int"/>
> <xs:element name="y" type="xs:int"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> [...]
> Now:
> protected int localY;
> public int getY() {
> return localY;
> }
> public void setY(int param) {
> this.localY = param;
> }
> protected int localY;
> public int getY() {
> return localY;
> }
> public void setY(int param) {
> this.localY = param;
> }
> Before:
> protected int localY;
> public int getY() {
> return localY;
> }
> public void setY(int param) {
> this.localY = param;
> }
> protected int localY0;
> public int getY0() {
> return localY0;
> }
> public void setY0(int param) {
> this.localY0 = param;
> }
> I will attach a wsdl file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WSCOMMONS-342) Incorrect class for complex types
with more then one same named elements
Posted by "Krystian Szczesny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSCOMMONS-342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krystian Szczesny updated WSCOMMONS-342:
----------------------------------------
Attachment: DemoService.wsdl
> Incorrect class for complex types with more then one same named elements
> ------------------------------------------------------------------------
>
> Key: WSCOMMONS-342
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-342
> Project: WS-Commons
> Issue Type: Bug
> Components: XmlSchema
> Environment: Java 1.5
> Reporter: Krystian Szczesny
> Attachments: DemoService.wsdl
>
>
> Hi,
> I want to switch from Axis 1.3 to 1.4 but I can't because WSDL2Java is generating incorrect classes.
> Before, it used XmlSchema 1.3.2 and it worked great. Now it uses XmlSchema-20080505.025514-82 and here's what is happening:
> WSDL file:
> [...]
> <xs:element name="addRequest">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="x" type="xs:int" />
> <xs:element name="y" type="xs:int"/>
> <xs:element name="y" type="xs:int"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> [...]
> Now:
> protected int localY;
> public int getY() {
> return localY;
> }
> public void setY(int param) {
> this.localY = param;
> }
> protected int localY;
> public int getY() {
> return localY;
> }
> public void setY(int param) {
> this.localY = param;
> }
> Before:
> protected int localY;
> public int getY() {
> return localY;
> }
> public void setY(int param) {
> this.localY = param;
> }
> protected int localY0;
> public int getY0() {
> return localY0;
> }
> public void setY0(int param) {
> this.localY0 = param;
> }
> I will attach a wsdl file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.