Re: Webservice or not Advice



Http is not a guarantted protocol though. You may want to consider sending a
'hash' code of the dataset (or even the string representation of it, as
longas the client does the same) as a aecondary argument. The client can
also calculate a hash value once the dataset is received. If the 2 values
match, then the dataset is valid and has been fully transferred. The client
can also send that hash code back to the server as an acknowledgement that
everything has been received ok.

--

- Paul Glavich
ASP.NET MVP
ASPInsider (www.aspinsiders.com)


"Klaus H. Probst" <usenet001@xxxxxxxxxxxxx> wrote in message
news:%23wVuMmeWFHA.2256@xxxxxxxxxxxxxxxxxxxxxxx
> The call should be "atomic" in that the HTTP request should not return
until
> everything is downloaded to the client, so I wouldn't worry about that
> specifically.
>
> If the dataset is big then you might also want to compress it (after all,
> XML compresses very well) and return it as an array of bytes. This will
save
> you quite a bit of bandwidth and time.
>
>
> --
> Klaus H. Probst, MVP
> http://www.simulplex.net/
>
>
> "JJ" <JJ@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:1AD41464-ACC1-41B8-A7F4-406D51A095D5@xxxxxxxxxxxxxxxx
> > Hi,
> >
> > I have a situation where I have a Rich Client Win Form App built in
C#
> > and I need to transport a dataset across the internet to a webservice in
> > asp.net. Database is Sql Server sitting on the same webserver. Now the
> > problem resides in the connection type. He is using a satellite
connection
> to
> > internet. I'm wondering since im calling up a webservice to pass a
> dataset,
> > there might be a lag that causes the dataset not to be completely sent.
> What
> > method or design should I use in order to make sure dataset arrives to
the
> > webservice completely? The dataset will be about 20 to 25 records with
20
> > fields per record. Also how can I make sure that the remote database
gets
> > updated from the dataset? Should I have a method in webservice that
takes
> one
> > or two records from dataset and remotely checks database for existence?
> Does
> > anybody have any code examples that basically do what I'm talking about
> here?
> >
> > Thanks,
> >
> > JJ
>
>


.



Relevant Pages

  • Not able to successfully call a webservice created in c# in python.
    ... I have created a webservice in C# which I am able to call in win Form ... client but when I call it using python it gives http 415 error. ...
    (comp.lang.python)
  • RE: How to access web service
    ... to achieve that you whould use the Http*.* Win32 APIs ... and access the WebService using "Get", another thing you can do is to ... > I need to dynamically create a webservice client object and call the method in the web service. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Socket Server with Encryption help
    ... After reading your post I got a very strong suspicion that regardless of your saying that you read "a lot of papers about Symmetric, Asymmetric, Hash, Envelope and Signature" you didn't read even distantly enough to be able to implement something even distantly secure. ... The classical paper on three party authenticated protocols design was written by Needham and Schroeder "Using encryption for authentication in large networks of computers" in 1978, where they described several protocols, one of witch was modified, strengthened and extended a bit later to become what is now known as Kerberos. ... I've started to develop a server and client socket classes with encryption. ...
    (microsoft.public.dotnet.security)
  • Re: WSE352 Size of the record exceed its limit
    ... The webservice is a WSE service component soap client. ... you're developing an .net webservice which uses WSE ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Error on SOAP Call on only one machine: Could not find default endpoint element that references
    ... "Service Reference" is a proxy class used for consuming WCF service. ... Though WCF client can also consume standard XML webservice, ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.languages.vb)