1、 INCITS/ISO/IEC 24824-2:20062010 (ISO/IEC 24824-2:2006, IDT) Information technology - Generic applications of ASN.1: Fast Web Services Reaffirmed as INCITS/ISO/IEC 24824-2:2006 R2015INCITS/ISO/IEC 24824-2:20062010 PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes
2、 licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. T
3、he ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care h
4、as been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. Adopted by INCITS (InterNational Committee for Information Technology Standards) as an Ameri
5、can National Standard. Date of ANSI Approval: 11/17/2010 Published by American National Standards Institute, 25 West 43rd Street, New York, New York 10036 Copyright 2010 by Information Technology Industry Council (ITI). All rights reserved. These materials are subject to copyright claims of Internat
6、ional Standardization Organization (ISO), International Electrotechnical Commission (IEC), American National Standards Institute (ANSI), and Information Technology Industry Council (ITI). Not for resale. No part of this publication may be reproduced in any form, including an electronic retrieval sys
7、tem, without the prior written permission of ITI. All requests pertaining to this standard should be submitted to ITI, 1101 K Street NW, Suite 610, Washington DC 20005. Printed in the United States of America ii ITIC 2010 All rights reserved ISO/IEC 24824-2:2006(E) ISO/IEC 2006 All rights reserved i
8、iiCONTENTS Page 1 Scope . 1 2 Normative references 1 2.1 Identical Recommendations | International Standards . 1 2.2 Additional references. 2 3 Definitions 3 3.1 Imported definitions 3 3.2 Additional definitions 3 4 Abbreviations 4 5 Notation . 4 6 The processing of ASN.1 SOAP messages 5 7 Mapping c
9、omponents of the Envelope type to information items 7 7.1 General . 7 7.2 Mapping of the Header type 7 7.3 Mapping of the Body type 7 7.4 Mapping of the Fault type 7 7.5 Mapping of the Content type 9 8 Mapping W3C SOAP message infosets to abstract values of the Envelope type. 10 8.1 General . 10 8.2
10、 Mapping of a Header EII. 10 8.3 Mapping of a Body EII 11 8.4 Mapping of a Fault EII 11 8.5 Mapping of a content EII to a value of the Content type 12 9 Extended SOAP processing of embedded ASN.1 encoded values. 13 9.1 General . 13 9.2 Identifying the ASN.1 type of an embedded ASN.1 encoded value .
11、13 9.3 Generating an ASN.1 value from an identified embedded ASN.1 encoded value . 14 9.4 Insertion of an ASN.1 value (with an identifier) into a W3C SOAP message. 14 9.5 The “ASN.1 type not identifiable“ fault . 15 10 ASN.1 SOAP HTTP Binding 16 10.1 HTTP media type 16 10.2 Behavior of responding SO
12、AP nodes 16 11 Fast infoset SOAP messages and the SOAP HTTP Binding 16 12 SOAP-oriented service descriptions supporting the ASN.1 SOAP interface binding. 17 12.1 General . 17 12.2 Schemas 17 12.3 Abstract interfaces and abstract operations . 17 12.4 Interface bindings and operation bindings 18 12.5
13、RPC schema. 19 13 Use of SOAP-oriented service descriptions with ASN.1 SOAP interface bindings. 21 Annex A ASN.1 module for ASN.1 SOAP . 23 Annex B MIME media types for Fast Web Services . 25 B.1 The “application/fastsoap“ media type 25 B.2 The “application/soap+fastinfoset“ media type 26 Annex C Tu
14、torial on Fast Web Services. 28 C.1 Advantages of Fast Web Services. 28 C.2 Conceptual and optimized processing of ASN.1 SOAP messages . 29 C.3 Service descriptions. 32 ISO/IEC 24824-2:2006(E) iv ISO/IEC 2006 All rights reservedPage Annex D Common provision of services using Fast Web Services and XM
15、L Web services 34 D.1 Optimistic strategy 34 D.2 Pessimistic strategy . 34 Annex E SOAP-oriented service description in WSDL 1.1 36 E.1 SOAP-oriented service descriptions expressed in WSDL 1.1 . 36 E.2 Schema . 36 E.3 Abstract interface and abstract operations 36 E.4 Interface bindings and operation
16、 bindings 37 Annex F Assignment of object identifier values. 40 BIBLIOGRAPHY 41 ISO/IEC 24824-2:2006(E) ISO/IEC 2006 All rights reserved vForeword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwid
17、e standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fi
18、elds of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted
19、 in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an Internat
20、ional Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. ISO/
21、IEC 24824-2 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 6, Telecommunications and information exchange between systems, in collaboration with ITU-T. The identical text is published as ITU-T Rec. X.892. ISO/IEC 24824 consists of the following parts
22、, under the general title Information technology Generic applications of ASN.1: Part 1: Fast Infoset Part 2: Fast Web Services The following parts are under preparation: Part 3: Fast Infoset security ISO/IEC 24824-2:2006(E) vi ISO/IEC 2006 All rights reservedIntroduction This Recommendation | Intern
23、ational Standard specifies the use of ASN.1 (see ITU-T Rec. X.680 | ISO/IEC 8824-1), its Packed Encoding Rules (see ITU-T Rec. X.691 | ISO/IEC 8825-2) and Fast Infoset (see ITU-T Rec. X.891 | ISO/IEC 24824-1) to provide Fast Web Services. (For a general tutorial on Fast Web Services, see Annex C). C
24、lause 6 specifies the architectural model and the conceptual steps of producing and processing SOAP messages encoded using ASN.1 binary encodings (called “ASN.1 SOAP messages“). Clauses 7 to 9 contain general provisions for the processing of ASN.1 SOAP messages. Clause 7 specifies the mapping of ASN
25、.1 SOAP messages to W3C SOAP messages. Clause 8 specifies the mapping of W3C SOAP messages to ASN.1 SOAP messages. Clause 9 specifies the extended SOAP processing model for processing embedded ASN.1 encoded values present in W3C SOAP messages. Clause 10 specifies the ASN.1 SOAP HTTP Binding for the
26、transfer of ASN.1 SOAP messages using HTTP as the transport protocol. This binding uses the Multipurpose Internet Mail Extensions (MIME) media type specified in B.1. Clause 11 specifies the use of the W3C SOAP HTTP Binding for the transfer of W3C SOAP messages encoded as fast infoset documents (fast
27、 infoset SOAP messages). This binding uses the Multipurpose Internet Mail Extensions (MIME) media type specified in B.2. Clause 12 specifies SOAP-oriented service descriptions that support the ASN.1 SOAP binding interface and Fast Web Services. Clause 13 specifies how a SOAP-oriented service descrip
28、tion affects the exchange of ASN.1 SOAP messages that are mapped to and from W3C SOAP messages. Annex A forms an integral part of this Recommendation | International Standard, and contains the full ASN.1 module for ASN.1 SOAP. Annex B forms an integral part of this Recommendation | International Sta
29、ndard, and contains the specification of the “application/fastsoap“ and “application/soap+fastinfoset“ media types. Annex C does not form an integral part of this Recommendation | International Standard, and provides tutorial material on Fast Web Services. Annex D does not form an integral part of t
30、his Recommendation | International Standard, and provides tutorial material on the interoperation of Fast Web Services and XML Web services using features of the ASN.1 SOAP HTTP Binding. Annex E does not form an integral part of this Recommendation | International Standard, and shows how the exchang
31、e of ASN.1 SOAP messages can be described by WSDL 1.1 2 service descriptions. ISO/IEC 24824-2:2006 (E) ITU-T Rec. X.892 (05/2005) 1 INTERNATIONAL STANDARD ITU-T RECOMMENDATION Information technology Generic applications of ASN.1: Fast Web Services 1 Scope This Recommendation | International Standard
32、 specifies the messages and encodings that enable the use of Fast Web Services, together with the means of description of such services. The protocol used to support these services satisfies the requirements of the SOAP processing model (see W3C SOAP Part 1, clause 2) and is based on the transfer of
33、: a) ASN.1 SOAP messages that contain embedded ASN.1 encoded values and embedded fast infoset documents; and b) fast infoset SOAP messages. This Recommendation | International Standard also specifies: an ASN.1 module for ASN.1 SOAP that defines the Envelope type (a value of this type corresponds to
34、an ASN.1 SOAP message); a conceptual mapping between ASN.1 SOAP messages and W3C SOAP messages (defined as an instance of the XML Infoset, see W3C SOAP Part 1, clause 5); an extension to the W3C SOAP processing model for the processing of embedded ASN.1 encoded values; the ASN.1 SOAP HTTP Binding, w
35、hich is a modification and extension of the W3C SOAP HTTP Binding (see W3C SOAP Part 2, clause 7), for the transfer of ASN.1 SOAP messages; support for the transfer of W3C SOAP message infosets serialized as fast infoset documents (fast infoset SOAP messages) using the W3C SOAP HTTP Binding (see W3C
36、 SOAP Part 2, clause 7); SOAP-oriented service descriptions that define the interface to and the semantics of Fast Web Services. Two Multipurpose Internet Mail Extensions (MIME) media type names are allocated to identify: ASN.1 SOAP messages encoded using Basic Aligned PER; fast infoset SOAP message
37、s. 2 Normative references The following Recommendations and International Standards contain provisions which, through reference in this text, constitute provisions of this Recommendation | International Standard. At the time of publication, the editions indicated were valid. All Recommendations and
38、Standards are subject to revision, and parties to agreements based on this Recommendation | International Standard are encouraged to investigate the possibility of applying the most recent edition of the Recommendations and Standards listed below. Members of IEC and ISO maintain registers of current
39、ly valid International Standards. The Telecommunication Standardization Bureau of the ITU maintains a list of currently valid ITU-T Recommendations. The IETF maintains a list of RFCs, together with those that have been obsoleted by later RFCs. The reference to a document within this Recommendation |
40、 International Standard does not give it, as a stand-alone document, the status of a Recommendation or International Standard. 2.1 Identical Recommendations | International Standards ITU-T Recommendation X.660 (2004) | ISO/IEC 9834-1:2005, Information technology Open Systems Interconnection Procedur
41、es for the operation of OSI Registration Authorities: General procedures and top arcs of the ASN.1 Object Identifier tree. ITU-T Recommendation X.680 (2002) | ISO/IEC 8824-1:2002, Information technology Abstract Syntax Notation One (ASN.1): Specification of basic notation. ISO/IEC 24824-2:2006 (E) 2
42、 ITU-T Rec. X.892 (05/2005) ITU-T Recommendation X.681 (2002) | ISO/IEC 8824-2:2002, Information technology Abstract Syntax Notation One (ASN.1): Information object specification. ITU-T Recommendation X.682 (2002) | ISO/IEC 8824-3:2002, Information technology Abstract Syntax Notation One (ASN.1): Co
43、nstraint specification. ITU-T Recommendation X.683 (2002) | ISO/IEC 8824-4:2002, Information technology Abstract Syntax Notation One (ASN.1): Parameterization of ASN.1 specifications. ITU-T Recommendation X.690 (2002) | ISO/IEC 8825-1:2002, Information technology ASN.1 encoding Rules: Specification
44、of Basic Encoding Rules (BER), Canonical Encoding Rules (CER), and Distinguished Encoding Rules (DER). ITU-T Recommendation X.691 (2002) | ISO/IEC 8825-2:2002, Information technology ASN.1 encoding rules: Specification of Packed Encoding Rules (PER). ITU-T Recommendation X.692 (2002) | ISO/IEC 8825-
45、3:2002, Information technology ASN.1 encoding rules: Specification of Encoding Control Notation (ECN). ITU-T Recommendation X.693 (2001) | ISO/IEC 8825-4:2002, Information technology ASN.1 encoding rules: XML Encoding Rules (XER) plus Amendment 1: XER Encoding Instructions and EXTENDED-XER. ITU-T Re
46、commendation X.694 (2004) | ISO/IEC 8825-5:2004, Information technology ASN.1 encoding rules: Mapping W3C XML Schema Definitions into ASN.1. ITU-T Recommendation X.891 (2005) | ISO/IEC 24824-1:2005, Information technology Generic Applications of ASN.1: Fast Infoset. NOTE The complete set of ASN.1 Re
47、commendations | International Standards are listed above, as they can all be applicable in particular uses of this Recommendation | International Standard. Where these are not directly referenced in the body of this Recommendation | International Standard, a symbol is added to the reference. 2.2 Add
48、itional references W3C SOAP:2003, SOAP Version 1.2 Part 1: Messaging Framework, W3C Recommendation, Copyright 24 June 2003 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University), http:/www.w3.org/TR/2003/RE
49、C-soap12-part1-20030624. W3C SOAP:2003, SOAP Version 1.2 Part 2: Adjuncts, W3C Recommendation, Copyright 24 June 2003 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University), http:/www.w3.org/TR/2003/REC-soap12-part2-20030624. W3C XML 1.0:2004, Extensible Markup Language (XML)