Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Passing XML data and providing progress to client.

Thread Tools

Passing XML data and providing progress to client.

Posts: n/a
I want to pass chunks of an xml file or an entire xml file to my WS.
I'm surprised to see fro MSDN that no System.Xml class is serializable
(XmlDocument, XmlElement and XmlNode):
- I should use a string as the web method parameter?
- to create the string I should use a stream to read the file or there is a
System.Xml method?
- to validate xml on the WS how can I pass the string to the XmlReader?

To provide progress to client I've seen WSE 2.0 documentation and this

I want to transfer an xml file of N bytes and to update the progress bar
each time N/100 bytes are transferred.
I think I should analyze data transfer, that is detect a transfer of N/100
and update the progress.

When are data transferred: during serialization (each serialized byte is
automatically sent on the wire) or there is another stage after

Why the article use BeforeDeserialize?
I think it is related not to request (data send) but to response that is
when the web method has returned: the article is processing returned data in
my opinion; moreover it is processing a buffer of 8KB of data not data as
they are received N/100 at a time!
In this way the progress goes faster than real even if it starts after data
are received (the progress bar waits and then it fills quickly): this can
simulate progress only if data are much bigger than 8K (at least 160K).

I think it should analyze request not response but I do not know hot to
monitor fisical data transfer of N/100 bytes.

"In order for a SOAP extension to be invoked for a client application, the
SoapExtension class must be configured appropriately. For a Microsoft
Windows Form application, this involves modifying the application's
configuration file."
The problem is I'm using VS 2003 to develop a Windows CE .Net 4.2
application: configuration files does not exist, so how to tell my app to
use my SOAP extension?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
providing progress to client ASP .Net Web Services 3 03-23-2007 09:06 PM
Providing VPN access to police department and to vendors with PIX and ISA 2000 Ned Cisco 4 08-21-2006 03:34 PM
Progress bar to show the progress of a task Charlie Zhang Java 3 08-16-2004 05:53 PM
Providing services for 802.11b and 802.11g on the cisco 1200 access points Chris Davies Cisco 6 06-15-2004 01:42 PM
pipe(), fork(), exec(), ... providing input to and capturing output of a child process Hoegje C++ 2 12-05-2003 04:03 PM