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 ax...@ws.apache.org on 2004/09/21 20:28:38 UTC
[jira] Created: (AXIS-1564) Java2WSDL no longer generates Schema types for arrays
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1564
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1564
Summary: Java2WSDL no longer generates Schema types for arrays
Type: Bug
Status: Unassigned
Priority: Major
Project: Axis
Components:
WSDL processing
Versions:
current (nightly)
beta-2
beta-1
Assignee:
Reporter: Jason T. Greene
Created: Tue, 21 Sep 2004 11:28 AM
Updated: Tue, 21 Sep 2004 11:28 AM
Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Linux
Description:
In Axis 1.1 If you created javabeans that were just simple data structures (no getters/setters, just public vars). And one of those public vars was an array, Java2WSDL would generate xml schema to describe the array. Now in Axis1.2beta - current, Axis will only generate wsdl for arrays using the older soapenc type. This poses a problem because the system we are integrating with (Tibco BW) has problems mapping to soapenc array types.
I will attatch a test case shortly. Here is an example snipped of the WSDL difference between 1.1 and 1.2beta - current:
1.1
---------------------------------------------------------------------
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://DefaultNamespace">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="InnerTest2">
<sequence>
<element name="blah" nillable="true" type="xsd:string"/>
<element name="blah2" type="xsd:int"/>
</sequence>
</complexType>
<complexType name="InnerTest1">
<sequence>
<element name="foos" nillable="true" type="impl:InnerTest2" maxOccurs="unbounded"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
1.2
----------------------------------------------------------------------
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://DefaultNamespace">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="InnerTest2">
<sequence>
<element name="blah" nillable="true" type="xsd:string"/>
<element name="blah2" type="xsd:int"/>
</sequence>
</complexType>
<complexType name="ArrayOfInnerTest2">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="impl:InnerTest2[]"/>
</restriction>
</complexContent>
</complexType>
<complexType name="InnerTest1">
<sequence>
<element name="foos" nillable="true" type="impl:ArrayOfInnerTest2"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-1564) Java2WSDL no longer generates Schema types for arrays
Posted by ax...@ws.apache.org.
The following comment has been added to this issue:
Author: Jason T. Greene
Created: Wed, 22 Sep 2004 2:46 PM
Body:
Please close this bug. I realized that my true problem was that I was wanting to use rpc/literal, which did not work properly in 1.1 but appears to be fixed in 1.2.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/AXIS-1564?page=comments#action_53336
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1564
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1564
Summary: Java2WSDL no longer generates Schema types for arrays
Type: Bug
Status: Unassigned
Priority: Major
Project: Axis
Components:
WSDL processing
Versions:
current (nightly)
beta-2
beta-1
Assignee:
Reporter: Jason T. Greene
Created: Tue, 21 Sep 2004 11:28 AM
Updated: Wed, 22 Sep 2004 2:46 PM
Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Linux
Description:
In Axis 1.1 If you created javabeans that were just simple data structures (no getters/setters, just public vars). And one of those public vars was an array, Java2WSDL would generate xml schema to describe the array. Now in Axis1.2beta - current, Axis will only generate wsdl for arrays using the older soapenc type. This poses a problem because the system we are integrating with (Tibco BW) has problems mapping to soapenc array types.
I will attatch a test case shortly. Here is an example snipped of the WSDL difference between 1.1 and 1.2beta - current:
1.1
---------------------------------------------------------------------
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://DefaultNamespace">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="InnerTest2">
<sequence>
<element name="blah" nillable="true" type="xsd:string"/>
<element name="blah2" type="xsd:int"/>
</sequence>
</complexType>
<complexType name="InnerTest1">
<sequence>
<element name="foos" nillable="true" type="impl:InnerTest2" maxOccurs="unbounded"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
1.2
----------------------------------------------------------------------
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://DefaultNamespace">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="InnerTest2">
<sequence>
<element name="blah" nillable="true" type="xsd:string"/>
<element name="blah2" type="xsd:int"/>
</sequence>
</complexType>
<complexType name="ArrayOfInnerTest2">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="impl:InnerTest2[]"/>
</restriction>
</complexContent>
</complexType>
<complexType name="InnerTest1">
<sequence>
<element name="foos" nillable="true" type="impl:ArrayOfInnerTest2"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Updated: (AXIS-1564) Java2WSDL no longer generates Schema types for arrays
Posted by ax...@ws.apache.org.
The following issue has been updated:
Updater: Jason T. Greene (mailto:jason@stacksmash.com)
Date: Tue, 21 Sep 2004 11:36 AM
Comment:
This zip includes a test case to reproduce as well as the 2 wsdl output files demonstrating the difference (axis1-1.wsdl and axis1-2.wsl)
Changes:
Attachment changed to axis-1564-testcase.zip
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/AXIS-1564?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1564
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1564
Summary: Java2WSDL no longer generates Schema types for arrays
Type: Bug
Status: Unassigned
Priority: Major
Project: Axis
Components:
WSDL processing
Versions:
current (nightly)
beta-2
beta-1
Assignee:
Reporter: Jason T. Greene
Created: Tue, 21 Sep 2004 11:28 AM
Updated: Tue, 21 Sep 2004 11:36 AM
Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Linux
Description:
In Axis 1.1 If you created javabeans that were just simple data structures (no getters/setters, just public vars). And one of those public vars was an array, Java2WSDL would generate xml schema to describe the array. Now in Axis1.2beta - current, Axis will only generate wsdl for arrays using the older soapenc type. This poses a problem because the system we are integrating with (Tibco BW) has problems mapping to soapenc array types.
I will attatch a test case shortly. Here is an example snipped of the WSDL difference between 1.1 and 1.2beta - current:
1.1
---------------------------------------------------------------------
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://DefaultNamespace">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="InnerTest2">
<sequence>
<element name="blah" nillable="true" type="xsd:string"/>
<element name="blah2" type="xsd:int"/>
</sequence>
</complexType>
<complexType name="InnerTest1">
<sequence>
<element name="foos" nillable="true" type="impl:InnerTest2" maxOccurs="unbounded"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
1.2
----------------------------------------------------------------------
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://DefaultNamespace">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="InnerTest2">
<sequence>
<element name="blah" nillable="true" type="xsd:string"/>
<element name="blah2" type="xsd:int"/>
</sequence>
</complexType>
<complexType name="ArrayOfInnerTest2">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="impl:InnerTest2[]"/>
</restriction>
</complexContent>
</complexType>
<complexType name="InnerTest1">
<sequence>
<element name="foos" nillable="true" type="impl:ArrayOfInnerTest2"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Closed: (AXIS-1564) Java2WSDL no longer generates Schema types for arrays
Posted by ax...@ws.apache.org.
Message:
The following issue has been closed.
Resolver: Glen Daniels
Date: Wed, 22 Sep 2004 3:32 PM
Closed as requested.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1564
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1564
Summary: Java2WSDL no longer generates Schema types for arrays
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Axis
Components:
WSDL processing
Versions:
current (nightly)
beta-2
beta-1
Assignee:
Reporter: Jason T. Greene
Created: Tue, 21 Sep 2004 11:28 AM
Updated: Wed, 22 Sep 2004 3:32 PM
Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Linux
Description:
In Axis 1.1 If you created javabeans that were just simple data structures (no getters/setters, just public vars). And one of those public vars was an array, Java2WSDL would generate xml schema to describe the array. Now in Axis1.2beta - current, Axis will only generate wsdl for arrays using the older soapenc type. This poses a problem because the system we are integrating with (Tibco BW) has problems mapping to soapenc array types.
I will attatch a test case shortly. Here is an example snipped of the WSDL difference between 1.1 and 1.2beta - current:
1.1
---------------------------------------------------------------------
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://DefaultNamespace">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="InnerTest2">
<sequence>
<element name="blah" nillable="true" type="xsd:string"/>
<element name="blah2" type="xsd:int"/>
</sequence>
</complexType>
<complexType name="InnerTest1">
<sequence>
<element name="foos" nillable="true" type="impl:InnerTest2" maxOccurs="unbounded"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
1.2
----------------------------------------------------------------------
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://DefaultNamespace">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="InnerTest2">
<sequence>
<element name="blah" nillable="true" type="xsd:string"/>
<element name="blah2" type="xsd:int"/>
</sequence>
</complexType>
<complexType name="ArrayOfInnerTest2">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="impl:InnerTest2[]"/>
</restriction>
</complexContent>
</complexType>
<complexType name="InnerTest1">
<sequence>
<element name="foos" nillable="true" type="impl:ArrayOfInnerTest2"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira