axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-...@ws.apache.org
Subject [jira] Created: (AXIS-1564) Java2WSDL no longer generates Schema types for arrays
Date Tue, 21 Sep 2004 18:28:38 GMT
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


Mime
View raw message