xml-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Quaine" <quaine_nicho...@jpmorgan.com>
Subject Re: WSDL Toolkit and arrays?
Date Mon, 05 Mar 2001 08:41:58 GMT
AFAIK the WSTK will require you to specify your own <types> sections for the
wsdl document (ie. it will not interpret your beans and produce <types> entries)

regardless, here is an example of what a wsdl type spec for an array of strings
might look like

<types>
   <schema targetNamespace="http://myhost:8000/mypath/mywsdlfile.wsdl"
     xmlns="http://www.w3.org/1999/XMLSchema">
      <complexType name="ArrayOfString" base="soap:Array">
          <sequence>
              <element name="item" type="xsd:string"/>
          </sequence>
      </complexType>
   </schema>
</types>

regards,
Nick





gorm.sande@no.abb.com on 03/02/2001 12:05:48 PM

Please respond to soap-user@xml.apache.org

To:   soap-user@xml.apache.org
cc:   (bcc: Nicholas Quaine)
Subject:  WSDL Toolkit and arrays?






The last two days, I've been trying to create complex types that include arrays.
But none of the methods I've tried have resulted in arrays or lists in the
automatically generated Java code (the package that defines the classes that the
proxy class referes to). Does anyone know if it's possible to use arrays
together with the WSDL Toolkit from IBM? And if it's possible, what would the
WSDL code look like?

- Gorm









This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


Mime
View raw message