Hello, Our project is using an Axis web service with a .NET (C#) client. We're using DIME attachments for transferring files. The client is able to upload files fine (tested up to 50MB files), but downloads from the server only work for files less than 4MB. My understanding is that files over 4MB will be chunked, which is exactly what we want. The problem comes when we try to read the chunk flag of the DIME header. Here is the C# code that we are trying to use to check the chunk flag:
webService.EndsendAttachToClient(ar); if (webService.ResponseSoapContext.Attachments.Count == 1) { DimeReader dr = new DimeReader(webService.ResponseSoapContext.Attachments[0].Stream); DimeRecord rec = dr.ReadRecord();//throws error on attempted read MessageBox.Show("Chunked: " + rec.Chunked.ToString()); ... The call to DimeReader.ReadRecord() throws the following exception: Microsoft.Web.Services2.Dime.DimeFormatException: WSE306: The DIME record should have the following version: 1. Instead, the DIME record contained the following version: 12. at Microsoft.Web.Services2.Dime.DimeRecord.ReadHeader() When checking Google for some help, I could only find errors that stated the record contained version 7, instead of 12 like ours. Even still, those problems didn't seem to match up with ours. Does anyone have an explanation for this? Any help would be appreciated. Our setup: Axis version 1.2.1, applied patch from http://issues.apache.org/jira/browse/AXIS-2084?page=comments#action_1231 5937 for dime attachments. Using .NET Web Services Enhancements 2.0 Thanks, Jonathan Boston Software Engineer Anautics, Inc. One N Hudson Ste 200-W Oklahoma City, OK 73102 405.228.4985 [EMAIL PROTECTED]