WSE 2.0 DIME Streaming Problem

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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
    4. 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...
    5. 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...
  3. #2

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139