473,396 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Is it OK to transfer DataSet with WebService?

ad
I want to use WebServer to receive a DataSet from Client with internet.

The DataSet is some bigger, there are 50 fields and about 50000 rows in it.

Is it OK to do so? Will DotFrameWork or IIS compress the tream when
transferring?

Nov 19 '05 #1
10 1602
Hi,

try the following: Save the XML representation of the ds to file and
compress it yourself. Then check how big it is and think! IMHO sending a
dataset this huge over the wire is NOT an appropriate solution!

Regards

Daniel
"ad" <fl****@wfes.tcc.edu.tw> schrieb im Newsbeitrag
news:eh*************@TK2MSFTNGP10.phx.gbl...
I want to use WebServer to receive a DataSet from Client with internet.

The DataSet is some bigger, there are 50 fields and about 50000 rows in
it.

Is it OK to do so? Will DotFrameWork or IIS compress the tream when
transferring?

Nov 19 '05 #2
ad

Thanks,
Can we send zip file over WebService?

"Daniel Walzenbach" <da***************@newsgroup.nospam> ¼¶¼g©ó¶l¥ó·s»D:%2***************@TK2MSFTNGP10.phx. gbl...
Hi,

try the following: Save the XML representation of the ds to file and
compress it yourself. Then check how big it is and think! IMHO sending a
dataset this huge over the wire is NOT an appropriate solution!

Regards

Daniel
"ad" <fl****@wfes.tcc.edu.tw> schrieb im Newsbeitrag
news:eh*************@TK2MSFTNGP10.phx.gbl...
I want to use WebServer to receive a DataSet from Client with internet.

The DataSet is some bigger, there are 50 fields and about 50000 rows in
it.

Is it OK to do so? Will DotFrameWork or IIS compress the tream when
transferring?


Nov 19 '05 #3
Sending ZIPS is not what using web services is all about. Your data set may
not be too big, it depends on how much data and how frequently you need to
send it. But you need as pointed out before to re-think your strategy and
work out if this is the smartest move.

--
Best Regards

The Inimitable Mr Newbie º¿º
"ad" <fl****@wfes.tcc.edu.tw> wrote in message
news:eN**************@TK2MSFTNGP10.phx.gbl...

Thanks,
Can we send zip file over WebService?

"Daniel Walzenbach" <da***************@newsgroup.nospam>
¼¶¼g©ó¶l¥ó·s»D:%2***************@TK2MSFTNGP10.phx. gbl...
Hi,

try the following: Save the XML representation of the ds to file and
compress it yourself. Then check how big it is and think! IMHO sending a
dataset this huge over the wire is NOT an appropriate solution!

Regards

Daniel
"ad" <fl****@wfes.tcc.edu.tw> schrieb im Newsbeitrag
news:eh*************@TK2MSFTNGP10.phx.gbl...
I want to use WebServer to receive a DataSet from Client with internet.

The DataSet is some bigger, there are 50 fields and about 50000 rows in
it.

Is it OK to do so? Will DotFrameWork or IIS compress the tream when
transferring?



Nov 19 '05 #4
Think about what your asking to do.........

A web service is just a web page, with exposed methods that can be called
via a local proxy. So, if you could transfer a dataset in and out of a
method, then you can transfer one in and out of a webservice. An
alternative, is to turn the dataaset into a file and upload that, rather
than calling a remote method with dataset as an argument. Try it first and
see what the impact is before you try and reinvent anything.

The problem you may likely have is one of size, timeout and deadlocked
application state - so you might want to read about large file upload
timeouts to see what the impact of any large file transmission might be on a
webserver. http://support.microsoft.com/default...b;EN-US;841557

You can of course turn your datasetr into an actual file, and transmit the
file using an upload.

http://www.webserviceresource.com/re...resourceid=443

....a good solution for large file transmission would be to chunk the file
into pieces, and transmit lots of small pieces.

http://www.codeproject.com/cs/webser...eredUpload.asp

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"ad" <fl****@wfes.tcc.edu.tw> wrote in message
news:eh*************@TK2MSFTNGP10.phx.gbl...
I want to use WebServer to receive a DataSet from Client with internet.

The DataSet is some bigger, there are 50 fields and about 50000 rows in
it.

Is it OK to do so? Will DotFrameWork or IIS compress the tream when
transferring?

Nov 19 '05 #5
Something else to consider is interoperability. DataSets only work
easily when .NET is on both sides of the wire.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sat, 5 Nov 2005 18:50:09 +0800, "ad" <fl****@wfes.tcc.edu.tw>
wrote:
I want to use WebServer to receive a DataSet from Client with internet.

The DataSet is some bigger, there are 50 fields and about 50000 rows in it.

Is it OK to do so? Will DotFrameWork or IIS compress the tream when
transferring?


Nov 19 '05 #6
Your Dr. Mandelbrot post seems a tad dubious if you were to ask me! I'm sure
that his light wave equation would have gone into a bit of a wobble had he
read this !

On the subject of stars, it appears Andromeda is heading towards us at a
colossal rate,and if this doesn't get us then a Super Massive Black Hole at
the centre of our galaxy has begun to feed on gas again, and is glowing
white around the edges; so this has the potential to be yet another sign of
impending doom. If we dont get eaten alive and compressed into an infinately
dense point, then we will be vapourised in an instant.

Dont hold your breath though, the Black Hole is twenty four light years
away, and Andromeda is not due to collide with us for another three billion
years.

PS : You have a typo in that post.
//
"Read the find print", he said,
\\

ed - O^O

Best Regards

The Inimitable Mr Newbie º¿º
----------

________________________________________
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:0d********************************@4ax.com...
Something else to consider is interoperability. DataSets only work
easily when .NET is on both sides of the wire.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sat, 5 Nov 2005 18:50:09 +0800, "ad" <fl****@wfes.tcc.edu.tw>
wrote:
I want to use WebServer to receive a DataSet from Client with internet.

The DataSet is some bigger, there are 50 fields and about 50000 rows in
it.

Is it OK to do so? Will DotFrameWork or IIS compress the tream when
transferring?

Nov 19 '05 #7
> Dont hold your breath though, the Black Hole is twenty four light years
away, and Andromeda is not due to collide with us for another three
billion years.
....and as Dr. Mandelbrot would say, "there's many a slip twixt the cup and
the lip." Or was that Dr. Heisenberg?

--
;-),

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Mr Newbie" <he**@now.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl... Your Dr. Mandelbrot post seems a tad dubious if you were to ask me! I'm
sure that his light wave equation would have gone into a bit of a wobble
had he read this !

On the subject of stars, it appears Andromeda is heading towards us at a
colossal rate,and if this doesn't get us then a Super Massive Black Hole
at the centre of our galaxy has begun to feed on gas again, and is glowing
white around the edges; so this has the potential to be yet another sign
of impending doom. If we dont get eaten alive and compressed into an
infinately dense point, then we will be vapourised in an instant.

Dont hold your breath though, the Black Hole is twenty four light years
away, and Andromeda is not due to collide with us for another three
billion years.

PS : You have a typo in that post.
//
"Read the find print", he said,
\\

ed - O^O

Best Regards

The Inimitable Mr Newbie º¿º
----------

________________________________________
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:0d********************************@4ax.com...
Something else to consider is interoperability. DataSets only work
easily when .NET is on both sides of the wire.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sat, 5 Nov 2005 18:50:09 +0800, "ad" <fl****@wfes.tcc.edu.tw>
wrote:
I want to use WebServer to receive a DataSet from Client with internet.

The DataSet is some bigger, there are 50 fields and about 50000 rows in
it.

Is it OK to do so? Will DotFrameWork or IIS compress the tream when
transferring?


Nov 19 '05 #8
IF Dr. Heisenberg knew where the cup was,
he couldn't know where his lips were.

;-)

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:eE****************@TK2MSFTNGP12.phx.gbl...
Dont hold your breath though, the Black Hole is twenty four light years away, and
Andromeda is not due to collide with us for another three billion years.
...and as Dr. Mandelbrot would say, "there's many a slip twixt the cup and the lip." Or
was that Dr. Heisenberg?

--
;-),

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Mr Newbie" <he**@now.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Your Dr. Mandelbrot post seems a tad dubious if you were to ask me! I'm sure that his
light wave equation would have gone into a bit of a wobble had he read this !

On the subject of stars, it appears Andromeda is heading towards us at a colossal
rate,and if this doesn't get us then a Super Massive Black Hole at the centre of our
galaxy has begun to feed on gas again, and is glowing white around the edges; so this
has the potential to be yet another sign of impending doom. If we dont get eaten alive
and compressed into an infinately dense point, then we will be vapourised in an
instant.

Dont hold your breath though, the Black Hole is twenty four light years away, and
Andromeda is not due to collide with us for another three billion years.

PS : You have a typo in that post.
//
"Read the find print", he said,
\\

ed - O^O

Best Regards

The Inimitable Mr Newbie º¿º
----------

________________________________________
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:0d********************************@4ax.com...
Something else to consider is interoperability. DataSets only work
easily when .NET is on both sides of the wire.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sat, 5 Nov 2005 18:50:09 +0800, "ad" <fl****@wfes.tcc.edu.tw>
wrote:

I want to use WebServer to receive a DataSet from Client with internet.

The DataSet is some bigger, there are 50 fields and about 50000 rows in it.

Is it OK to do so? Will DotFrameWork or IIS compress the tream when
transferring?



Nov 19 '05 #9
I have often beleived that this principle is demonstrated in every day life.
Sometimes when I go to debug a problem, it disapears. When I'm not looking,
it comes back.

--
Best Regards

The Inimitable Mr Newbie º¿º

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:e7***************@TK2MSFTNGP10.phx.gbl...
IF Dr. Heisenberg knew where the cup was,
he couldn't know where his lips were.

;-)

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:eE****************@TK2MSFTNGP12.phx.gbl...
Dont hold your breath though, the Black Hole is twenty four light years
away, and Andromeda is not due to collide with us for another three
billion years.

...and as Dr. Mandelbrot would say, "there's many a slip twixt the cup
and the lip." Or was that Dr. Heisenberg?

--
;-),

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Mr Newbie" <he**@now.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Your Dr. Mandelbrot post seems a tad dubious if you were to ask me! I'm
sure that his light wave equation would have gone into a bit of a wobble
had he read this !

On the subject of stars, it appears Andromeda is heading towards us at a
colossal rate,and if this doesn't get us then a Super Massive Black
Hole at the centre of our galaxy has begun to feed on gas again, and is
glowing white around the edges; so this has the potential to be yet
another sign of impending doom. If we dont get eaten alive and
compressed into an infinately dense point, then we will be vapourised in
an instant.

Dont hold your breath though, the Black Hole is twenty four light years
away, and Andromeda is not due to collide with us for another three
billion years.

PS : You have a typo in that post.
//
"Read the find print", he said,
\\

ed - O^O

Best Regards

The Inimitable Mr Newbie º¿º
----------

________________________________________
"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:0d********************************@4ax.com...
Something else to consider is interoperability. DataSets only work
easily when .NET is on both sides of the wire.

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sat, 5 Nov 2005 18:50:09 +0800, "ad" <fl****@wfes.tcc.edu.tw>
wrote:

>I want to use WebServer to receive a DataSet from Client with internet.
>
>The DataSet is some bigger, there are 50 fields and about 50000 rows in
>it.
>
>Is it OK to do so? Will DotFrameWork or IIS compress the tream when
>transferring?
>
>



Nov 19 '05 #10
On Sun, 6 Nov 2005 08:28:31 -0000, "Mr Newbie" <he**@now.com> wrote:

PS : You have a typo in that post.
//
"Read the find print", he said,
\\


Damn, I hate typos. Thanks for pointing that out!

--
Scott
http://www.OdeToCode.com/blogs/scott/
Nov 19 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Programatix | last post by:
Hi, I'm working on a project which includes WebServices and Windows Form application. The Windows Form application will call the WebServices to retrieve data from database. The data will be...
1
by: Andy | last post by:
Hello, I have a WebService that sends a client a DataSet as XML (I use a DataSet.GetXml to get the XML). The DataSet is filled by a DataAdapter in the WebService. The client coverts the XML Back...
8
by: shin | last post by:
hi i have an asp.net page and i am trying to transfer control to another asp.net page response.redirect works fine but server.transfer gives me the foll error why is that ...
0
by: Sanjay | last post by:
I have a question whose answer will help me save a lot of time in investigation and implementation. Becuase we have a mix of platforms (Windows/Unix etc) in our environment I would like to...
5
by: BobAchgill | last post by:
Can you point me to a simple example of how to transfer a file (send or receive) using a webservice. Thanks! Bob PS. Pardon my double posting. I also posted to the webservices forum.
2
by: Anthony Malt | last post by:
Hi, my server has a database table. I read this table on the server into a dataset and my client retrieves it through a webservice. No changes on the client and server happen. What's the best...
13
by: Maxwell2006 | last post by:
Hi, We are having a debate over using DataSet as return value type for web services. The problem is that we don't know whether Java applications can use DataSet
0
by: shachar8 | last post by:
hi all. i know i can transfer DataSet in my webService, but how can i transfer DataTable? when doing so i get a strage errormsg.
5
by: acx | last post by:
Dear Group, I have got some XML code which I need to send from my SQL Server database to some remote application server via POST method. The application server will return XML code as well and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.