Re: attachment

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mighell (mighell_TOGLI_at_mart3_TOGLI.it)
Date: 10/12/04


Date: Tue, 12 Oct 2004 16:09:06 GMT


> Hello:
> what is the difference between soap message's attachment and
> soap
> message's DimeAttachment,in dot net. If The web service is implemented
> in
> different language , for example. Web service is implemented in java
> ,client
> is dot.net,can i use dime to deal with soap attachment?Are there any
> restriction exists? Addittional resource will be more helpful!!
> thanks in advance!!

Hello gladiator,
DIME (Direct Internet Message Encapsulation) is a W3C standard so you should not have problem using it but DIME is quite dead.
If you need to add attachments to your soap message, you can use:
1. base64 encoding
2. MTOM (Message Transimmission Optimization Mechanism)
The second method is quite young so I don't know if there are toolkits that supports it.
I think that at this moment, if you want to do something quikly (but quite dirty), the best way is to use base64 encording.
Use DIME only if you need a clean solution (using DIME you have separation from message and attachments) and you need to add multiple attachments in the same message.

For more information, look at http://msdn.microsoft.com/webservices
and for the iteroperability: http://msdn.microsoft.com/webservices/building/interop/

HTH
____________________________
Mighell (http://www.datadream.it)



Relevant Pages

  • Re: SOAP attachment?
    ... Search MSDN and the web for "SOAP with Attachments" and Web Services ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: [fw-wiz] Soap - Was RPCs over HTTPS through the firewall
    ... And people say security folks have no sense of humor... ... Seriously, SOAP 1.1 doesn't specify any security functions, but instead ... If you are using SOAP with Attachments then you can also sign/encrypt ...
    (Firewall-Wizards)
  • Re: [PHP] Fun with SOAP.
    ... > always give it a shot when im having soap troubles. ... give me some sort of answer as to what is going on. ... After using soapUI I've determined that the SOAP response gives back ... manual where it is possible to download attachments. ...
    (php.general)
  • Re: Passing large file via webservice
    ... Transfering files as byte arrays within SOAP messages is obviously not ... SOAP with attachments might be ...
    (comp.lang.java.programmer)
  • SwA - SOAP with Attachments
    ... Anyone have a solution to producing a web service that does SOAP with ... attachments under .NET 2.0? ... There's seems to be one commercial solution out there, ...
    (microsoft.public.dotnet.framework.webservices)