469,933 Members | 2,083 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,933 developers. It's quick & easy.

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 2953
=?Utf-8?B?SmFrb2IgTGl0aG5lcg==?= <ja******@noemail.noemailwrote in
news:3A**********************************@microsof t.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?SmFrb2IgTGl0aG5lcg==?= <ja******@noemail.noemailwrote in
news:F3**********************************@microsof t.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?SmFrb2IgTGl0aG5lcg==?= <ja******@noemail.noemail>
References: <3A**********************************@microsoft.co m>
<sQ*************@TK2MSFTNGHUB02.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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Trevor Best | last post: by
1 post views Thread by Ipsita | last post: by
5 posts views Thread by pat | last post: by
1 post views Thread by jgentes | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.