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! 4 5882
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!
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!
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!
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! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Willem |
last post by:
Hi,
I'm not sure if this is the right place for my question, but I am having
some problems with webservices. I am trying to use classic asp to consume a
webservice that requires DIME messages...
|
by: amy |
last post by:
what is the method to send a binary file to a client from
a webservice ?
what is the method to receive/download this binary file
and save it
to the local machine in a client application ?
THANKS!
|
by: Levi Wilson |
last post by:
I have a web service that adds a DIME attachment:
public void GetFile(string filename)
{
SoapContext sc = HttpSoapContext.ResponseContext;
DimeAttachment dimeFile = new...
|
by: Bob Davies |
last post by:
Hi
I have a webservice that retrieves data from a database, this is then
returned to the calling client application built in windows forms within a
dataset, however upon attempting to create...
|
by: A.M |
last post by:
Hi,
Is there any way to call a WSS web service method by using browser and see
the XML result in browser as well?
I have been told that there is query string syntax for calling...
|
by: daryl |
last post by:
I have a situation where a webservice has worked fine in a development
environment, but when placed into production has stopped working
(although at one time it was).
Using WSE 2.0/DIME, we...
|
by: tommaso.gastaldi |
last post by:
Hi. I have been implementing a simple email notification system using
the
handy class SmtpClient:
With SmtpClient
.Host =MailServer
.Send(MailMessage)
'...
now my client is asking also for...
|
by: jsoques |
last post by:
Hello, I created a Web Service using .Net 2.0 that has a function that
returns a DataTable. I can test the function from the web page when I access
the .asmx from a browser on localhost and it...
|
by: =?Utf-8?B?SmFrb2IgTGl0aG5lcg==?= |
last post by:
I have never sent attachment with webservices.
Yesterday I got the challenge to redesign my solution that sends large XML
structures to a Java webservice. The reason was that the Java SOAP...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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
|
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...
|
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|
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,...
|
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...
| |