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

Home Posts Topics Members FAQ

web service with mime attachments

flo
hi,

i have to develop a web service client (must be .net, currently i'm
using c# with wse3) for a java service. the java service uses mime
attachments for up- and download of files.

i googled around for mime support in .net and only saw "don't do it" ;)
(apparently even dime is not possibly in wse3?)

so, is there any possibility to use mime attachments? (i thought about
using system.net.mime to create attachments and embed them into data
stream to server, but i don't know how to do this :( )

i would appreciate any help

thanks
flo

May 21 '06 #1
3 3294
"flo" <fl************ ***@gmail.com> wrote in message
news:11******** **************@ j33g2000cwa.goo glegroups.com.. .
hi,

so, is there any possibility to use mime attachments? (i thought about
using system.net.mime to create attachments and embed them into data
stream to server, but i don't know how to do this :( )


Flo,
I have an article that describes binary attachments in WSE [1].
Please let me know if it helped you.

[1] http://www.ftponline.com/vsm/2006%5F...ettingstarted/

Regards,

--
Martin Kulov
http://www.codeattest.com/blogs/martin

MVP, MCT, MCSD.NET Early Achiever

May 22 '06 #2
flo
Martin,

your article describes MTOM quite well, but unfortunately I need a
simple SwA client, ie using only MIME attachments [1] (XOP and MTOM are
not possible since the service uses Axis 1.2.1, DIME might be possible
-- need to check that one).

AlotSoft offers an library with an SOAP extension [2], but it costs
around 5.000$ - which is way to much for an university project.
So, does anybody know a free (preferred open source) library to use
MIME attachments in a .Net Web-Service client?
And a second question: is DIME still supported in WSE3 (via
configuration, etc) or only XOP/MTOM?

thanks again,
flo

ps: sorry for cross-post, but I need some attention :)

[1] http://www.w3.org/TR/SOAP-attachments
[2] http://www.alotsoft.com/alotsoftweb/soap_attachment.jsp (looks like
reimplementatio n of Axis in .Net)

May 26 '06 #3
"flo" <fl************ ***@gmail.com> wrote in message
news:11******** **************@ g10g2000cwb.goo glegroups.com.. .
Martin,

And a second question: is DIME still supported in WSE3 (via
configuration, etc) or only XOP/MTOM?


flo,
DIME is not supported in WSE3.0 at all.

Sorry,
Martin

May 26 '06 #4

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

Similar topics

4
2739
by: Alberto | last post by:
I am struggling with the php mail function so to allow a multipart mime settings where both the message and any set of attachments can be allowed. Teorically, I'd know how to do. I build up my headers and pass them as the fourth argument of the function mail(). Practically, what happens is that whenever I try to test my script emailing myself, what appears in the email body are the __cleartext__ headers.
3
7716
by: Erik Rosenbach | last post by:
I have a question about how to parse out mime from a message. I have email messages that are stored in a database table and these messages have mime headers embedded within them. How can I parse out this mime content and retrieve only the text messages? Thank you, Erik
1
7022
by: John B. Kim | last post by:
I am working on the code below: ****************************************************** use strict; use MIME::Lite; use Net::SMTP; my $from = 'steve@earthlink.net'; my @addweek1 = qw(michael@earthlink.net jennifer@aol.com ); my $Fnameweek1 = 'JNIssue11.pdf';
1
1710
by: Mad Scientist Jr | last post by:
I am writing a simple POP email reader in asp.net (vb.net) - I have the entire message read into a string variable. Can someone explain how to parse the message and save any MIME attachments out to file(s) so the user can download attachments to their local machine?
1
2890
by: fabrizio.viggiani | last post by:
I need to send a mail message to an SMTP server. The .net framework provides System.Net.Mail namespace to send an email: - Build a System.Net.Mail.MailMessage and send it using SmtpClient The message that I have to send is already in the form of a MIME stream (multipart, attachments and digitally signed), so using the classes of the System.Net.Mail namespace I have to: - parse the MIME - Extract the components - Build a MailMessage...
0
1260
by: stephenmoore | last post by:
Hi, I'm having some dramas talking to a Java (Axis) web service. The 2 main road blocks are: a. the web service request must be signed with a certificate. b. the response includes SwA attachments in a multi-part MIME message. the first point can be fixed by setting a policy on the Microsoft.Web.Services3.Messaging.SoapClient proxy.
1
2176
by: blackjack2150 | last post by:
Hi. I use WSE 2.0 to call a web service method which returns some attachments together with the response. The web service can send it's attachments using either MIME format(widely used in the java world, which has no support in .net) or DIME(a Microsoft standard supported in WSE 2.0). In order for the web service to know which standard will be uses, any request to this method must contain the "Accept: application/dime" in the HTTP...
3
6628
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
1
8653
by: compurhythms | last post by:
I'm having an issue calling a java-based web service from a C#/.NET 2.0 client that uses WSE 3.0. (No WCF) There is an operation on the web service that takes a single base64 encoded parameter that is transported as a MTOM mime part in a multipart request. The web service provider has sent me a trace of a successful SOAP request and I have traced my SOAP request and I do not see any differences other than differences in how the...
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
10427
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10155
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,...
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
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5431
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...
1
4110
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
3
2916
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.