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

5140Re: [soapbuilders] Re: Sparse array interoperability

Expand Messages
  • Andrew Layman
    Aug 31, 2001
    • 0 Attachment
      Thanks. This thread, with the explicit connection to DCE, adds a lot to the

      Andrew Layman
      http://strongbrains.com -- Resources for Self-Education
      ----- Original Message -----
      From: "Rich Salz" <rsalz@...>
      To: "Bob Cunnings" <cunnings@...>
      Cc: <soapbuilders@yahoogroups.com>
      Sent: Friday, August 31, 2001 5:41 PM
      Subject: Re: [soapbuilders] Re: Sparse array interoperability

      > Let me try to rephrase this. What you are saying is that the sparse
      > array is the result of a "masking" operation of sorts on a source
      > array?.

      Sort of.

      Think of it more like each side allocates the whole array, but only part
      of it is transmitted at any one time.

      Using the "hello world" of web serivces: stock quotes.

      Client connects to server and sends up a list of 200 stocks it's
      interested in. It sends up an array of <ticker,last-known-price>.

      Later on, client sends "gimme the big gainers" request. Server sends
      down a sparse array of <ticker,last-known-price>. The client
      application can just unpack that array directly on top of the client's
      previous copy, updating only the changed values. In this case, sparse
      arrays are used for "transmitting delta's".

      Another application is search a huge crypto keyspace, or SETI@HOME.
      Everyone gets an array with "the big picture," but each worker machine
      gets a sparse array that has the set of data they are working on. This
      used to be real popular in the early days of distributed computing with
      RPC/mandelbrot demos.

      > 5. Echo back as a sparse array.
      > int[1] = 1, int[3] = 2, size = 4
      > => int[1] = 1, int[3] = 2, size = 4

      I believe that yes, this is what you have to do. Unless of course you
      change the WSDL array definition to have a default value.

      Hope this helps.
      Zolera Systems, Securing web services (XML, SOAP, Signatures,

      This group is a forum for builders of SOAP implementations to discuss
      implementation and interoperability issues. Please stay on-topic.

      To unsubscribe from this group, send an email to:

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