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 R_...@southrelay02.raleigh.ibm.com on 2001/11/12 15:51:16 UTC

DELIVERY FAILURE: Enhanced Mail System Status Code (RFC1893): 5.1.2

Your message

  Subject: WSDL Array Types

was not delivered to:

  axis-dev@xml-apache.org

because:

  Enhanced Mail System Status Code (RFC1893): 5.1.2

Reporting-MTA: dns; over.ny.us.ibm.com
Arrival-Date: Fri, 9 Nov 2001 17:28:56 -0500

Final-Recipient: RFC822; axis-dev@xml-apache.org
Action: failed
Status: 5.1.2
Remote-MTA: DNS; xml-apache.org
Last-Attempt-Date: Sat, 10 Nov 2001 08:21:23 -0500

----- Message from "R J Scheuerle Jr" <sc...@us.ibm.com> on Fri, 9 Nov 2001
16:31:30 -0600 -----
                                  
      To: axis-dev@xml-apache.org 
                                  
 Subject: WSDL Array Types        
                                  

JAX-RPC  requires the Wsdl2Java emitter to support the following three
array styles:

-----------------------------------------------
Style 1: (use of soapenc:Array type)
<element name="foo"  type="soapenc:Array" />

Emitter should represent foo as an Object[ ].

-----------------------------------------------
Style 2: (derivation of soapenc:Array)
<complexType name="foo2" >
  <complexContent>
    <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="something[]"/>
    </restriction>
  <complexContent>
</complexType>

Emitter should represent foo2 as something[].

-----------------------------------------------
Style 3: (derivation style 2)

<complexType name="foo3" >
  <complexContent>
    <restriction base="soapenc:Array">
      <sequence>
        <element name="duh" maxOccurs="unbounded" type="otherthing" />
      </sequence>
    </restriction>
  <complexContent>
</complexType>

Emitter should represent foo3 as otherthing[].

------------------------------------------------

I am about to commit the changes to the wsdl emitter for Style 1, and
I am adding an array test that tests Style 1.

Next week I plan to add the changes for Style 2 & 3 (and update the
testcase).

Have a good weekend.

Rich Scheuerle
ORB/IDLC Development
512-838-5115  (TL 678-5115)