WebService, binary data

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mateusz [PEYN] Adamus

    #1

    WebService, binary data

    Hi

    I was wondering is there any sense in this idea:


    Instead of just sending selects to the database server and getting
    response in the normal way I could make a webservice on the server, send
    the reqest to it and in the response get the zipped dataset.


    Thanks to it number of send data would be smaller then in the normal way
    - right?


    Other question - is it possible at all?? :D


    I found something called DIME but is there a way to zip a DataSet before
    transfering it?

    best regards
    Mateusz [PEYN] Adamus
  • Lebesgue

    #2
    Re: WebService, binary data

    Of course, it is possible.
    Serialized DataSet is no more than an array of bytes, and any array of bytes
    can be zipped.
    WebMethods can return byte arrays, so there is no problem.

    SharpZipLib allows one to zip files
    ICSharpCode has 20 repositories available. Follow their code on GitHub.


    "Mateusz [PEYN] Adamus" <peyn_ST0p_SP4M @tlen.pl> wrote in message
    news:d6f3bq$jao $2@nemesis.news .tpi.pl...[color=blue]
    > Hi
    >
    > I was wondering is there any sense in this idea:
    >
    >
    > Instead of just sending selects to the database server and getting
    > response in the normal way I could make a webservice on the server, send
    > the reqest to it and in the response get the zipped dataset.
    >
    >
    > Thanks to it number of send data would be smaller then in the normal way
    > - right?
    >
    >
    > Other question - is it possible at all?? :D
    >
    >
    > I found something called DIME but is there a way to zip a DataSet before
    > transfering it?
    >
    > best regards
    > Mateusz [PEYN] Adamus[/color]


    Comment

    • AMALORPAVANATHAN YAGULASAMY(AMAL)

      #3
      RE: WebService, binary data

      Refer the followng article,


      Regards,
      Amal

      "Mateusz [PEYN] Adamus" wrote:
      [color=blue]
      > Hi
      >
      > I was wondering is there any sense in this idea:
      >
      >
      > Instead of just sending selects to the database server and getting
      > response in the normal way I could make a webservice on the server, send
      > the reqest to it and in the response get the zipped dataset.
      >
      >
      > Thanks to it number of send data would be smaller then in the normal way
      > - right?
      >
      >
      > Other question - is it possible at all?? :D
      >
      >
      > I found something called DIME but is there a way to zip a DataSet before
      > transfering it?
      >
      > best regards
      > Mateusz [PEYN] Adamus
      >[/color]

      Comment

      Working...