By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,681 Members | 1,854 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,681 IT Pros & Developers. It's quick & easy.

Send DataTable from Client to WebService using DIME

P: n/a
Hello,
I've installed WSE2 and succedded to download from WebService DataTable
object, but can't do the oposite. Anyone can help please?
Thanks a lot!
Nov 23 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hello Sean,
You mean you want to send a datatable to the web service? That should be
pretty simple. Just have a mehtod that takes datatable as a parameter

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
Hello,
I've installed WSE2 and succedded to download from WebService
DataTable
object, but can't do the oposite. Anyone can help please?
Thanks a lot!

Nov 23 '05 #2

P: n/a
Hi Dilip,
If this would be so easy, I wouldn't disturb others. The inresting thing is
that when you pass (as an argument) DataTable to WebMethod, it's get clipped
when the size of the data is getting more serious. I've figured out that I
have to send it with DimeAttachment (serialized preveously). It's working
from server to client, but not from client to server... (my client is a
desktop application).
Any idea?

"Dilip Krishnan" wrote:
Hello Sean,
You mean you want to send a datatable to the web service? That should be
pretty simple. Just have a mehtod that takes datatable as a parameter

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
Hello,
I've installed WSE2 and succedded to download from WebService
DataTable
object, but can't do the oposite. Anyone can help please?
Thanks a lot!


Nov 23 '05 #3

P: n/a
Hello Sean,
Instead of doing some complex things like serializing a Datatable and sending
as a soap attachment, you could send a collection (Array) of XmlSerializable
'domain' objects. Data tables are pretty heavy on the metadata since they
have an overhead of maintaining the semantics of a real table.

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
Hi Dilip,
If this would be so easy, I wouldn't disturb others. The inresting
thing is
that when you pass (as an argument) DataTable to WebMethod, it's get
clipped
when the size of the data is getting more serious. I've figured out
that I
have to send it with DimeAttachment (serialized preveously). It's
working
from server to client, but not from client to server... (my client is
a
desktop application).
Any idea?
"Dilip Krishnan" wrote:
Hello Sean,
You mean you want to send a datatable to the web service? That should
be
pretty simple. Just have a mehtod that takes datatable as a parameter
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
Hello,
I've installed WSE2 and succedded to download from WebService
DataTable
object, but can't do the oposite. Anyone can help please?
Thanks a lot!

Nov 23 '05 #4

P: n/a
Hi,
agree, but still, I need to send a table. And I can't figure out how to send
it from desktop client with dime attachment, any idea?
Thanks.

"Dilip Krishnan" wrote:
Hello Sean,
Instead of doing some complex things like serializing a Datatable and sending
as a soap attachment, you could send a collection (Array) of XmlSerializable
'domain' objects. Data tables are pretty heavy on the metadata since they
have an overhead of maintaining the semantics of a real table.

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
Hi Dilip,
If this would be so easy, I wouldn't disturb others. The inresting
thing is
that when you pass (as an argument) DataTable to WebMethod, it's get
clipped
when the size of the data is getting more serious. I've figured out
that I
have to send it with DimeAttachment (serialized preveously). It's
working
from server to client, but not from client to server... (my client is
a
desktop application).
Any idea?
"Dilip Krishnan" wrote:
Hello Sean,
You mean you want to send a datatable to the web service? That should
be
pretty simple. Just have a mehtod that takes datatable as a parameter
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
Hello,
I've installed WSE2 and succedded to download from WebService
DataTable
object, but can't do the oposite. Anyone can help please?
Thanks a lot!


Nov 23 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.