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

4058RE: [soapbuilders] Question: vs for Struct Field s

Expand Messages
  • graham glass
    Jun 26, 2001
    • 0 Attachment
      hmmmmmm, maybe we should stick with <all> then!

      GLUE still uses <all>, but it's scheduled to switch to
      <sequence> in the next release.

      any feedback is most welcome!

      cheers,
      graham

      -----Original Message-----
      From: Simon Fell [mailto:sfell@...]
      Sent: Tuesday, June 26, 2001 9:52 PM
      To: 'soapbuilders@yahoogroups.com'
      Subject: RE: [soapbuilders] Question: <all> vs <sequence> for Struct
      Field s


      The prose definition of struct in the SOAP Spec (for section 5 encodings
      anyway), indicates that child element name not order is important, <all> is
      much closer to that definition that <sequence> and I think most WSDL
      generates use <all>.

      Cheers
      Simon

      -----Original Message-----
      From: YU,KEVIN (HP-FtCollins,ex1) [mailto:kevin_yu2@...]
      Sent: Tuesday, June 26, 2001 7:29 PM
      To: 'soapbuilders@yahoogroups.com'
      Subject: [soapbuilders] Question: <all> vs <sequence> for Struct Fields


      Hi,
      We are working on WSDL generation. The following two schemas are both valid
      for representing a Struct, however, is there a preferred one? why and on
      what use case?

      1)
      <complexType name="SOAPStruct">
      <sequence>
      <element name="varString" type="string" />
      <element name="varInt" type="int" />
      <element name="varFloat" type="float" />
      </sequence>
      </complexType>

      2)
      <complexType name="SOAPStruct">
      <all>
      <element name="varString" type="string" />
      <element name="varInt" type="int" />
      <element name="varFloat" type="float" />
      </all>
      </complexType>

      Thanks.

      -Kevin
      HP SOAP

      To unsubscribe from this group, send an email to:
      soapbuilders-unsubscribe@yahoogroups.com



      Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


      To unsubscribe from this group, send an email to:
      soapbuilders-unsubscribe@yahoogroups.com



      Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    • Show all 11 messages in this topic