Loading ...
Sorry, an error occurred while loading the content.

Definitions of Arrays

Expand Messages
  • Tony Hong
    And while we re talking about WSDL arrays... In http://www.xmethods.net/sd/XMethodsListingsService.wsdl I have an array defined like this:
    Message 1 of 1 , Feb 6, 2001
    • 0 Attachment
      And while we're talking about WSDL arrays...
      In http://www.xmethods.net/sd/XMethodsListingsService.wsdl

      I have an array defined like this:

      <element name="itemArray">
      <complexType name="ArrayOfSOAPService" base="soap:Array">
      <all>
      <element name="item" type="xsdl:SOAPService" />
      </all>
      </complexType>

      But I now believe this is incorrect, since <all> groupings allow
      only 0 or 1 occurences of the enclosed element, in this case <item> -
      which isn't right for an array.

      So instead, <sequence> should be used rather than <all>

      Is everyone in agreement with this reassessment?

      Thanks!

      Tony




      ----------------------------------------
      XMethods Web Services Listings
      http://www.xmethods.net
    Your message has been successfully submitted and would be delivered to recipients shortly.