|
IMS General Web Services Attachments Profile Version 1.0 Final Specification |
Copyright © 2005 IMS Global Learning Consortium, Inc.
All Rights Reserved.
The IMS Logo is a registered trademark of IMS/GLC
Document Name: IMS General Web Services Attachments
Profile
Revision: 19 December 2005
|
Date Issued: |
19 December 2005 |
|
Latest version: |
http://www.imsglobal.org/gws/gwsv1p0/imsgws_attachProfv1p0.html |
|
Register comments or
implementations: |
http://www.imsglobal.org/developers/ims/imsforum/categories.cfm?catid=20 |
|
IPR and Distribution Notices Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by any implementation of the specification set forth in this document, and to provide supporting documentation. IMS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on IMS's procedures with respect to rights in IMS specifications can be found at the IMS Intellectual Property Rights web page: http://www.imsglobal.org/ipr/imsipr_policyFinal.pdf. Copyright © IMS Global Learning Consortium 2006. All Rights Reserved. If you wish to distribute this document or use this document to implement a product or service, you must complete a valid license registration with IMS and receive an email from IMS granting the license. To register, follow the instructions on the IMS website: http://www.imsglobal.org/specificationdownload.cfm. This document may be copied and furnished to others by Licensee organizations registered on the IMS website provided that the above copyright notice and this paragraph are included on all such copies. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to IMS, except as needed for the purpose of developing IMS specifications, under the auspices of a chartered IMS work group. Use of this specification to develop products or services is governed by the license with IMS found on the IMS website: http://www.imsglobal.org/gws/gwsv1p0/gwsv1p0speclicense.html. The limited permissions granted above are perpetual and will not be revoked by IMS or its successors or assigns. THIS SPECIFICATION IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, ANY WARRANTY OF NONINFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY USE OF THIS SPECIFICATION SHALL BE MADE ENTIRELY AT THE IMPLEMENTER'S OWN RISK, AND NEITHER THE CONSORTIUM, NOR ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER, DIRECTLY OR INDIRECTLY, ARISING FROM THE USE OF THIS SPECIFICATION. |
|
The General Web Service Base Profile provides a basic structure for the definition of Web Services used to realize IMS service-oriented specifications. It consists of a set of non-proprietary Web services specifications, along with clarifications and amendments to those specifications that promote interoperability. The General Web Services Base Profile addresses the most common problems experienced when implementing web service specifications. The General Web Services Base Profile defines the selection of mechanisms within referenced specifications that are well understood, widely implemented and useful.
The General Web Services Base Profile promotes interoperability across web specifications implementations on different software and vendor platforms. The Base Profile focuses on a core set of web service specifications and the most common problems experienced implementing the identified web service specifications. It is not a goal of the General Web Services Base Profile to create a plug-and-play architecture for web services or to guarantee complete interoperability. The General Web Services Base Profile addresses interoperability in the application layer, in particular, the description of behaviors exposed via Web Services.
The IMS GWS Attachments Profile extends the IMS GWS Base Profile to allow the exchange of non-XML information in the SOAP messages. The Attachments Profile defines the usage of the Message Transmission Optimization Mechanism (MTOM) to attach the non-XML content to the SOAP messages. MTOM uses the XML-binary Optimized Packaging (XOP) mechanism to improve the encoding efficiency possible with SOAP with Attachments.
The IMS General Web Services (GWS) Base Profile (GWSBP) [GWS, 05a] provides a basic structure for the definition of Web Services. It consists of a set of non-proprietary Web Services specifications, along with clarifications and amendments to those specifications that promote interoperability. The IMS GWS Base Profile addresses the most common problems experienced implementing web service specifications. The IMS GWS Base Profile defines the selection of mechanisms within referenced specifications that are well understood, widely implemented and useful.
The IMS GWS Attachments Profile extends the IMS GWS Base Profile to allow the exchange of non-XML information in the SOAP messages. The Attachments Profile defines the usage of the Message Transmission Optimization Mechanism (MTOM) to attach the non-XML content to the SOAP messages. MTOM uses the XML-binary Optimized Packaging (XOP) mechanism to improve the encoding efficiency possible with SOAP with Attachments.
The structure of this document is:
|
[AbsGloss, 03] |
IMS Abstract
Framework: Glossary v1.0, Ed. C.Smythe,
IMS/GLC, July 2003. |
|
[GWS, 05a] |
IMS General
Web Services Base Profile Final Release,
C.Schroeder, J.Simon and C.Smythe, V1.0
IMS/GLC, December 2005. |
|
[GWS, 05b] |
IMS General
Web Services WSDL Binding Guidelines Final
Release, C.Schroeder, J.Simon and C.Smythe, V1.0
IMS/GLC, December 2005. |
|
[GWS, 05c] |
IMS Binding
Auto-generation Toolkit Manual, C.Smythe, V1.0
IMS/GLC, December 2005. |
|
[MTOM, 05] |
SOAP Message
Transmission Optimization Mechanism, M.Gudgin,
N.Mendelsohn, M.Nottingham and H.Ruellan, W3C
Recommendation, http://www.w3.org/TR/soap12-mtom/,
January 2005. |
|
[RFC2119, 97] |
RFC 2119: Key
words for use in RFC to Indicate Requirement
Levels, S.Bradner, IETF, March
1997. |
|
[RRSHB, 05] |
Resource
Representation SOAP header Block, A.Karmarkar, M.Gudgin
and Y.Lafon, W3C Recommendation, http://www.w3.org/TR/soap12-rep/,
January 2005. |
|
[XOP, 05] |
XML-binary
Optimized Packaging, M.Gudgin, N.Mendelsohn,
M.Nottingham and H.Ruellan, W3C
Recommendation, http://www.w3.org/TR/xop10/,
January 2005. |
The IMS GWS Attachments Framework is based upon the MTOM standard under development by W3C [MTOM, 05]. MTOM combines the composition capability of Base 64 encoding with the transport efficiency of SOAP with Attachments (SWA). Non-XML data is processed just as it is with SWA - the data is simply streamed as binary data in one of the MIME message parts. MTOM is composed of three distinct specifications:
MTOM was selected in preference to SWA for two reasons:
MTOM provides a compromise between the MIME model and the Web Services model, combining an efficient encoding mechanism (saving 25% over a traditional binary model) and an infoset representation (the overall package can be processed like a regular SOAP message). MTOM messages are valid SWA messages, lowering the effort of implementing MTOM for existing SWA implementations. MTOM attachments are streamed as binary data within a MIME message part, making it simple to interoperate with other SWA implementations.
The key terms used in the description of the work-flow are defined in Table 2.1.
Note that INITIATOR and RESPONDENT as intended throughout the rest of the document, are at a different level of abstraction compared to SOURCE and DESTINATION, the former belong to the application layer, while the latter belong to the messaging infrastructure layer and provide services to INITIATORS and RESPONDENTS (see Figure 2.1).
The following is a step-by-step breakdown of a typical workflow for exchanging IMS MESSAGES and ATTACHMENTS. This workflow represents a common sequence of tasks. As a result, this workflow is intended to outline the pertinent tasks and is not prescriptive as to the sequence of fine-grained steps:
Table 3.1 summarizes the set of rules used for the Attachments Profile. Within Table 3.1 the following conventions are used:
The usage of MTOM requires the following information to supplied as part of the specification process:
From the perspective of the WSDL 1.1 the attachment information is presented in the XSD definition part of the file. The transformation files in the IMS Auto-generation Toolkit (I-BAT) [I-BAT, 05] use the information supplied in the UML description as described in Table 4.1. In Table 4.1 each attribute has an example value and for each set of values there follows the corresponding WSDL file.
The relationship of the Attachments Profile to the other IMS GWS profiles is shown in Figure 5.1.
The Attachments Profile assumes that the Base Profile is already being used [GWS, 05a]. This is the only dependency with other IMS GWS profiles.
When the Security Profile is being used there are implications for how some of the attachment related information is encoded. These implications are defined in the profiles rules in Section 3.
Extensions of the Attachments Profile are NOT recommended. This is because the use of MTOM with WSDL v1.1 is unstable in terms of tool support and completion of the W3C standard. The MTOM is a candidate recommendation and not a full standard.
In IMS GWS v2.0 limited further work will be undertaken to ensure the compatibility of supporting MTOM with WSDL v1.1. The rest of the work will focus on the usage of MTOM with SOAP v1.2 and WSDL v2.0.
Any claim of conformance for an implementation against the Attachments Profile must show that the implementation complies with the set of profile rules listed in Section 3.
Apart from the WS-I Conformance Claims mechanism, the W3C is investigating the usage of WS-Policy. Therefore, no definitive recommendation is made on the usage of the WS-I approach. More information on the WS-I Conformance Claim mechanism is given in the IMS GWS WSDL Binding Guidelines document [GWS, 05b]. However, if some form of conformance statement is required then the WS-I approach may be used but no firm commitment is made to supporting this technique in later releases of the IMS GWS specification.
Throughout the General Web Services documents a variety of key terms, concepts and descriptions have been introduced. These terms, concepts and descriptions and defined below but where appropriate the normative definition from the IAF Glossary is referenced [AbsGloss, 03].
|
Title |
IMS General Web
Services Attachments Profile |
|
Editor |
Colin Smythe
(IMS) |
|
Team
Co-Leads |
Cathy Schroeder
(Microsoft Corp.), James Simon (SUN Microsystems
Corp.) |
|
Version |
1.0 |
|
Version
Date |
19 December 2005 |
|
Status |
Final
Specification |
|
Summary |
This document
contains the description of the profiling of the
Message Transmission Optimization Mechanism (MTOM)
standard from the World Wide Web Consortium to extend
the IMS General Web Services Base Profile. MTOM is used
to enable non-XML information to be transported in the
IMS GWS SOAP messages. |
|
Revision
Information |
19 December 2005 |
|
Purpose |
This document is
circulated for public adoption. This document is to be
adopted by IMS and all other organizations that wish to
enhance the IMS General Web Services Base Profile to
send non-XML data. |
|
Document
Location |
http://www.imsglobal.org/gws/gwsv1p0/imsgws_attachProfrv1p0.html |
|
To register any
comments or questions about this specification please
visit:
http://www.imsglobal.org/developers/ims/imsforum/categories.cfm?catid=20 |
The following individuals contributed to the development of this document:
| Version No. | Release Date | Comments |
|---|---|---|
|
Final v1.0 |
19 December 2005 |
This is the first
formal version of the Final Release. |
G
General Web Services
Base Profile 1
I
IMS Auto-generation
Binding Tool 1, 2
IMS General Web Services
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
Attachments Profile
1,
2,
3,
4,
5
Base Profile
1,
2,
3,
4,
5
M
Message Transmission
Optimization Mechanism 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
Messaging
Synchronous
1
MIME 1, 2, 3, 4, 5, 6
P
Protocols
HTTP 1
SOAP 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
TCP 1
R
Remote Procedure Call
1
Resource Representation
SOAP Header Block 1, 2, 3, 4, 5
S
Security 1, 2
SOAP 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
SOAP message
attachments
MTOM 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
SWA 1, 2, 3, 4
SOAP Versions
1.1 1
SOAP with Attachments
1,
2,
3,
4,
5,
6
Synchronous 1
T
TCP 1
Transmission Control
Protocol 1
U
Unified Modelling
Language 1, 2
UML 1, 2
W
W3C 1, 2, 3, 4, 5, 6
Web Services 1, 2, 3, 4, 5, 6, 7, 8, 9
SOAP 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
WSDL 1, 2, 3, 4, 5, 6, 7
WS-Security
1,
2
Web Services
Interoperability Organization 1, 2
WSDL 1, 2, 3, 4, 5, 6, 7
WSDL Versions
1.1 1
WS-Security 1, 2
X
XML 1, 2, 3, 4, 5
XML Schema 1
XML Schema Definition
1
XML-binary Optimized
Packaging 1, 2, 3, 4, 5, 6, 7, 8
XSD 1, 2
XSLT 1
IMS Global Learning Consortium, Inc. ("IMS/GLC") is
publishing the information contained in this IMS
General Web Services Attachments Profile
("Specification") for purposes of scientific,
experimental, and scholarly collaboration only.
IMS/GLC makes no warranty or representation regarding the
accuracy or completeness of the Specification.
This material is provided on an "As Is" and "As
Available" basis.
The Specification is at all times subject to change and
revision without notice.
It is your sole responsibility to evaluate the
usefulness, accuracy, and completeness of the
Specification as it relates to you.
IMS/GLC would appreciate receiving your comments and
suggestions.
Please contact IMS/GLC through our website at http://www.imsglobal.org
Please refer to Document Name: IMS General Web
Services Attachments Profile Revision: 19
December 2005