Thursday, September 27, 2007

WS-Attachments and DIME

introduced the Direct Internet Message Encapsulation (DIME) protocol as a message-based encapsulation protocol and described how DIME leverages SOAP metadata in a streamlined message encapsulation process that can provide a better solution than Base64 encoding when sending attachments with SOAP messages in a Web service. This chapter offers a detailed look at how to use DIME with SOAP messages, and how Web Services Enhancement (WSE) supports both DIME and the WS-Attachments specification.

Introducing WS-Attachments
DIME was created with a SOAP and Web services–based world in mind. However, since DIME is not limited just to SOAP and Web services, there must be a protocol that defines how to use DIME with SOAP-based Web services. The mechanics of how DIME is used to encapsulate a SOAP message with attachments is described in the WS-Attachments specification. Later in this chapter, we’ll look briefly at some of the non-SOAP applications for DIME, such as streaming binary data.

No comments: