469,602 Members | 1,798 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

Send DataTable from Client to WebService using DIME

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
4 5698
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
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
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
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.

Similar topics

reply views Thread by Willem | last post: by
1 post views Thread by amy | last post: by
5 posts views Thread by tommaso.gastaldi | last post: by
9 posts views Thread by jsoques | last post: by
5 posts views Thread by =?Utf-8?B?SmFrb2IgTGl0aG5lcg==?= | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.