473,791 Members | 2,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Thinking about the WSE DIME ? URGENT !

Hi All,
I want to create a webservice which will be used for uploading the
file to the server hosting the Web service.
I want to use WSE DIME Attachments..
I have seen some sample on that , but
Note :
1. I want to upload file upto 50 MB ? This is possible with DIME/WSE. but
this will be achieved
using Chunking ? how can I achieve Chunking in my application is it inbuilt
feature or I have to write the complete code for this ?
2. I am using WSE 1.0 with .net 1.1
what is the best approach to achieve this ?
If any body have implemented plz help ?

Thanks in advance

Nov 21 '05 #1
2 1652

"Abhay" <Ab***@discussi ons.microsoft.c om> wrote in message
news:6D******** *************** ***********@mic rosoft.com...
Hi All,
I want to create a webservice which will be used for uploading the
file to the server hosting the Web service.
I want to use WSE DIME Attachments..
I have seen some sample on that , but
Note :
1. I want to upload file upto 50 MB ? This is possible with DIME/WSE. but
this will be achieved
using Chunking ? how can I achieve Chunking in my application is it inbuilt feature or I have to write the complete code for this ?
50MB is a lot. The practical limit for a SOAP transport burst is about 3MB,
2MB probably being better.
2. I am using WSE 1.0 with .net 1.1
what is the best approach to achieve this ?


Well, you can use WSE 1 or 2 (I'd go with 2 as they've fixed some bugs), but
you'll have to write code that maintains state between POSTs from the client
as you transfer each chunk up to the server. Maybe a token of some kind,
maybe something tied to a session. There's lots of ways to do it really.
Actually, if this is basically an upload service I'd think of going with a
straight socket R/W scheme, maybe still over HTTP but not with SOAP.
--
Klaus H. Probst, MVP
http://www.vbbox.com/
Nov 21 '05 #2
Hi Klaus,
Actually i have to make a web service which enables me to upload a
file up to 50 MB. and as i have read from WSE dime articles on the net, It
says that we can upload attachmets up to 3 GB ..
What i want it to implemt that..
I have tired some samples but unable to uplaod more than 4 MB ?

Plz help..

Andy
"Klaus H. Probst" wrote:

"Abhay" <Ab***@discussi ons.microsoft.c om> wrote in message
news:6D******** *************** ***********@mic rosoft.com...
Hi All,
I want to create a webservice which will be used for uploading the
file to the server hosting the Web service.
I want to use WSE DIME Attachments..
I have seen some sample on that , but
Note :
1. I want to upload file upto 50 MB ? This is possible with DIME/WSE. but
this will be achieved
using Chunking ? how can I achieve Chunking in my application is it

inbuilt
feature or I have to write the complete code for this ?


50MB is a lot. The practical limit for a SOAP transport burst is about 3MB,
2MB probably being better.
2. I am using WSE 1.0 with .net 1.1
what is the best approach to achieve this ?


Well, you can use WSE 1 or 2 (I'd go with 2 as they've fixed some bugs), but
you'll have to write code that maintains state between POSTs from the client
as you transfer each chunk up to the server. Maybe a token of some kind,
maybe something tied to a session. There's lots of ways to do it really.
Actually, if this is basically an upload service I'd think of going with a
straight socket R/W scheme, maybe still over HTTP but not with SOAP.
--
Klaus H. Probst, MVP
http://www.vbbox.com/

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1499
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 for input. The dime messages contain xml data and sometimes jpeg images. My problem is to generate the DIME messages. I can generate xml using my asp page, the only problem is to transform this into a DIME message. Are there any (custom)...
1
1988
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 DimeAttachment("application/DIME", TypeFormatEnum.MediaType, @"c:\temp\" + filename); sc.Attachments.Add(dimeFile);
3
3608
by: Vai2000 | last post by:
Thanks for all responses Please advice! Hi All, Clients are uploading large files to my Web Portal. I need to validate these files using a WS. Problem is file sizes are in the range of 5-20MB!!!! Q1. How do I send DIME attachments to the WebSvc from my Portal?
0
1658
by: LearninGuru | last post by:
Hi, I have a situation where I need to return bulky PDF files from a web service method. The easiest way to do this is return base64 encoded strings. But as the PDF files are bulky this would mean that for each web method call the file would have to be loaded into memory for encoding and returning. This will easily turn out to be a performance bottleneck if multiple calls are being made to the web method.
0
1155
by: Stu | last post by:
Hi, I have a 3 tier system using web services I want to attach on the 3rd tier - data access to the middle tier - business rules and call the business rule tier from the front end to get the attachment So the first problem is getting it from the back end tier to the middle tier The middle tier calls the back end tier to get the attachment whci it then streams and reattaches for the front end
1
1436
by: Modica82 | last post by:
Hi all, I have been trying to find a way to send a PDF from my web service. I have had the idea of sending back a byte array, but to be honest the efficiency issue is there and i would like to find another route if possible. I have started to read bits and pieces about DIME and WSE but what i need to know is can i utilise this technology cross platform?? For instance someone who will consume this web service is coding in some form of...
0
1463
by: AndyO | last post by:
Following what is found out at http://www.gotdotnet.com/team/xml_wsspecs/dime/WSDL-Extension-for-DIME.htm for composing my WSDL, when using the wsdl.exe, I can't seem to get around the error message: "Error: one or more required WSDL extension elements were ignored. Errors were encountered. Review generated source comments for more details." More specifically, for each of the binding places (inside wsdl:output/wsdl:input) where I use:
3
4005
by: Matt B | last post by:
Does anyone know if DIME is available for Visual Studio.NET 2005? I have Visual Studio.NET 2003 and I installed the Web Services Extension pack 2.0 in order that I could use DIME. Seems to work well. I'll probably getting VS.NET 2005 soon, which uses Extension pack 3.0. I know this extension pack includes MTOM - supposed to be DIME's successor - but does it also include DIME? Anyone know?
5
3260
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 implementation had problems consuming too large files that way. They encountered a memory leak in the parser that made the whole mainframe environment to crash! So the decided they should go for DIME attachments instead. I use VB.Net in VS2005.
0
9669
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9515
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10154
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9993
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5430
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5558
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4109
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.