473,568 Members | 2,905 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Send attachment with DIME

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.

Where do I begin?
Should I install WSE 3.0?

It was hard to find examples.
I found some Microsoft artcicles from 2002 and 2003 but no code examples.
When searching this forum for DIME I just received ONE result where the
writer recommended NOT to use DIME attachments .......
Oct 23 '07 #1
5 3236
=?Utf-8?B?SmFrb2IgTGl 0aG5lcg==?= <ja******@noema il.noemailwrote in
news:3A******** *************** ***********@mic rosoft.com:
Where do I begin?
Should I install WSE 3.0?

It was hard to find examples.
I found some Microsoft artcicles from 2002 and 2003 but no code
examples. When searching this forum for DIME I just received ONE
result where the writer recommended NOT to use DIME attachments
.......
DIME is obsolete and no longer supported in WSE 3.0. If you need DIME
support you should install WSE 2.0. DIME has been replaced by MTOM in WSE
3.0 - you should mention this to your Java developers.

Here's an example on how to use DIME (WSE 2.0)

http://www.codeproject.com/cs/webser...eredUpload.asp

Oct 23 '07 #2
Thanks, I will definitely tell him this right away!
I possible I will try to switch to MTOM attachments.
Oct 24 '07 #3
Your summary is correct!
I use .Net Framework 2.0 and have not yet used any of the WSE packages.
This means I can choose WSE 3.0 without hesitation.

Java team mentioned they could use several techniques for attachment.
But on request they told me this means they need to upgrade the "AXIS
to version 2". Sounds like they would avoid this.
They also asked if .Net supports plain MIME attachments, if so that might
be a possibility. Any disadvantages with that approach?
Oct 24 '07 #4
=?Utf-8?B?SmFrb2IgTGl 0aG5lcg==?= <ja******@noema il.noemailwrote in
news:F3******** *************** ***********@mic rosoft.com:
Java team mentioned they could use several techniques for attachment.
But on request they told me this means they need to upgrade the "AXIS
to version 2". Sounds like they would avoid this.
They also asked if .Net supports plain MIME attachments, if so that might
be a possibility. Any disadvantages with that approach?
I think what they want is WS-Attachments? Again that's been superceeded by
MTOM.

MTOM is the suggested replacement by W3C - so DIME/WS-Attachments/etc. etc.
are non-standard and obsolete.

You can try using WSE 2.0 in .NET 2.0 - it might work (probably will?).
Oct 24 '07 #5
Thanks for your reply,

Would you further describe the "plain MIME" you mentioned? I know that
plain html page based form can post data via multi-part form request. So
I'm wondering whether your service vendor will use a http file upload like
approach to let you post these info? Anyway, it does be common that when
the data be transfer is too large, webservice will not be the proper
solution and maybe a raw http form post or even socket communication will
perform better.

Let me know if you need any further ideas or help on this.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?SmFrb2IgTGl 0aG5lcg==?= <ja******@noema il.noemail>
References: <3A************ *************** *******@microso ft.com>
<sQ************ *@TK2MSFTNGHUB0 2.phx.gbl>
Subject: RE: Send attachment with DIME
Date: Tue, 23 Oct 2007 23:40:03 -0700

Your summary is correct!
I use .Net Framework 2.0 and have not yet used any of the WSE packages.
This means I can choose WSE 3.0 without hesitation.

Java team mentioned they could use several techniques for attachment.
But on request they told me this means they need to upgrade the "AXIS
to version 2". Sounds like they would avoid this.
They also asked if .Net supports plain MIME attachments, if so that might
be a possibility. Any disadvantages with that approach?

Oct 25 '07 #6

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

Similar topics

0
327
by: Trevor Best | last post by:
Is there a way to send an attachment by email, either in a SendObject or mailto hyperlink? What I want to send is an export file, SendObject doesn't allow me to apply my export spec to separators I need are not applied etc. -- Error reading sig - A)bort R)etry I)nfluence with large hammer
1
2433
by: Ipsita | last post by:
Hi! I am trying SOAP with DIME attachments in web services. The web service sends the file as attachment say "test.doc", and the client has to read that and populate it in a textbox control. I had asked this question earlier, and got the reply that the data is tranferred in binary format on the wire. I read the stream, and convert it to...
0
2819
by: saliwen | last post by:
Can WSE2.0 implements SOAP Attachments of W3C for interoperations ?
5
4088
by: pat | last post by:
Hi, i'am using an ac2K progrom which sends automaticle emails with an attachment. Since last week , a error occurs with number 2293. Our mail program is Outlook 2003. It's probably a matter of safety in outlook, but i didn't saw an answer to prevent this error on theweb. Where can i configure the safetyitem that Outlook sees the mail...
1
1611
by: jgentes | last post by:
I have read through the manual on php dot net, and a number of tutorials around the net, however when I create an email and attempt to attach a file, I always get the hex (textual) representation, rather then having the file be attached. Below is a test that I completed, hard coding all the values necessary to test if it was miscellaneous...
0
2906
by: SSG | last post by:
Dear All, Pls see the bw form in html. <FORM id=FORM1 name=FORM1 action=Upload.asp method=post encType=multipart/form-data> File 1:<INPUT type=file name=FILE1> Description 1:<INPUT name=DESCR1><BR> <INPUT type=submit value=Upload!> </FORM>
5
11989
by: vufltrn | last post by:
I am trying to send an attachment using CDO message on a gmail account. The email is sent, but it does not have the attachment. Here is my code: --------------------- Function fcnSendPage(strTo As String, AMS As String) 'Dim cdoMessage Set cdoMessage = CreateObject("CDO.Message")
16
3017
by: blaze77 | last post by:
Hi, I'm somewhat of a power user in excel and a newbie to Access though the possibilities are exciting me :-) I am trying to create a tool in Access to replace an existing tool in Excel. My question is whether I will be able to replicate some key features that I was able to do in Excel. The Excel tool was for operators in my company to...
1
7486
by: perhapscwk | last post by:
Below code works however it seems it will upload and save the attachment to server, how can send attachment without save the file into my server? and how to limit the file size to 3mb? $email = $_POST; $from = $_POST; $subject = $_POST; $message = $_POST; // Obtain file upload vars
0
7605
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...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7665
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...
0
6277
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...
1
5501
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...
0
3651
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...
1
2105
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
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.