Ask a Question related to ASP.NET Web Services, Design and Development.
-
David Talbot #1
WSE 2.0 DIME Streaming Problem
I'm attempting to use the WSE 2.0 DimeReader/DimeWriter extensions to
implmenent a file server service for importing/exporting large files from our
data warehousing application. Obviously transferring 500mb+ files can't be
done in huge chunks buffered entirely in memory therefore I came across WSE's
promised capabililty of DIME Streaming using DimeReader/DimeWriter.
Unfortunetely if I'm to believe google, I could well be the only person to
ever actually use this API, there is almost no information out there on it
and what does exist is incomplete.
The problem at this point is I'm using the function "WriteToDime" and
"ReadFromDime" as specificed in apparently the only article on the net about
it
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwse/html/wsedime.asp[/url]
But it doesn't say exactly when to call these. Before or after the web
service request? How? I've tried both and I'm persistently getting the
following error:
WSE343: The DimeWriter cannot write to the specified stream.
Google is no help, I've searched on both WSE343 and the error message itself
and nothing... Help?
David Talbot Guest
-
video streaming problem
Hi guys. I'm new here, and relatively new to FMS. I have run into a problem which i was hoping someone could help me with... I have set up a FMS... -
Streaming FLV Problem
Hi, I have problem with it. I'm very new in FMS2 and no background in FCS as well. I've tried to test my application through FMS2 by using... -
streaming .flv problem
When i stream .flv i have no image, only white background but when i try in progressive work without problem!! Anyone have a idea? thx -
streaming problem
Hi, Im having a mental block and I cant figure out what Im missing. I just want a progress bar for a range of frames in my streaming movie, but I... -
STREAMING problem help me!
i have a move with 500 frames i publish it in to a DCR file. in frame 1 i have a menu which can send the playback head to frame 400! how can i tell... -
Georgi Vajarov #2
RE: WSE 2.0 DIME Streaming Problem
I ran into the same problem so I reverted back to the good old HTTPRequest
object. I understand that this is not the approach u wanted to take but it
works - I am uploading 200M+ file to a web service using this method.
Here is a code snippet:
HttpWebRequest request = WebRequest.Create(_svc.Url) as HttpWebRequest;
request.Method = "POST";
request.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services
Client Protocol 1.1.4322.2032)";
request.Timeout = 4000000; // approx. 1hour
request.ContentType = "text/xml; charset=utf-8";
request.Headers.Add(action);
request.AllowWriteStreamBuffering = false;
request.SendChunked = true;
Of a particular interest are the last two properties of the request obj.
This will make sure you are submitting the chunks without buffering them
first.
Also, I added the following in the web.config file of the webservice:
<configuration>
Georgi Vajarov Guest



Reply With Quote

