Information technology - Generic applications of ASN.1: Fast Web Services - Part 2:

ISO/IEC 24824-2:2006 specifies the messages required for Fast Web Services. It provides the specification of ASN.1 SOAP messages which carry the same semantics as W3C SOAP messages. The exchange of ASN.1 SOAP messages provides Fast Web Services. ISO/IEC 24824-2:2006 references other ASN.1 International Standards and the Web services specification W3C SOAP 1.2 to fully define application exchanges that use Web protocols and W3C SOAP functionality. This is an extension to the provision of Web services using W3C SOAP messages, without any change to the functionality of W3C SOAP and service description languages. The main change is to the use of compact and easily-processed binary encodings of XML data, rather than character encodings. The use of ISO/IEC 24824-2:2006 (with the ASN.1 SOAP messages encoded using the ASN.1 Packed Encoding Rules, PER) allows applications to provide Web services using messages that require less network bandwidth and less processing power (and hence provide a higher transaction processing rate) than use of the character encoding of XML data. ISO/IEC 24824-2:2006 also specifies a Multipurpose Internet Mail Extensions (MIME) media type that identifies an ASN.1 SOAP message encoded in PER. It also specifies a MIME media type that identifies a W3C SOAP message infoset encoded as a fast infoset document (see ISO/IEC 24824-1). Both of these encodings are used by ISO/IEC 24824-2:2006.

Technologies de l'information — Applications génériques de l'ASN.1: Services web rapides — Partie 2:

L'ISO/CEI 24824-2:2006 spécifie les messages nécessaires pour les services web rapides. Elle spécifie les messages SOAP en ASN.1 qui portent la même sémantique que les messages SOAP du W3C. L'échange de messages SOAP en ASN.1 donne les services web rapides. L'ISO/CEI 24824-2:2006 fait référence à d'autres Normes internationales de l'ASN.1 et à la spécification des services web SOAP 1.2 du W3C pour définir complètement les échanges d'application qui utilisent les protocoles web et les fonctionnalités SOAP du W3C. Elle est une extension de la fourniture des services web en utilisant les messages SOAP du W3C, sans aucun changement aux fonctionnalités du protocole SOAP du W3C et des langages de description de service. Le principal changement est l'utilisation de codages binaires compacts et faciles à traiter de données XML, plutôt que les codages de caractères. L'utilisation de l'ISO/CEI 24824-2:2006 [avec les messages SOAP en ASN.1 codés en utilisant les règles de codage compact ASN.1 (PER, packed encoding rules)] permet aux applications de fournir des services web en utilisant des messages qui exigent moins de bande passante réseau et moins de puissance de traitement (et donc de fournir un débit de traitement de transaction plus élevé) que le codage de caractère des données XML. L'ISO/CEI 24824-2:2006 spécifie aussi un type de support d'extensions de messagerie Internet multi-objet (MIME, multipurpose Internet mail extensions) qui identifie un message SOAP en ASN.1 codé en PER. Elle spécifie aussi un type de support MIME qui identifie un infoset de message SOAP du W3C codé comme un document fast infoset (voir l'ISO/CEI 24824-1). Ces deux types MIME sont utilisés par l'ISO/CEI 24824-2:2006.

General Information

Status
Published
Publication Date
05-Jul-2006
Current Stage
9093 - International Standard confirmed
Start Date
06-Jan-2025
Completion Date
30-Oct-2025
Ref Project

Overview

ISO/IEC 24824-2:2006 - Fast Web Services specifies how to use ASN.1 to represent and exchange SOAP-based Web services using compact binary encodings. The standard defines an ASN.1 Envelope module, a conceptual mapping between ASN.1 SOAP messages and W3C SOAP infosets, an extended SOAP processing model for embedded ASN.1 values, and HTTP bindings for transport. Its goal is to provide Fast Web Services that retain SOAP semantics while reducing network bandwidth and processing cost by using binary encodings (ASN.1 PER and Fast Infoset).

Key Topics and Requirements

  • ASN.1 SOAP message model: An ASN.1 module (Envelope type) defines the structure of ASN.1 SOAP messages that correspond to W3C SOAP messages.
  • Mappings: Bidirectional mapping rules between W3C SOAP message infosets and ASN.1 abstract values (see clauses on mapping of Envelope, Header, Body, Fault, and Content).
  • Extended processing: Rules to handle embedded ASN.1 encoded values inside SOAP messages, including identification and generation of ASN.1 values.
  • Binary encodings:
    • Packed Encoding Rules (PER) for ASN.1 SOAP messages to achieve compact, fast processing.
    • Fast Infoset (ISO/IEC 24824-1) for serializing W3C SOAP infosets as a more efficient XML binary representation.
  • HTTP bindings and MIME types:
    • ASN.1 SOAP HTTP Binding for transporting PER-encoded ASN.1 SOAP messages.
    • MIME media types standardized in Annex B (for example, identifiers for PER-encoded ASN.1 SOAP and Fast Infoset SOAP messages).
  • Service description support: Guidance on SOAP-oriented service descriptions (WSDL) that reference ASN.1 SOAP interface bindings and RPC schemas.

Applications and Who Uses It

ISO/IEC 24824-2 is aimed at organizations and developers who need high-performance, bandwidth-efficient Web services without changing SOAP semantics:

  • Telecom, embedded systems and IoT where network bandwidth and CPU are constrained.
  • Mobile and high-throughput backend systems requiring higher transaction processing rates.
  • Middleware and application vendors implementing SOAP stacks, SOAP-over-HTTP bindings, and proprietary or standards-based service descriptions.
  • Architects wanting binary-encoded Web services interoperable with existing W3C SOAP semantics and WSDL service descriptions.

Related Standards

  • ISO/IEC 24824-1 (Fast Infoset) - binary XML infoset encoding used by this part.
  • ITU‑T X.680 / ISO/IEC 8824-1 (ASN.1 notation) and X.691 / ISO/IEC 8825-2 (Packed Encoding Rules - PER).
  • W3C SOAP 1.2 (SOAP messaging framework and processing model).
  • WSDL 1.1 examples and guidance (Annex E) for SOAP-oriented service descriptions.

Keywords: ISO/IEC 24824-2, Fast Web Services, ASN.1, PER, Fast Infoset, SOAP, binary encoding, MIME media type, HTTP binding, WSDL, compact encoding, web services.

Standard
ISO/IEC 24824-2:2006 - Information technology -- Generic applications of ASN.1: Fast Web Services
English language
41 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
ISO/IEC 24824-2:2006 - Technologies de l'information -- Applications génériques de l'ASN.1: Services web rapides
French language
40 pages
sale 15% off
Preview
sale 15% off
Preview

Frequently Asked Questions

ISO/IEC 24824-2:2006 is a standard published by the International Organization for Standardization (ISO). Its full title is "Information technology - Generic applications of ASN.1: Fast Web Services - Part 2:". This standard covers: ISO/IEC 24824-2:2006 specifies the messages required for Fast Web Services. It provides the specification of ASN.1 SOAP messages which carry the same semantics as W3C SOAP messages. The exchange of ASN.1 SOAP messages provides Fast Web Services. ISO/IEC 24824-2:2006 references other ASN.1 International Standards and the Web services specification W3C SOAP 1.2 to fully define application exchanges that use Web protocols and W3C SOAP functionality. This is an extension to the provision of Web services using W3C SOAP messages, without any change to the functionality of W3C SOAP and service description languages. The main change is to the use of compact and easily-processed binary encodings of XML data, rather than character encodings. The use of ISO/IEC 24824-2:2006 (with the ASN.1 SOAP messages encoded using the ASN.1 Packed Encoding Rules, PER) allows applications to provide Web services using messages that require less network bandwidth and less processing power (and hence provide a higher transaction processing rate) than use of the character encoding of XML data. ISO/IEC 24824-2:2006 also specifies a Multipurpose Internet Mail Extensions (MIME) media type that identifies an ASN.1 SOAP message encoded in PER. It also specifies a MIME media type that identifies a W3C SOAP message infoset encoded as a fast infoset document (see ISO/IEC 24824-1). Both of these encodings are used by ISO/IEC 24824-2:2006.

ISO/IEC 24824-2:2006 specifies the messages required for Fast Web Services. It provides the specification of ASN.1 SOAP messages which carry the same semantics as W3C SOAP messages. The exchange of ASN.1 SOAP messages provides Fast Web Services. ISO/IEC 24824-2:2006 references other ASN.1 International Standards and the Web services specification W3C SOAP 1.2 to fully define application exchanges that use Web protocols and W3C SOAP functionality. This is an extension to the provision of Web services using W3C SOAP messages, without any change to the functionality of W3C SOAP and service description languages. The main change is to the use of compact and easily-processed binary encodings of XML data, rather than character encodings. The use of ISO/IEC 24824-2:2006 (with the ASN.1 SOAP messages encoded using the ASN.1 Packed Encoding Rules, PER) allows applications to provide Web services using messages that require less network bandwidth and less processing power (and hence provide a higher transaction processing rate) than use of the character encoding of XML data. ISO/IEC 24824-2:2006 also specifies a Multipurpose Internet Mail Extensions (MIME) media type that identifies an ASN.1 SOAP message encoded in PER. It also specifies a MIME media type that identifies a W3C SOAP message infoset encoded as a fast infoset document (see ISO/IEC 24824-1). Both of these encodings are used by ISO/IEC 24824-2:2006.

ISO/IEC 24824-2:2006 is classified under the following ICS (International Classification for Standards) categories: 35.100.60 - Presentation layer. The ICS classification helps identify the subject area and facilitates finding related standards.

You can purchase ISO/IEC 24824-2:2006 directly from iTeh Standards. The document is available in PDF format and is delivered instantly after payment. Add the standard to your cart and complete the secure checkout process. iTeh Standards is an authorized distributor of ISO standards.

Standards Content (Sample)


INTERNATIONAL ISO/IEC
STANDARD 24824-2
First edition
2006-07-01
Information technology — Generic
applications of ASN.1: Fast Web Services
Technologies de l'information — Applications génériques de ASN.1:
Services web rapides
Reference number
©
ISO/IEC 2006
PDF disclaimer
This PDF file may contain embedded typefaces. In accordance with Adobe's 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 Adobe's licensing policy. The 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 has 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.

©  ISO/IEC 2006
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means,
electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or
ISO's member body in the country of the requester.
ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Published in Switzerland
ii © ISO/IEC 2006 – All rights reserved

CONTENTS
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 components 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 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 . 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 SOAP 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 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 – Tutorial 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 2006 – All rights reserved iii

Page
Annex D – Common provision of services using Fast Web Services and XML 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 bindings . 37

Annex F – Assignment of object identifier values. 40

BIBLIOGRAPHY. 41

iv © ISO/IEC 2006 – All rights reserved

Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical
Commission) form the specialized system for worldwide 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 fields 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 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 International 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/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, 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 2006 – All rights reserved v

Introduction
This Recommendation | International 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).
Clause 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.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 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 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 description 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 Standard, 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 this 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 exchange
of ASN.1 SOAP messages can be described by WSDL 1.1 [2] service descriptions.
vi © ISO/IEC 2006 – All rights reserved

ISO/IEC 24824-2:2006 (E)
INTERNATIONAL STANDARD
ITU-T RECOMMENDATION
Information technology – Generic applications of ASN.1: Fast Web Services
1 Scope
This Recommendation | International Standard 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:
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
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, which 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 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 messages.
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 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 currently
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 | 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 – Procedures 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.
ITU-T Rec. X.892 (05/2005) 1
ISO/IEC 24824-2:2006 (E)
– 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): Constraint 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 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-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 Recommendation 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 Recommendations | 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 Additional 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/REC-
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) 1.0 (Third Edition), W3C Recommendation,
Copyright © [4 February 2004] World Wide Web Consortium (Massachusetts Institute of Technology,
Institut National de Recherche en Informatique et en Automatique, Keio University),
http://www.w3.org/TR/2000/REC-xml-20040204/.
– W3C XML Information Set:2004, XML Information Set (Second Edition), W3C Recommendation,
Copyright © [04 February 2004] World Wide Web Consortium (Massachusetts Institute of Technology,
Institut National de Recherche en Informatique et en Automatique, Keio University),
http://www.w3.org/TR/2004/REC-xml-infoset-20040204/.
– W3C XML Namespaces 1.0:1999, Namespaces in XML, W3C Recommendation, Copyright ©
[14 January 1999] World Wide Web Consortium (Massachusetts Institute of Technology, Institut
National de Recherche en Informatique et en Automatique, Keio University),
http://www.w3.org/TR/1999/REC-xm-lnames-19990114/.
– W3C XML Schema:2001, XML Schema Part 1: Structures, W3C Recommendation, Copyright ©
[2 May 2001] World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de
Recherche en Informatique et en Automatique, Keio University), http://www.w3.org/TR/2001/REC-
xmlschema-1-20010502/.
– W3C XML Schema:2001, XML Schema Part 2: Datatypes, W3C Recommendation, Copyright © [2 May
2001] World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de
Recherche en Informatique et en Automatique, Keio University), http://www.w3.org/TR/2001/REC-
xmlschema-2-20010502/.
NOTE – When the reference "W3C XML Schema" is used in this Recommendation | International Standard, it
refers to W3C XML Schema Part 1 and W3C XML Schema Part 2.
– IETF RFC 2045 (1996), Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet
Message Bodies.
2 ITU-T Rec. X.892 (05/2005)
ISO/IEC 24824-2:2006 (E)
– IETF RFC 2616 (1999), Hypertext Transfer Protocol – HTTP/1.1.
3 Definitions
For the purposes of this Recommendation | International Standard, the following definitions apply.
3.1 Imported definitions
3.1.1 This Recommendation | International Standard uses the following terms defined in ITU-T Rec. X.680 |
ISO/IEC 8824-1:
a) abstract value;
b) module;
c) object identifier;
d) relative object identifier;
e) type.
3.1.2 This Recommendation | International Standard also uses the following terms defined in W3C XML Schema:
a) complex type definition;
b) element declaration;
c) schema;
d) schema component;
e) simple type definition.
3.1.3 This Recommendation | International Standard also uses the following terms defined in W3C XML
Information Set:
a) abstract information item;
b) character information item;
c) element information item;
d) information item;
e) namespace information item;
f) property (of an information item).
3.1.4 This Recommendation | International Standard also uses the following terms defined in W3C SOAP
Part 1, 1.5.1:
a) SOAP;
b) SOAP binding;
c) SOAP message exchange pattern (MEP);
d) SOAP node.
3.1.5 This Recommendation | International Standard also uses the following terms defined in ITU-T Rec. X.891 |
ISO/IEC 24824-1:
a) Base64;
b) fast infoset document;
c) XML infoset.
3.2 Additional definitions
3.2.1 ASN.1 SOAP interface binding: A concrete interface of a service description (see 12.4) that specifies the
semantics of a Fast Web Service that is to be provided through the exchange of ASN.1 SOAP messages.
3.2.2 ASN.1 SOAP endpoint: A network location of a Fast Web Service identified in a service description.
3.2.3 ASN.1 SOAP header block: A value of the HeaderBlock type (see Annex A).
3.2.4 ASN.1 SOAP HTTP binding: A binding of SOAP to HTTP for the transmission of ASN.1 SOAP messages.
ITU-T Rec. X.892 (05/2005) 3
ISO/IEC 24824-2:2006 (E)
3.2.5 ASN.1 SOAP message: A value of the Envelope type mapped from a W3C SOAP message (see clause 8).
3.2.6 embedded ASN.1 encoded value: An abstract value of an ASN.1 type, whose encoding is included in a W3C
SOAP message as a Base64 string.
3.2.7 embedded fast infoset document: An element information item that, when included in an ASN.1 SOAP
message, is encoded as a fast infoset document.
3.2.8 fast-enabled web service client: A SOAP node that may send requests and receive responses using both
ASN.1 SOAP messages and XML SOAP messages.
3.2.9 fast infoset SOAP message: A W3C SOAP message serialized as a fast infoset document.
3.2.10 fast web services: Services provided by the exchange of ASN.1 SOAP messages.
3.2.11 service description: A set of documents that describe the interface to and the semantics of a Web service.
3.2.12 W3C SOAP header block: The "SOAP header block" defined in W3C SOAP Part 1, 1.5.2.
3.2.13 W3C SOAP message: The "SOAP message" defined in W3C SOAP Part 1, 1.5.2.
3.2.14 W3C SOAP namespace: The namespace whose name is "http://www.w3.org/2003/05/soap-envelope" (see W3C
SOAP Part 1, 1.1).
3.2.15 XML web services: Services provided by the exchange of XML SOAP messages.
3.2.16 XML SOAP message: A W3C SOAP message, or a message defined by any previous or subsequent version
of SOAP, serialized as an XML document.
4 Abbreviations
For the purposes of this Recommendation | International Standard, the following abbreviations apply:
AII Attribute Information Item (see W3C XML Information Set, 2.3)
ASN.1 Abstract Syntax Notation One
CII Character Information Item (see W3C XML Information Set, 2.6)
EII Element Information Item (see W3C XML Information Set, 2.2)
HTTP HyperText Transfer Protocol (see IETF RFC 2616)
MIME Multipurpose Internet Mail Extensions
NII Namespace Information Item (see W3C XML Information Set, 2.11)
PER Packed Encoding Rules of ASN.1
RPC Remote Procedure Call
URI Uniform Resource Identifier
WSDL Web Services Description Language
XML eXtensible Markup Language
XSD W3C XML Schema
5 Notation
5.1 This Recommendation | International Standard uses the ASN.1 notation defined by ITU-T Rec. X.680 |
ISO/IEC 8824-1.
5.2 In this Recommendation | International Standard, bold Courier is used for ASN.1 notation.
5.3 For the following notations, bold Arial is used:
a) XML syntax;
b) the names of EIIs and AIIs;
c) HTTP header fields and parameters of HTTP header fields.
5.4 The names of information items' properties are in bold Arial and enclosed between square brackets (for
example, [children] property).
4 ITU-T Rec. X.892 (05/2005)
ISO/IEC 24824-2:2006 (E)
5.5 MIME media types and URIs are in bold Arial and enclosed between normal quotes (for example, the URI
"http://www.w3.org/2003/05/soap-envelope").
6 The processing of ASN.1 SOAP messages
6.1 ASN.1 SOAP messages are abstract values of the Envelope type defined in the ASN.1 module ASN1SOAP
(see Annex A). The abstract values of the Envelope type are semantically equivalent to instances of the XML Infoset
specified in W3C SOAP Part 1, clause 5 (referred to as the W3C SOAP message infoset).
NOTE – The Envelope type enables an optimal binary encoding of the W3C SOAP message infoset.
6.2 ASN.1 SOAP messages may be used either in conjunction with Web service descriptions or independently of
any Web service description. A Web service description for XML SOAP messages requires no changes to provide a
Fast Web Services description for ASN.1 SOAP messages (see Annex E).
6.3 The SOAP processing model, extensibility model, and binding model (see W3C SOAP Part 1, clauses 2, 3,
and 4) shall be applied, by a SOAP node, to the abstract values of the Envelope type through the mapping specified
in 6.4 between the components of the Envelope type and the information items of the W3C SOAP message infoset.
6.4 The application of these SOAP models to abstract values of the Envelope type shall be the result of the
following conceptual steps:
a) the abstract values of the components of the Envelope type (an ASN.1 SOAP message) are mapped to
information items of a W3C SOAP message infoset as specified in clause 7 and Table 1;
b) the SOAP models are applied to that infoset (see W3C SOAP Part 1, clauses 2, 3, and 4), usually
producing a new W3C SOAP message infoset that conforms to W3C SOAP Part 5 and restricted as
specified in 6.6; and
c) the information items of the new W3C SOAP message infoset are mapped back to abstract values of the
components of the Envelope type as specified in clause 8 and Table 1, usually producing a new abstract
value for the Envelope type (a new ASN.1 SOAP message).
NOTE – These three steps are only conceptual. There is no requirement for an implementation to actually generate a
representation of a W3C SOAP message infoset. Both a W3C SOAP message infoset and an ASN.1 SOAP message are abstract
values, independent of any serialization or encoding used for their representation in a computer system or for transfer between
systems.
6.5 The application of the SOAP models to the W3C SOAP message infoset (see 6.4 b) shall include the extended
processing of embedded ASN.1 encoded values as specified in clause 9.
6.6 The following restrictions apply to the W3C SOAP message infoset resulting from the transformation referred
to in 6.4 b:
a) no AIIs shall be present among the members of the [attributes] property of the Body EII and Detail EII; and
b) at most one EII shall be present among the members of the [children] property of the Body EII and
Detail EII.
6.7 A component of the Envelope type (at any depth up to the presence of a value of the Content type) shall be
mapped to an information item (or conversely) as specified in Table 1. Column 1 of Table 1 lists the components of the
Envelope type. Column 2 gives reference to the subclause of W3C SOAP Part 1 that specifies the semantically
equivalent information item(s). Column 3 lists the clause and subclauses of this Recommendation | International
Standard that specify the mapping from the component to the semantically equivalent information item(s). Column 4
lists the clause and subclauses of this Recommendation | International Standard that specify the mapping from the
information item(s) to the component.
ITU-T Rec. X.892 (05/2005) 5
ISO/IEC 24824-2:2006 (E)
Table 1 – Mapping between components of the Envelope type and information items
of a W3C SOAP message infoset
W3C
SOAP Mapping from Mapping to
ASN.1 module for ASN.1 SOAP
Part 1 ASN.1 ASN.1
reference
Envelope ::= SEQUENCE { 5.1 Clause 7 Clause 8
header Header, 5.2 Subclause 7.1.3 Subclause 8.1.2
body-or-fault CHOICE { 5.3, 5.4 Subclauses 7.1.4 Subclauses 8.1.3
& 7.1.5 & 8.1.4
body Body,
fault Fault
}
}
Header ::= SEQUENCE OF HeaderBlock 5.2 Subclause 7.2 Subclause 8.2
HeaderBlock ::= SEQUENCE { 5.2.1 Subclause 7.2.2 Subclause 8.2.2
mustUnderstand BOOLEAN OPTIONAL, 5.2.2 Subclause 7.2.2.1 Subclause 8.2.2.1
relay     BOOLEAN OPTIONAL, 5.2.3 Subclause 7.2.2.2 Subclause 8.2.2.2
role      XSD.AnyURI 5.2.4 Subclause 7.2.2.3 Subclause 8.2.2.3
DEFAULT ultimateReceiver,
content    Content Subclause 7.2 Subclause 8.2
}
Body ::= SEQUENCE { 5.3 Subclause 7.3 Subclause 8.3
content Content OPTIONAL 5.3 Subclause 7.3.2 Subclause 8.3.2
}
Fault ::= SEQUENCE { 5.4 Subclause 7.4 Subclause 8.4
code  Code, 5.4.1 Subclause 7.4.1.2 Subclause 8.4.1.2
reason SEQUENCE SIZE(1.MAX) OF Text, 5.4.2 Subclause 7.4.1.3 Subclause 8.4.1.3
node  XSD.AnyURI OPTIONAL, 5.4.3 Subclause 7.4.1.4 Subclause 8.4.1.4
role  XSD.AnyURI OPTIONAL, 5.4.4 Subclause 7.4.1.5 Subclause 8.4.1.5
detail Content 5.4.5 Subclause 7.4.1.6 Subclause 8.4.1.6
}
Code ::= SEQUENCE { 5.4.1 Subclause 7.4.2 Subclause 8.4.2
value  Value, 5.4.1.1 Subclause 7.4.2.2 Subclause 8.4.2.2
subcodes SEQUENCE OF XSD.QName 5.4.1.2, Subclauses 7.4.2.3 Subclauses 8.4.2.3
5.4.1.3 & 7.4.2.4 & 8.4.2.4
}
Value ::= ENUMERATED { 5.4.1.1, Subclause 7.4.3 Subclause 8.4.3
5.4.8
versionMismatch,
mustUnderstand,
dataEncodingUnknown,
sender,
receiver
}
Text ::= SEQUENCE { 5.4.2.1 Subclause 7.4.4 Subclause 8.4.4
lang XSD.Language, Subclause 7.4.4.2 Subclause 8.4.4.2
text UTF8String Subclause 7.4.4.3 Subclause 8.4.4.3
}
Content ::= . N/A Subclause 7.5 Subclause 8.5
6 ITU-T Rec. X.892 (05/2005)
ISO/IEC 24824-2:2006 (E)
7 Mapping components of the Envelope type to information items
7.1 General
7.1.1 An Envelope EII shall be generated from a value of the Envelope type.
7.1.2 A unique [prefix] property of an NII with a [namespace name] property equal to the name of the W3C SOAP
namespace among the members of the [in-scope namespaces] property of the Envelope EII shall be generated with its
value chosen by the SOAP node.
NOTE 1 – The prefix "env" is conventionally used in W3C SOAP Part 1, 1.1, but any prefix can be used.
NOTE 2 – All EIIs and AIIs defined in SOAP have a [namespace name] property equal to the name of the W3C SOAP namespace
as specified in W3C SOAP 1, 1.1.
7.1.3 A value of the header component shall be mapped as specified in 7.2.
7.1.4 If a value of the body-or-fault component has the body alternative present, then that alternative shall be
mapped to a Body EII as specified in 7.3.
7.1.5 If a value of the body-or-fault component has the fault alternative present, then a Body EII shall be
generated and the alternative shall be mapped to a Fault EII as specified in 7.4.
NOTE – A W3C SOAP message containing fault information may only have one Fault EII as a child of the Body EII (and can
have no other child EIIs). The ASN.1 schema reflects these constraints by providing separate body and fault alternatives of the
body-or-fault choice.
7.2 Mapping of the Header type
7.2.1 A Header EII shall be generated from a value of the Header type. If the Header type contains one or more
occurrences of HeaderBlock, then each occurrence of HeaderBlock shall be mapped, in order, to a child EII of the
Header EII as specified in 7.2.2. If there are no occurrences of HeaderBlock, then no Header EII shall be generated.
7.2.2 A value of the content component shall be mapped to a W3C SOAP header block as specified in 7.5.
Additional AIIs, among the members of the [attributes] property of the EII generated in 7.5, shall be generated as
specified in 7.2.2.1 to 7.2.2.3.
7.2.2.1 The mustUnderstand AII shall be generated from a value of the mustUnderstand component if the value is
present and is not FALSE, and the [normalized value] property of the mustUnderstand AII shall be "1". Otherwise no
mustUnderstand AII shall be generated.
7.2.2.2 The relay AII shall be generated from a value of the relay component if the value is present and is not
FALSE, and the [normalized value] property of the relay AII shall be "1". Otherwise no relay AII shall be generated.
7.2.2.3 The role AII shall be generated from a value of the role component if that value is different from
ultimateReceiver, and the [normalized value] property of the role AII shall be the character string value of the role
component. Otherwise no role AII shall be generated.
7.3 Mapping of the Body type
7.3.1 A Body EII shall be generated from a value of the Body type.
7.3.2 The value of the content component (if present) shall be mapped as specified in 7.5.
7.4 Mapping of the Fault type
7.4.1 General
7.4.1.1 A Fault EII shall be generated from a value of the Fault type.
7.4.1.2 A value of the code component shall be mapped as specified in 7.4.2.
7.4.1.3 The Reason EII shall be generated from a value of the reason component. Each occurrence of Text in the
sequence-of shall be mapped, in order, to a child Text EII of the Reason EII as specified in 7.4.4.
NOTE – It is recommended that all occurrences of Text in the sequence-of have unique lang component values (see W3C SOAP
Part 1, 5.4.2).
7.4.1.4 The Node EII shall be generated from a value of the node component (if present), and the Node EII shall have
as its child CIIs the characters of the character string value of the node component.
ITU-T Rec. X.892 (05/2005) 7
ISO/IEC 24824-2:2006 (E)
7.4.1.5 The Role EII shall be generated from a value of the role component (if present), and the Role EII shall have
as its child CIIs the characters of the character string value of the role component.
7.4.1.6 The Detail EII shall be generated from the detail component (if present) as specified in 7.5.
7.4.2 Mapping of the Code type
7.4.2.1 A Code EII shall be generated from a value of the Code type.
7.4.2.2 A value of the value component shall be mapped as specified in 7.4.3 to provide the first (or the only, if the
subcodes component is empty) child EII of the Code EII.
7.4.2.3 The first XSD.QName (if any) of the subcodes component shall generate:
a) a Subcode EII as the second child EII of the Code EII; and
b) a Value EII (child of a Subcode EII and generated from the value of the first occurrence of XSD.QName as
specified in 7.4.2.5 to 7.4.2.6) as the first child EII of the Subcode EII generated in a).
7.4.2.4 Each of the following XSD.QNames (if any) of the subcodes component shall generate:
a) a Subcode EII as the second child of the Subcode EII that was generated from the value of the previous
occurrence of XSD.QName; and
b) a Value EII (child of a Subcode EII and generated from the value of the current occurrence of XSD.QName
as specified in 7.4.2.5 to 7.4.2.6) as the first child EII of the Subcode EII generated in a).
NOTE – Each Subcode EII has a second (Subcode) child EII if and only if there is a subsequent XSD.QName in the subcodes.
7.4.2.5 A Value EII (child of a Subcode EII) shall be generated from an occurrence of XSD.QName (with its uri
component present) with:
a) an NII among the members of its [in-scope namespaces] property with a [namespace name] property equal
to the value of the uri component and a [prefix] property chosen by the SOAP node; and
b) a sequence of CIIs that shall be the concatenation of:
1) the [prefix] property in a);
2) a COLON (":"), and
3) the character string value of the name component.
7.4.2.6 A Value EII (child of a Subcode EII) shall be generated from the value of an occurrence of XSD.QName (with
its uri component absent) with a sequence of child CIIs that is the value of the name component.
7.4.3 Mapping of the Value type
A Value EII (child of a Code EII) shall be generated from a value of the Value type with a sequence of CIIs that shall be
generated from the value of the enumeration as the characters of the character string that is the concatenation of:
a) the [prefix] property as specified in 7.1.2;
b) a COLON (":"); and
c) a local name as specified in Table 2.
Table 2 – Mapping the Value type to a local name
Enumeration value of Value Local name
versionMismatch VersionMismatch
mustUnderstand MustUnderstand
dataEncodingUnknown DataEncodingUnknown
sender Sender
receiver Receiver
7.4.4 Mapping of the Text type
7.4.4.1 A Text EII shall be generated from a value of the Text type.
8 ITU-T Rec. X.892 (05/2005)
ISO/IEC 24824-2:2006 (E)
7.4.4.2 An AII shall be generated from the lang component with:
a) a [local name] property of "lang"; and
b) a [namespace name] property of "http://www.w3.org/XML/1998/namespace"; and
c) a [prefix] property of "xml"; and
d) a [normalized value] property equal to the value of the lang component.
7.4.4.3 The sequence of child CIIs of the Text EII shall be the character string value of the text component.
7.5 Mapping of the Content type
7.5.1 General
7.5.1.1 A content EII shall be generated from a value of the Content type in 7.5.2, 7.5.3 or 7.5.4 for the mapping of
fast infoset documents, ASN.1 encoded values and "not understood" ASN.1 SOAP header blocks (see 7.5.4),
respectively, to XML infoset.
7.5.1.2 If the fast-infoset-document alternative of the Content type is present, 7.5.2 shall apply.
7.5.1.3 If the encoded-value alternative of the Content type is present and the encoded-value.id is not equal to
the notUnderstoodIdentifier value, 7.5.3 shall apply.
7.5.1.4 If the encoded-value alternative of the Content type is present and the encoded-value.id is equal to the
notUnderstoodIdentifier value, 7.5.4 shall apply.
7.5.2 Fast infoset document content
7.5.2.1 The octets of the fast-infoset-document component will be a fast infoset document specified in ITU-T
Rec. X.891 | ISO/IEC 24824-1.
7.5.2.2 The content EII shall be generated by application of the following:
a) decode the octets of the fast-infoset-content to generate an XML infoset that is a root EII (as
specified in ITU-T Rec. X.891 | ISO/IEC 24824-1); and
b) apply 7.5.2.3 to the root EII to generate the content EII.
7.5.2.3 The following AIIs (among the members of the [attributes] property of the root EII), if generated from the
mapping of the fast infoset value to a root EII, shall be removed from the [attributes] property of the root EII:
a) the role AII;
b) the mustUnderstand AII;
c) the relay AII.
NOTE – The role, mustUnderstand and relay AIIs are mapped from role, mustUnderstand and relay components of the
HeaderBlock type respectively (see 7.2.2). The removal of these AIIs from the [attributes] property of the root EII ensures that
only components of the HeaderBlock will be used for the processing of W3C SOAP header block by a SOAP node.
7.5.3 Embedded ASN.1 encoded value content
7.5.3.1 An encodingStyle AII (see W3C SOAP Part 1, 5.1.1), among the members of the [attributes] property of the
content EII, shall be generated with a [normalized value] property of:
"urn:ohn:joint-iso-itu-t:asn1:generic-applications:fast-web-services:soap-envelope:encoding-style:aper".
7.5.3.2 If the encoded-value.id component has the qName alternative present, then the [namespace name] and [local
name] properties of the content EII shall be set from the qName.
7.5.3.3 If the encoded-value.id component has the roid alternative present, then the content EII shall be
generated with:
a) a [local name] property of "roid";
b) a [namespace name] property of:
"urn:ohn:joint-iso-itu-t:asn1:generic-applications:fast-web-services:soap-envelope";
c) a roid AII among the members of the [attributes] property as specified in 7.5.3.4.
7.5.3.4 An AII, among the members of the [attributes] property of the content EII, shall be generated from a value of
the Content type (if the encoded-value.id component has the roid alternative present) with:
a) a [local name] property of "roid";
ITU-T Rec. X.892 (05/2005) 9
ISO/IEC 24824-2:2006 (E)
b) a [namespace name] property of:
"urn:ohn:joint-iso-itu-t:asn1:generic-applications:fast-web-services:soap-envelope";
c) a [specified] property of "true";
d) a [normalized value] property that shall be the value of the roid component encoded as an
"XMLRelativeOIDValue" using only the "XMLNumberForm" (see ITU-T Rec. X.680 | ISO/IEC 8824-1,
clause 32).
7.5.3.5 A sequence of child CIIs of the content EII shall be generated from the Base64 encoding of an octet string (as
specified in IETF RFC 2045, 6.8) that is the value of the encoded-value.encoding component.
7.5.3.6 The schema-identifier component, if present, shall be ignored and not mapped.
7.5.4 Not understood W3C SOAP header block content
7.5.4.1 The notUnderstoodIdentifier will identify the ASN.1 type NotUnderstood, a value of which is
encoded, using Basic Aligned PER, to an octet string that is the value of the encoded-value.encoding component.
7.5.4.2 A value of the NotUnderstood type shall be generated by decoding, using Basic Aligned PER, the octets of
encoded-value.encoding component.
7.5.4.3 A NotUnderstood EII (see W3C SOAP Part 1, 5.4.8.1) shall be generated as the content EII with:
a) a NII among the members of its [in-scope namespaces] property with a [namespace name] property equal
to the value of the NotUnderstood.uri component and a unique [prefix] property chosen by the SOAP
node; and
b) a qname AII (see W3C SOAP Part 1, 5.4.8.2) with a [normalized value] property that is the concatenation
of the [prefix] property in a), a COLON (":"), and the character string value of the NotUnderstood.name
component.
8 Mapping W3C SOAP message infosets to abstract values of the Envelope type
8.1 General
8.1.1 A value of the Envelope type shall be generated from an Envelope EII.
8.1.2 The Header EII (if present) shall be
...


NORME ISO/CEI
INTERNATIONALE 24824-2
Première édition
2006-07-01
Technologies de l'information —
Applications génériques de l'ASN.1:
Services web rapides
Information technology — Generic applications of ASN.1: Fast Web
Services
Numéro de référence
ISO/CEI 24824-2:2006(F)
©
ISO/CEI 2006
ISO/CEI 24824-2:2006(F)
PDF – Exonération de responsabilité
Le présent fichier PDF peut contenir des polices de caractères intégrées. Conformément aux conditions de licence d'Adobe, ce fichier
peut être imprimé ou visualisé, mais ne doit pas être modifié à moins que l'ordinateur employé à cet effet ne bénéficie d'une licence
autorisant l'utilisation de ces polices et que celles-ci y soient installées. Lors du téléchargement de ce fichier, les parties concernées
acceptent de fait la responsabilité de ne pas enfreindre les conditions de licence d'Adobe. Le Secrétariat central de l'ISO décline toute
responsabilité en la matière.
Adobe est une marque déposée d'Adobe Systems Incorporated.
Les détails relatifs aux produits logiciels utilisés pour la création du présent fichier PDF sont disponibles dans la rubrique General Info
du fichier; les paramètres de création PDF ont été optimisés pour l'impression. Toutes les mesures ont été prises pour garantir
l'exploitation de ce fichier par les comités membres de l'ISO. Dans le cas peu probable où surviendrait un problème d'utilisation,
veuillez en informer le Secrétariat central à l'adresse donnée ci-dessous.

©  ISO/CEI 2006
Droits de reproduction réservés. Sauf prescription différente, aucune partie de cette publication ne peut être reproduite ni utilisée sous
quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie et les microfilms, sans l'accord écrit
de l'ISO à l'adresse ci-après ou du comité membre de l'ISO dans le pays du demandeur.
ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax. + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Publié en Suisse
ii © ISO/CEI 2006 – Tous droits réservés

ISO/CEI 24824-2:2006(F)
TABLE DES MATIÈRES
Page
1 Domaine d'application . 1
2 Références normatives. 1
2.1 Recommandations | Norme internationales identiques . 1
2.2 Références supplémentaires . 2

3 Définitions . 3
3.1 Définitions importées. 3

3.2 Définitions supplémentaires . 4

4 Abréviations. 4
5 Notation . 5

6 Traitement des messages SOAP en ASN.1 . 5

7 Mappage des composants du type Envelope en items d'information . 7
7.1 Généralités. 7

7.2 Mappage du type Header. 7
7.3 Mappage du type Body.  7

7.4 Mappage du type Fault.  7

7.5 Mappage du type Content. 9
8 Mappage des infosets de message SOAP du W3C en valeurs abstraites du type Envelope. 10

8.1 Généralités. 10
8.2 Mappage d'un EII Header. 10

8.3 Mappage d'un EII Body. 11
8.4 Mappage d'un EII Fault . 11
8.5 Mappage d'un EII de contenu en une valeur du type Content . 12

9 Traitement SOAP étendu des valeurs codées en ASN.1 intégrées. 13
9.1 Généralités. 13

9.2 Identification du type ASN.1 d'une valeur codée en ASN.1 intégrée. 14
9.3 Génération d'une valeur ASN.1 à partir d'une valeur codée en ASN.1 intégrée identifiée. 14

9.4 Insertion d'une valeur ASN.1 (avec un identificateur) dans un message SOAP W3C . 14
9.5 La faute "type ASN.1 non identifiable". 15
10 Liaison HTTP SOAP en ASN.1. 16

10.1 Type de support HTTP. 16
10.2 Comportement des nœuds SOAP en réponse . 16

11 Les messages SOAP fast infoset et la liaison HTTP SOAP . 17

12 Descriptions de service orienté SOAP prenant en charge la liaison d'interface SOAP ASN.1 . 17
12.1 Généralités. 17

12.2 Schémas. 17
12.3 Interfaces abstraites et opérations abstraites. 18

12.4 Liaisons d'interface et liaisons d'opération. 18
12.5 Schéma RPC . 20

13 Utilisation des descriptions de service orienté SOAP avec les liaisons d'interface SOAP en ASN.1. 22

Annexe A – Module ASN.1 pour SOAP en ASN.1 . 23
Annexe B – Types de support MIME pour services web rapides. 24

B.1 Le type de support "application/fastsoap". 24

B.2 Le type de support "application/soap+fastinfoset". 25
Annexe C – Explications sur les services web rapides . 27

C.1 Avantages des services web rapides. 27
C.2 Traitement conceptuel et optimisé des messages SOAP en ASN.1 . 28

C.3 Descriptions de service. 30
Annexe D – Fourniture courante des services utilisant web rapide et XML web . 33
D.1 Stratégie optimiste. 33
© ISO/CEI 2006 – Tous droits réservés iii

ISO/ CEI 24824-2:2006(F)
Page
D.2 Stratégie pessimiste . 33

Annexe E – Description de service orienté SOAP en WSDL 1.1. 35
E.1 Descriptions de service orienté SOAP exprimées en WSDL 1.1 . 35
E.2 Schéma . 35
E.3 Interface abstraites et opérations abstraites . 35
E.4 Liaisons d'interface et liaisons d'opération. 36
Annexe F – Allocation des valeurs d'identificateur d'objet.   39
BIBLIOGRAPHIE . 40

iv © ISO/CEI 2006 – Tous droits réservés

ISO/CEI 24824-2:2006(F)
Avant-propos
L'ISO (Organisation internationale de normalisation) est une fédération mondiale d'organismes nationaux de
normalisation (comités membres de l'ISO). L'élaboration des Normes internationales est en général confiée
aux comités techniques de l'ISO. Chaque comité membre intéressé par une étude a le droit de faire partie du
comité technique créé à cet effet. Les organisations internationales, gouvernementales et non
gouvernementales, en liaison avec l'ISO participent également aux travaux. L'ISO collabore étroitement avec
la Commission électrotechnique internationale (CEI) en ce qui concerne la normalisation électrotechnique.
Les Normes internationales sont rédigées conformément aux règles données dans les Directives ISO/CEI,
Partie 2.
La tâche principale des comités techniques est d'élaborer les Normes internationales. Les projets de Normes
internationales adoptés par les comités techniques sont soumis aux comités membres pour vote. Leur
publication comme Normes internationales requiert l'approbation de 75 % au moins des comités membres
votants.
L'attention est appelée sur le fait que certains des éléments du présent document peuvent faire l'objet de
droits de propriété intellectuelle ou de droits analogues. L'ISO ne saurait être tenue pour responsable de ne
pas avoir identifié de tels droits de propriété et averti de leur existence.
L'ISO/CEI 24824-2 a élaborée par le comité technique ISO/CEI JTC 1, Technologies de l'information,
sous-comité SC 6, Téléinformatique, en collaboration avec l'UIT-T. Le texte identique est publié en tant que
Rec. UIT-T X.892.
L'ISO/CEI 24824 comprend les parties suivantes, présentées sous le titre général Technologies de
l'information — Applications génériques de l'ASN.1:
⎯ Partie 1: Infoset rapide
⎯ Partie 2: Services web rapides
La partie suivante est en préparation.
⎯ Partie 3: Sécurité d'Infoset rapide

© ISO/CEI 2006 – Tous droits réservés v

ISO/CEI 24824-2:2006(F)
Introduction
La présente Recommandation | Norme internationale spécifie l'utilisation de l'ASN.1 (voir la Rec. UIT-T X.680 |
ISO/CEI 8824-1), ses règles de codage compact (voir la Rec. UIT-T X.691 | ISO/CEI 8825-2) et Fast Infoset (voir la
Rec. UIT-T X.891 | ISO/CEI 24824-1) pour fournir des services web rapides. (Pour une explication générale sur les
services web rapides, voir l'Annexe C.)
Le paragraphe 6 spécifie le modèle architectural et les étapes conceptuelles de la production et du traitement des

messages SOAP codés en utilisant les codages binaires en ASN.1 (appelés "messages SOAP en ASN.1").
Les p aragraphes 7 à 9 contiennent des dispositions générales pour le traitement des messages SOAP en ASN.1. Le
paragraphe 7 spécifie le mappage des messages SOAP en ASN.1 en messages SOAP du W3C. Le paragraphe 8 spécifie
le mappage des messages SOAP du W3C en messages SOAP en ASN.1. Le paragraphe 9 spécifie le modèle de

traitement SOAP étendu pour le traitement des valeurs codées en ASN.1 intégrées présentes dans les messages SOAP
du W3C.
Le paragraphe 10 spécifie la liaison HTTP SOAP en ASN.1 pour le transfert de messages SOAP en ASN.1 en utilisant

HTTP comme protocole de transport. Cette liaison utilise le type de support d'extensions de messagerie Internet multi-
objet (MIME) spécifié à l'Annexe B.1.

Le paragraphe 11 spécifie l'utilisation de la liaison HTTP SOAP du W3C pour le transfert des messages SOAP du W3C
qui sont codés comme des documents fast infoset (messages SOAP fast infoset). Cette liaison utilise le type de support

de messagerie Internet multi-objet (MIME) spécifié à l'Annexe B.2.

Le paragraphe 12 spécifie les descriptions de service orientées SOAP qui acceptent l'interface de liaison SOAP en
ASN.1 et les services web rapides.

Le paragraphe 13 spécifie comment une description de service orienté SOAP affecte l'échange de messages SOAP en
AS N.1 qui sont mappés de et en messages SOAP du W3C.
L'Annexe A fait partie intégrante de la présente Recommandation | Norme internationale et contient le module ASN.1

complet pour le SOAP en ASN.1.

L'Annexe B fait partie intégrante de la présente Recommandation | Norme internationale et contient la spécification des
types de support "application/fastsoap" et "application/soap+fastinfoset".

L'Annexe C ne fait pas partie intégrante de la présente Recommandation | Norme internationale et donne des éléments
d'explication sur les services web rapides.

L'Annexe D ne fait pas partie intégrante de la présente Recommandation | Norme internationale et donne des éléments

d'explication sur l'interfonctionnement des services web rapides et des services web en XML en utilisant des
caractéristiques de la liaison HTTP SOAP en ASN.1.

L'Annexe E ne fait pas partie intégrante de la présente Recommandation | Norme internationale et montre comment les
échanges des messages SOAP en ASN.1 peuvent être décrits par les descriptions de service WSDL 1.1 [2].

vi © ISO/CEI 2006 – Tous droits réservés

ISO/CEI 24824-2:2006 (F)
NORME INTERNATIONALE
RECOMMANDATION UIT-T
Technologies de l'information – Applications génériques de l'ASN.1:
services web rapides
1 Domaine d'application
La présente Recommandation | Norme internationale spécifie les messages et codages qui permettent l'utilisation des
services web rapides, ainsi que les moyens de description de tels services.
Le protocole utilisé pour prendre en charge ces services satisfait aux exigences du modèle de traitement SOAP (voir
le § 2 de la partie 1 de SOAP du W3C) et se fonde sur le transfert de:
a) messages SOAP en ASN.1 qui contiennent des valeurs codées en ASN.1 intégrées et des documents fast
infoset intégrés; et
b) des messages SOAP fast infoset.
La présente Recommandation | Norme internationale spécifie aussi:
– un module ASN.1 pour SOAP en ASN.1 qui définit le type Envelope (une valeur de ce type correspond
à un message SOAP en ASN.1);
– un mappage conceptuel entre les messages SOAP en ASN.1 et les messages SOAP du W3C (définis
comme instances de l'Infoset XML, voir le § 5 de la partie 1 de SOAP du W3C);
– une extension au modèle de traitement SOAP du W3C pour le traitement des valeurs codées en ASN.1
intégrées;
– la liaison HTTP SOAP en ASN.1, qui est une modification et une extension de la liaison HTTP SOAP du
W3C (voir le § 7, partie 2 de SOAP du W3C), pour le transfert des messages SOAP en ASN.1;
– la prise en charge du transfert des infosets de message SOAP du W3C disposés comme des documents
fast infoset (messages SOAP fast infoset) en utilisant la liaison HTTP SOAP du W3C (voir le § 7,
partie 2 de SOAP du W3C);
– des descriptions de service orientées SOAP qui définissent l'interface de et vers la sémantique des
services web rapides.
Deux noms de type de support d'extensions de messagerie Internet multi-objet (MIME) sont alloués pour identifier:
– les messages SOAP en ASN.1 codés en utilisant les règles PER aligné basique;
– les messages SOAP fast infoset.
2 Références normatives
Les Recommandations et Normes internationales suivantes contiennent des dispositions qui, par suite de la référence
qui y est faite, constituent des dispositions valables pour la présente Recommandation | Norme internationale. Au
moment de la publication, les éditions indiquées étaient en vigueur. Toutes Recommandations et Normes sont sujettes à
révision et les parties prenantes aux accords fondés sur la présente Recommandation | Norme internationale sont
invitées à rechercher la possibilité d'appliquer les éditions les plus récentes des Recommandations et Normes indiquées
ci-après. Les membres de la CEI et de l'ISO possèdent le registre des Normes Internationales en vigueur. Le Bureau de
la normalisation des télécommunications de l'UIT tient à jour une liste des Recommandations de l'UIT-T en vigueur. La
référence à un document au sein de la présente Recommandation | Norme internationale ne lui donne pas, en tant que
tel, le statut de Recommandation ou de Norme internationale.
2.1 Recommandations | Norme internationales identiques
– Recommandation UIT-T X.660 (2004) | ISO/CEI 9834-1:2005, Technologies de l'information –
Interconnexion des systèmes ouverts – Procédures opérationnelles des organismes d'enregistrement de
l'OSI: Procédures générales et arcs sommitaux de l’ arborescence des identificateurs d'objet ASN.1.
Rec. UIT-T X.892 (05/2005) 1
ISO/CEI 24824-2:2006 (F)
– Recommandation UIT-T X.680 (2002) | ISO/CEI 8824-1:2002, Technologies de l'information – Notation
de syntaxe abstraite numéro un (ASN.1): spécification de la notation de base.
– Recommandation UIT-T X.681 (2002) | ISO/CEI 8824-2:2002, Technologies de l'information – Notation
de syntaxe abstraite numéro un (ASN.1): spécification des objets informationnels.
– Recommandation UIT-T X.682 (2002) | ISO/CEI 8824-3:2002, Technologies de l'information – Notation
de syntaxe abstraite numéro un (ASN.1): spécification des contraintes.†
– Recommandation UIT-T X.683 (2002) | ISO/CEI 8824-4:2002, Technologies de l'information – Notation
de syntaxe abstraite numéro un (ASN.1): paramétrage des spécifications de la notation de syntaxe
abstraite numéro un.†
– Recommandation UIT-T X.690 (2002) | ISO/CEI 8825-1:2002, Technologies de l'information – Règles
de codage ASN.1: spécification des règles de codage de base, des règles de codage canoniques et des
règles de codage distinctives.†
– Recommandation UIT-T X.691 (2002) | ISO/CEI 8825-2:2002, Technologies de l'information – Règles
de codage ASN.1: spécification des règles de codage compact (PER).
– Recommandation UIT-T X.692 (2002) | ISO/CEI 8825-3:2002, Technologies de l'information – Règles
de codage ASN.1: spécification de la notation de contrôle de codage (ECN).†
– Recommandation UIT-T X.693 (2001) | ISO/CEI 8825-4:2002, Technologies de l'information – Règles
de codage ASN.1: règles de codage XML (XER) plus Amendement 1, Instructions de codage XER et
règles de codage XML étendues (EXTENDED-XER).†
– Recommandation UIT-T X.694 (2004) | ISO/CEI 8825-5:2004, Technologies de l'information – Règles
de codage ASN.1: mappage en ASN.1 des définitions de schéma XML du W3C.
– Recommandation UIT-T X.891 (2005) | ISO/CEI 24824-1:2005, Technologies de l'information –
Applications génériques de l'ASN.1: Fast Infoset.
NOTE – L'ensemble complet des Recommandations | Normes Internationales sur l'ASN.1 est listé ci-dessus car elles
peuvent toutes être applicables dans des utilisations particulières de la présente Recommandation | Norme
internationale. Lorsqu'elles ne sont pas directement référencées dans le corps de la présente Recommandation |
Norme internationale, un symbole † est ajouté à la référence.
2.2 Références supplémentaires
– 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/REC-
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) 1.0 (Third Edition), W3C Recommendation,
Copyright © [4 February 2004] World Wide Web Consortium (Massachusetts Institute of Technology,
Institut National de Recherche en Informatique et en Automatique, Keio University),
http://www.w3.org/TR/2000/REC-xml-20040204/.
– W3C XML Information Set:2004, XML Information Set (Second Edition), W3C Recommendation,
Copyright © [04 February 2004] World Wide Web Consortium (Massachusetts Institute of Technology,
Institut National de Recherche en Informatique et en Automatique, Keio University),
http://www.w3.org/TR/2004/REC-xml-infoset-20040204/.
– W3C XML Namespaces 1.0:1999, Namespaces in XML, W3C Recommendation, Copyright © [14
January 1999] World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de
Recherche en Informatique et en Automatique, Keio University), http://www.w3.org/TR/1999/REC-xm-
lnames-19990114/.
– W3C XML Schema:2001, XML Schema Part 1: Structures, W3C Recommendation, Copyright © [2 May
2001] World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de
Recherche en Informatique et en Automatique, Keio University), http://www.w3.org/TR/2001/REC-
xmlschema-1-20010502/.
– W3C XML Schema:2001, XML Schema Part 2: Datatypes, W3C Recommendation, Copyright © [2 May
2001] World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de
Recherche en Informatique et en Automatique, Keio University), http://www.w3.org/TR/2001/REC-
xmlschema-2-20010502/.
2 Rec. UIT-T X.892 (05/2005)
ISO/CEI 24824-2:2006 (F)
NOTE – Lorsque la référence "W3C XML Schema" est utilisée dans la présente Recommandation | Norme
internationale, elle se rapporte à la partie 1 du Schéma XML du W3C et à la partie 2 du Schéma XML du W3C.
– IETF RFC 2045 (1996), Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet
Message Bodies (Extensions de messagerie Internet multi-objets (MIME), Partie 1: Format des corps de
message Internet).
– IETF RFC 2616 (1999), Hypertext Transfer Protocol – HTTP/1.1. (Protocole de transfert hypertexte –
HTTP/1.1).
3 Définitions
Pour les besoins de la présente Recommandation | Norme internationale, les définitions suivantes s'appliquent.
3.1 Définitions importées
3.1.1 La présente Recommandation | Norme internationale utilise les termes suivants qui sont définis dans la
Rec. UIT-T X.680 | ISO/CEI 8824-1:
a) valeur abstraite;
b) module;
c) identificateur d'objet;
d) identificateur relatif d'objet;
e) type.
3.1.2 La présente Recommandation | Norme internationale utilise aussi les termes suivants qui sont définis dans le
schéma XML du W3C:
a) définition de type complexe;
b) déclaration d'élément;
c) schéma;
d) composante de schéma;
e) définition de type simple.
3.1.3 La présente Recommandation | Norme internationale utilise aussi les termes suivants qui sont définis dans
l'ensemble d'informations XML du W3C:
a) item d'information abstrait;
b) item d'information de caractère;
c) item d'information d'élément;
d) item d'information;
e) item d'information d'espace de nom;
f) propriété (d'un item d'information).
3.1.4 La présente Recommandation | Norme internationale utilise aussi les termes suivants qui sont définis au
§ 1.5.1, Partie 1 de SOAP du W3C:
a) SOAP;
b) liaison SOAP;
c) schéma d'échange de message SOAP (MEP, message exchange pattern);
d) nœud SOAP.
3.1.5 La présente Recommandation | Norme internationale utilise aussi les termes suivants qui sont définis dans la
Rec. UIT-T X.891 | ISO/CEI 24824-1:
a) Base64;
b) document fast infoset;
c) infoset XML.
Rec. UIT-T X.892 (05/2005) 3
ISO/CEI 24824-2:2006 (F)
3.2 Définitions supplémentaires
3.2.1 liaison d'interface SOAP en ASN.1: interface concrète d'une description de service (voir le § 12.4) qui
spécifie la sémantique d'un service web rapide devant être fourni au moyen d'un échange de messages SOAP en ASN.1.
3.2.2 extrémité SOAP ASN.1: localisation réseau d'un service web rapide identifié dans une description de service.
3.2.3 bloc d'en-tête SOAP ASN.1: valeur du type HeaderBlock (voir l'Annexe A).
3.2.4 liaison HTTP SOAP ASN.1: liaison de SOAP à HTTP pour la transmission de messages SOAP en ASN.1.
3.2.5 message SOAP en ASN.1: valeur du type Envelope mappée d'un message SOAP du W3C (voir le § 8).
3.2.6 valeur codée en ASN.1 intégrée: valeur abstraite d'un type ASN.1, dont le codage est inclus dans un message
SOAP du W3C comme chaîne Base64.
3.2.7 document fast infoset intégré: item d'information d'élément qui, lorsqu'il est inclus dans un message SOAP
en ASN.1, est codé comme un document fast infoset.
3.2.8 client de service web à capacité rapide: nœud SOAP qui peut envoyer des demandes et recevoir des
réponses en utilisant aussi bien des messages SOAP en ASN.1 que des messages SOAP en XML.
3.2.9 message SOAP fast infoset: message SOAP du W3C disposé comme un document fast infoset.
3.2.10 services web rapides: services fournis par l'échange de messages SOAP en ASN.1.
3.2.11 description de service: ensemble de documents qui décrivent l'interface avec un service web et sa
sémantique.
3.2.12 bloc d'en-tête SOAP du W3C: c'est le "bloc d'en-tête SOAP" défini au § 1.5.2, Partie 1 de SOAP du W3C.
3.2.13 message SOAP W3C: c'est le "message SOAP" défini au § 1.5.2, Partie 1 de SOAP du W3C.
3.2.14 espace de noms SOAP du W3C: espace de noms dont le nom est "http://www.w3.org/2003/05/soap-envelope"
(voir le § 1.1, Partie 1 de SOAP du W3C).
3.2.15 services web en XML: services fournis par l'échange de messages SOAP en XML.
3.2.16 message SOAP en XML: message SOAP en XML, ou message défini par toute version précédente ou
ultérieure de SOAP, présenté comme un document en XML.
4 Abréviations
Pour les besoins de la présente Recommandation | Norme internationale, les abréviations suivantes s’appliquent:
AII item d'information d'attribut (attribute information item) (voir le § 2.3 de l'ensemble d'informations en
XML du W3C)
ASN.1 notation de syntaxe abstraite numéro un (abstract syntax notation one)
CII item d'information de caractère (character information item) (voir le § 2.6 de l'ensemble d'informations
en XML du W3C)
EII item d'information d'élément (element information item) (voir le § 2.2 de l'ensemble d'informations en
XML du W3C)
HTTP protocole de transfert d'hypertexte (hypertext transfer protocol) (voir la RFC 2616 de l'IETF)
MIME extensions de messagerie Internet multi-objets (multipurpose Internet mail extensions)
NII item d'information d'espace de nom (namespace information item) (voir le § 2.11 de l'ensemble
d'informations en XML du W3C)
PER règles de codage compact en ASN.1 (packed encoding rules ASN.1)
RPC demande de procédure distante (remote procedure call)
URI identificateur uniforme de ressource (uniform resource identifier)
WSDL langage de description des services web (web services description language)
XML langage de balisage extensible (extensible markup language)
XSD schéma en XML du W3C
4 Rec. UIT-T X.892 (05/2005)
ISO/CEI 24824-2:2006 (F)
5 Notation
5.1 La présente Recommandation | Norme internationale utilise la notation ASN.1 définie par la
Rec. UIT-T X.680 | ISO/CEI 8824-1.
5.2 Dans la présente Recommandation | Norme internationale, le Courier gras est utilisé pour la notation ASN.1.
5.3 Arial gras est utilisé pour les notations suivantes:
a) la syntaxe XML;
b) les noms des EII et des AII;
c) les champs d'en-tête HTTP et les paramètres des champs d'en-tête HTTP.
5.4 Les noms des propriétés des items d'information sont en Arial gras et mis entre crochets (par exemple, la
propriété [children]).
5.5 Les types de support MIME et les URI sont en Arial gras et mis entre guillemets normaux (par exemple, l'URI
"http://www.w3.org/2003/05/soap-envelope").
6 Traitement des messages SOAP en ASN.1
6.1 Les messages SOAP en ASN.1 sont des valeurs abstraites du type Envelope défini dans le module ASN.1
ASN1SOAP (voir l'Annexe A). Les valeurs abstraites du type Envelope sont sémantiquement équivalentes aux instances
de l'infoset XML spécifié au § 5, Partie 1 de SOAP du W3C (qu'on désigne comme l'infoset de message SOAP du
W3C).
NOTE – Le type Envelope permet un codage binaire optimal de l'infoset de message SOAP du W3C.
6.2 Les messages SOAP en ASN.1 peuvent être utilisés conjointement avec les descriptions de service web ou
indépendamment de toute description de service web. Une description de service web pour les messages SOAP en
XML ne requiert aucun changement pour fournir une description des services web rapides pour les messages SOAP en
ASN.1 (voir l'Annexe E).
6.3 Le modèle de traitement SOAP, le modèle d'extensibilité et le modèle de liaison (voir les paragraphes 2, 3, et
4, Partie 1 de SOAP du W3C) doivent être appliqués, par un nœud SOAP, aux valeurs abstraites du type Envelope au
moyen du mappage spécifié au § 6.4 entre les composants du type Envelope et les items d'information de l'infoset de
message SOAP du W3C.
6.4 L'application de ces modèles SOAP à des valeurs abstraites du type Envelope doit être le résultat des étapes
conceptuelles suivantes:
a) les valeurs abstraites des composants du type Envelope (un message SOAP en ASN.1) sont mappées en
items d'information d'un infoset de message SOAP du W3C comme spécifié au § 7 et au Tableau 1;
b) les modèles SOAP sont appliqués à cet infoset (voir les paragraphes 2, 3, et 4, Partie 1 de SOAP du
W3C), produisant habituellement un nouvel infoset de message SOAP du W3C qui est conforme à la
partie 5 de SOAP du W3C et est restreint comme spécifié au § 6.6; et
c) les items d'information du nouvel infoset de message SOAP du W3C sont remappés en des valeurs
abstraites des composants du type Envelope comme spécifié au § 8 et au Tableau 1, produisant
normalement une nouvelle valeur abstraite pour le type Envelope (un nouveau message SOAP en
ASN.1).
NOTE – Ces trois étapes ne sont que conceptuelles. Il n'y a pas d'exigence qu'une implémentation génère réellement une
représentation d'un infoset de message SOAP du W3C. L'infoset de message SOAP du W3C et le message SOAP en ASN.1 sont
tous deux des valeurs abstraites, indépendantes de toute disposition ou codage utilisé pour leur représentation dans un système
d'ordinateur ou de transfert entre systèmes.
6.5 L'application des modèles SOAP à l'infoset de message SOAP du W3C (voir le § 6.4 b)) doit inclure le
traitement extensif des valeurs codées en ASN.1 intégrées, comme spécifié au § 9.
6.6 Les restrictions suivantes s'appliquent à l'infoset de message SOAP du W3C qui résulte de la transformation
mentionnée au § 6.4 b):
a) aucun AII ne doit être présent parmi les membres de la propriété [attributes] de l'EII Body et de l'EII Detail;
et
b) au plus un EII doit être présent parmi les membres de la propriété [children] de l'EII Body et de l'EII Detail.
6.7 Un composant du type Envelope (à toute profondeur jusqu'à la présence d'une valeur du type Content) doit
être mappé en item d'information (ou réciproquement) comme spécifié au Tableau 1. La colonne 1 du Tableau 1 donne
Rec. UIT-T X.892 (05/2005) 5
ISO/CEI 24824-2:2006 (F)
la liste des composants du type Envelope. La colonne 2 donne la référence au paragraphe de la Partie 1 de SOAP du
W3C qui spécifie le ou les items d'information sémantiquement équivalents. La colonne 3 donne la liste des
paragraphes de la présente Recommandation | Norme internationale qui spécifient le mappage du composant en item
d'information sémantiquement équivalent. La colonne 4 donne la liste des paragraphes de la présente Recommandation |
Norme internationale qui spécifient le mappage du ou des items d’information en composant.
Tableau 1 – Mappage entre composants du type Envelope et items d'information
d'élément d'un infoset de message SOAP du W3C
Référence W3C Mappage à partir Mappage
Module ASN.1 pour SOAP en ASN.1
SOAP Partie 1 de l'ASN.1 en ASN.1
Envelope ::= SEQUENCE { 5.1 § 7 § 8
header Header, 5.2 § 7.1.3 § 8.1.2
body-or-fault CHOICE { 5.3, 5.4 § 7.1.4 et 7.1.5 § 8.1.3 et 8.1.4
body Body,
fault Fault
}
}
Header ::= SEQUENCE OF HeaderBlock 5.2 § 7.2 § 8.2
HeaderBlock ::= SEQUENCE { 5.2.1 § 7.2.2 § 8.2.2
mustUnderstand BOOLEAN OPTIONAL, 5.2.2 § 7.2.2.1 § 8.2.2.1
relay     BOOLEAN OPTIONAL, 5.2.3 § 7.2.2.2 § 8.2.2.2
role      XSD.AnyURI 5.2.4 § 7.2.2.3 § 8.2.2.3
DEFAULT ultimateReceiver,
content    Content § 7.2 § 8.2
}
Body ::= SEQUENCE { 5.3 § 7.3 § 8.3
content Content OPTIONAL 5.3 § 7.3.2 § 8.3.2
}
Fault ::= SEQUENCE { 5.4 § 7.4 § 8.4
code  Code, 5.4.1 § 7.4.1.2 § 8.4.1.2
reason SEQUENCE SIZE(1.MAX) OF Text, 5.4.2 § 7.4.1.3 § 8.4.1.3
node  XSD.AnyURI OPTIONAL, 5.4.3 § 7.4.1.4 § 8.4.1.4
role  XSD.AnyURI OPTIONAL, 5.4.4 § 7.4.1.5 § 8.4.1.5
detail Content 5.4.5 § 7.4.1.6 § 8.4.1.6
}
Code ::= SEQUENCE { 5.4.1 § 7.4.2 § 8.4.2
value  Value, 5.4.1.1 § 7.4.2.2 § 8.4.2.2
subcodes SEQUENCE OF XSD.QName 5.4.1.2, 5.4.1.3 § 7.4.2.3 et 7.4.2.4 § 8.4.2.3 et
8.4.2.4
}
Value ::= ENUMERATED { 5.4.1.1, 5.4.8 § 7.4.3 § 8.4.3
versionMismatch,
mustUnderstand,
dataEncodingUnknown,
sender,
receiver
}
Text ::= SEQUENCE { 5.4.2.1 § 7.4.4 § 8.4.4
lang XSD.Language, § 7.4.4.2 § 8.4.4.2
text UTF8String § 7.4.4.3 § 8.4.4.3
}
Content ::= . N/A § 7.5 § 8.5
6 Rec. UIT-T X.892 (05/2005)
ISO/CEI 24824-2:2006 (F)
7 Mappage des composants du type Envelope en items d'information
7.1 Généralités
7.1.1 Un EII Envelope doit être généré à partir d'une valeur du type Envelope.
7.1.2 Une propriété [prefix] unique d'un NII avec une propriété [namespace name] égale au nom d'espace de noms du
SOAP de W3C parmi les membres de la propriété [in-scope namespaces] de l'EII Envelope doit être générée avec sa
valeur choisie par le nœud SOAP.
NOTE 1 – Le préfixe "env" est utilisé par convention dans le § 1.1, Partie 1 de SOAP du W3C, mais tout préfixe peut être utilisé.
NOTE 2 – Tous les EII et AII définis dans SOAP ont une propriété [namespace name] égale au nom de l'espace de noms SOAP du
W3C comme spécifié au § 1.1, Partie 1 de SOAP du W3C.
7.1.3 Une valeur du composant header doit être mappée comme spécifié au § 7.2.
7.1.4 Si une valeur du composant body-or-fault a la valeur de remplacement body présente, cette valeur de
remplacement doit alors être mappée en un EII Body comme spécifié au § 7.3.
7.1.5 Si une valeur du composant body-or-fault a la valeur de remplacement fault présente, un EII Body doit
alors être généré et la valeur de remplacement doit être mappée en EII Fault comme spécifié au § 7.4.
NOTE – Un message SOAP du W3C contenant une information de faute ne peut avoir qu'un seul EII Fault comme fils de l'EII
Body (et ne peut avoir aucun autre EII fils). Le schéma ASN.1 reflète ces contraintes en fournissant des valeurs de remplacement
body et fault distinctes du choix body-or-fault.
7.2 Mappage du type Header
7.2.1 Un EII Header doit être généré à partir d'une valeur du type Header. Si le type Header contient une ou
plusieurs occurrences de HeaderBlock, chaque occurrence de HeaderBlock doit alors être mappée, dans l'ordre, en un
EII fils de l'EII Header comme spécifié au § 7.2.2. S'il n'y a pas d'occurrence de HeaderBlock, aucun EII Header ne doit
alors être généré.
7.2.2 Une valeur du composant content doit être mappée en un bloc d'en-tête SOAP du W3C comme spécifié au §
7.5. Des AII supplémentaires, parmi les membres de la propriété [attributes] de l'EII généré au § 7.5, doivent être
générés comme spécifié aux § 7.2.2.1 à 7.2.2.3.
7.2.2.1 L'AII mustUnderstand doit être généré à partir d'une valeur du composant mustUnderstand si la valeur est
présente et n'est pas FALSE, et la propriété [normalized value] de l'AII mustUnderstand doit être "1". Autrement, aucun AII
mustUnderstand ne doit être généré.
7.2.2.2 L'AII relay doit être généré à partir d'une valeur du composant relay si la valeur est présente et n'est pas
FALSE, et la propriété [normalized value] de l'AII relay doit être "1". Autrement, aucun AII relay ne doit être généré.
7.2.2.3 L'AII role doit être généré à partir d'une valeur du composant role si cette valeur est différente de
ultimateReceiver, et la propriété [normalized value] de l'AII role doit être la valeur de la chaîne de caractères du
composant role. Autrement, aucun AII role ne doit être généré.
7.3 Mappage du type Body
7.3.1 Un EII Body doit être généré à partir d'une valeur du type Body.
7.3.2 La valeur du composant content (s'il est présent) doit être mappée comme spécifié au § 7.5.
7.4 Mappage du type Fault
7.4.1 Généralités
7.4.1.1 Un EII Fault doit être généré à partir d'une valeur du type Fault.
7.4.1.2 Une valeur du composant code doit être mappée comme spécifié au § 7.4.2.
7.4.1.3 L'EII Reason doit être généré à partir d'une valeur du composant reason. Chaque occurrence de Text dans la
séquence-de doit être mappée, dans l'ordre, en un EII Text fils de l'EII Reason comme spécifié au § 7.4.4.
NOTE – Il est recommandé que toute occurrence de Text dans la séquence-de ait des valeurs de composant lang uniques (voir
le § 5.4.2, Partie 1 de SOAP du W3C).
Rec. UIT-T X.892 (05/2005) 7
ISO/CEI 24824-2:2006 (F)
7.4.1.4 L'EII Node doit être généré à partir d'une valeur du composant node (s'il est présent), et l'EII Node doit avoir
comme ses CII child les caractères de la valeur de chaîne de caractères du composant node.
7.4.1.5 L'EII Role doit être généré à partir d'une valeur du composant role (s'il est présent), et l'EII Role doit avoir
comme ses CII child les caractères de la valeur de chaîne de caractères du composant role.
7.4.1.6 L'EII Detail doit être généré à partir du composant detail (s'il est présent) comme spécifié au § 7.5.
7.4.2 Mappage du type Code
7.4.2.1 Un EII Code doit être généré à partir d'une valeur du type Code.
7.4.2.2 Une valeur du composant value doit être mappée comme spécifié au § 7.4.3 pour fournir le premier (ou le
seul, si le composant subcodes est vide) EII fils de l'EII Code.
7.4.2.3 Le premier XSD.QName (s'il en est) du composant subcodes doit générer:
a) un EII Subcode comme second EII fils de l'EII Code; et
b) un EII Value (fils d'un EII Subcode et généré à partir de la valeur de la première occurrence de
XSD.QName comme spécifié aux § 7.4.2.5 et 7.4.2.6) comme premier EII fils de l'EII Subcode généré
en a).
7.4.2.4 Chacun des XSD.QNames suivants (s'il en est) du composant subcodes doit générer:
a) un EII Subcode comme second fils de l'EII Subcode qui a été généré à partir de la valeur de la précédente
occurrence de XSD.QName; et
b) un EII Value (fils d'un EII Subcode et généré à partir de la valeur de l'occurrence en cours de XSD.QName
comme spécifié aux § 7.4.2.5 et 7.4.2.6) comme premier EII fils de l'EII Subcode généré en a).
NOTE – Chaque EII Subcode a un second EII fils (Subcode) si et seulement si il y a un XSD.QName suivant dans les subcodes.
7.4.2.5 Un EII Value (fils d'un EII Subcode) doit être généré à partir d'une occurrence de XSD.QName (avec son
composant uri présent) avec:
a) un NII parmi les membres de sa propriété [in-scope namespaces] avec une propriété [namespace name]
égale à la valeur du composant uri et une propriété [prefix] choisie par le nœud SOAP; et
b) une séquence de CII qui doit être l'enchaînement de:
1) la propriété [prefix] de a);
2) DEUX POINTS (":"), et
3) la valeur de chaîne de caractères du composant name.
7.4.2.6 Un EII Value (fils d'un EII Subcode) doit être généré à partir de la valeur d'une occurrence de XSD.QName
(avec son composant uri absent) avec une séquence de CII fils qui est la valeur du composant name.
7.4.3 Mappage du type Value
Un EII Value (fils d'un EII Code) doit être généré à partir d'une valeur du type Value avec une séquence de CII qui doit
être générée à partir de la valeur de l'énumération comme les caractères de la chaîne de caractères qui est l'enchaînement
de:
a) la propriété [prefix] comme spécifié au § 7.1.2;
b) DEUX POINTS (":"); et
c) un nom local comme spécifié au Tableau 2.
Tableau 2 – Mappage du type Value à un nom local
Enumération des valeurs de Value Nom local
versionMismatch (discordance de version) VersionMismatch
mustUnderstand (doit comprendre) MustUnderstand
dataEncodingUnknown (codage de données inconnu) DataEncodingUnknown
Sender (expéditeur) Sender
Receiver(récepteur) Receiver
8 Rec. UIT-T X.892 (05/2005)
ISO/CEI 24824-2:2006 (F)
7.4.4 Mappage du type Text
7.4.4.1 Un EII Text doit être généré à partir d'une valeur du type Text.
7.4.4.2 Un AII doit être généré à partir du composant lang avec:
a) une propriété [local name] de "lang"; et
b) une propriété [namespace name] de "http://www.w3.org/XML/1998/namespace"; et
c) une propriété [prefix] de "xml"; et
d) une propriété [normalized value] égale à la valeur du composant lang.
7.4.4.3 La séquence des CII child de l'EII Text doit être la valeur de chaîne de caractères du composant text.
7.5 Mappage du type Content
7.5.1 Généralités
7.5.1.1 Un EII de contenu doit être généré à partir d'une valeur du type Content aux § 7.5.2, 7.5.3 ou 7.5.4 pour le
mappage, respectivement, des documents fast infoset, des valeurs codées en ASN.1 et des blocs d'en-tête SOAP en
ASN.1 "non compris" (voir le § 7.5.4) en infoset XML.
7.5.1.2 Si la valeur de remplacement fast-infoset-document du type Content est présente, on doit appliquer le
§ 7.5.2.
7.5.1.3 Si la valeur de remplacement encoded-value du type Content est présente et que encoded-value.id
n'est pas égal à la valeur notUnderstoodIdentifier, on doit appliquer le § 7.5.3.
7.5.1.4 Si la valeur de remplacement encoded-value du type Content est présente et que encoded-value.id est
égal à la valeur notUnderstoodIdentifier, on doit appliquer le § 7.5.4.
7.5.2 Contenu du document fast infoset
7.5.2.1 Les octets du composant fast-infoset-document seront un document fast infoset spécifié dans la
Rec. UIT-T X.891 | ISO/CEI 24824-1.
7.5.2.2 L'EII de contenu doit être généré en appliquant ce qui suit:
a) décoder les octets de fast-infoset-content pour générer un infoset XML qui est un EII racine
(comme spécifié dans la Rec. UIT-T X.891 | ISO/CEI 24824-1); et
b) appliquer le § 7.5.2.3 à l'EII racine pour générer l'EII de contenu.
7.5.2.3 Les AII suivants (parmi les membres de la propriété [attributes] de l'EII racine), s'ils ont été générés à partir de
le mappage de la valeur fast infoset en EII racine, doivent être retirés de la propriété [attributes] de l'EII racine:
a) l'AII role;
b) l'AII mustUnderstand;
c) l'AII relay.
NOTE – Les AII role, mustUnderstand et relay sont respectivement transposés à partir des composants role, mustUnderstand et
relay du type HeaderBlock (voir le § 7.2.2). Le retrait de ces AII de la propriété [attributes] de l'EII racine garantit que seuls des
composants de HeaderBlock seront utilisés pour le traitement de blocs d'en-tête SOAP du W3C par un nœud SOAP.
7.5.3 Contenu de valeur codée en ASN.1 intégrée
7.5.3.1 U
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.

Loading comments...

ISO/IEC 24824-2:2006 is a standard that specifies the messages needed for Fast Web Services. It defines ASN.1 SOAP messages, which have the same meaning as W3C SOAP messages. The use of ASN.1 SOAP messages allows for faster web services. This standard refers to other ASN.1 International Standards and the W3C SOAP 1.2 specification to fully define application exchanges that utilize web protocols and SOAP functionality. The main change with this standard is the use of compact binary encodings of XML data instead of character encodings. This allows for web services that require less network bandwidth and processing power, resulting in higher transaction processing rates. Additionally, the standard specifies MIME media types for identifying ASN.1 SOAP messages encoded in PER and W3C SOAP messages encoded as a fast infoset document. Both of these encodings are utilized by ISO/IEC 24824-2:2006.

ISO/IEC 24824-2:2006은 "빠른 웹 서비스"를 위한 메시지를 명시합니다. 이는 W3C SOAP 메시지와 동일한 의미를 가지는 ASN.1 SOAP 메시지의 명세를 제공합니다. ASN.1 SOAP 메시지의 교환을 통해 "빠른 웹 서비스"를 구현할 수 있습니다. ISO/IEC 24824-2:2006은 웹 프로토콜과 SOAP 기능을 이용하는 응용 프로그램 교환을 완전히 정의하기 위해 다른 ASN.1 국제 표준 및 W3C SOAP 1.2 명세를 참조합니다. 주된 변경점은 문자 인코딩 대신 XML 데이터의 간단하게 처리할 수 있는 이진 인코딩의 사용입니다. ISO/IEC 24824-2:2006를 사용하면, 네트워크 대역폭과 처리 성능이 적게 필요한 웹 서비스를 제공할 수 있으며, 따라서 트랜잭션 처리률이 높아집니다. 이 명세는 또한 ASN.1 SOAP 메시지가 PER 인코딩으로 인코딩된 것을 식별하는 MIME 미디어 유형 및 W3C SOAP 메시지 정보 집합이 빠른 정보 집합 문서로 인코딩된 것을 식별하는 MIME 미디어 유형을 명시합니다. 이러한 인코딩은 ISO/IEC 24824-2:2006에서 사용됩니다.

ISO/IEC 24824-2:2006は、高速なWebサービスに必要なメッセージを規定する国際規格です。この規格は、W3C SOAPメッセージと同じ意味を持つASN.1 SOAPメッセージの仕様を提供しています。ASN.1 SOAPメッセージのやり取りにより、高速なWebサービスが提供されます。ISO/IEC 24824-2:2006は、他のASN.1国際規格やW3C SOAP 1.2仕様を参照して、WebプロトコルとSOAP機能を使用するアプリケーションの交換を完全に定義しています。この規格の主な変更点は、文字エンコーディングではなく、コンパクトで処理しやすいXMLデータのバイナリエンコーディングの使用です。ISO/IEC 24824-2:2006(ASN.1 SOAPメッセージはASN.1 Packed Encoding Rules、PERを使用してエンコードされます)の使用により、ネットワークの帯域幅と処理能力をより少なく使用するメッセージを使用してWebサービスを提供できます。また、ISO/IEC 24824-2:2006は、PERでエンコードされたASN.1 SOAPメッセージを識別するMIMEメディアタイプも規定しています。さらに、fast infosetドキュメントとしてエンコードされたW3C SOAPメッセージの情報セットを識別するMIMEメディアタイプも規定しています。これらのエンコーディングは、ISO/IEC 24824-2:2006で使用されます。

ISO/IEC 24824-2:2006 is a specification for Fast Web Services. It defines the messages needed for these services, specifically the ASN.1 SOAP messages, which have the same meaning as W3C SOAP messages. By using ASN.1 SOAP messages, Fast Web Services can be achieved. The specification refers to other ASN.1 International Standards and the W3C SOAP 1.2 specification to fully define application exchanges utilizing Web protocols and SOAP functionality. The main difference is the use of compact and easily processed binary encodings of XML data instead of character encodings. This allows applications to provide Web services that require less network bandwidth and processing power, resulting in faster transaction processing. The specification also includes the definition of MIME media types for both ASN.1 SOAP messages encoded in PER and W3C SOAP messages encoded as fast infoset documents. These encodings are utilized by ISO/IEC 24824-2:2006.

ISO/IEC 24824-2:2006は、高速なウェブサービスのために必要なメッセージを定義しています。これは、W3C SOAPメッセージと同じ意味を持つASN.1 SOAPメッセージの仕様を提供しています。ASN.1 SOAPメッセージの交換により、高速なウェブサービスが実現できます。ISO/IEC 24824-2:2006は、ウェブプロトコルとSOAP機能を利用したアプリケーション間のやり取りを完全に定義するため、他のASN.1国際標準とW3C SOAP 1.2の仕様を参照しています。主な変更点は、文字エンコーディングではなくXMLデータのコンパクトで処理しやすいバイナリエンコーディングの使用です。ISO/IEC 24824-2:2006を使用すると、ネットワーク帯域幅と処理能力が少なくて済むウェブサービスを提供することができ、その結果、トランザクション処理速度が向上します。さらに、この仕様ではASN.1 SOAPメッセージをPERエンコーディングでエンコードしたものを識別するためのMIMEメディアタイプや、W3C SOAPメッセージ情報セットを高速情報セットドキュメントとしてエンコードしたものを識別するためのMIMEメディアタイプも定義されています。これらのエンコーディングはISO/IEC 24824-2:2006で使用されます。

ISO/IEC 24824-2:2006은 빠른 웹 서비스를 위해 필요한 메시지들을 규정하는 표준이다. 이 표준은 W3C SOAP 메시지와 동일한 의미를 갖는 ASN.1 SOAP 메시지의 사양을 제공한다. ASN.1 SOAP 메시지의 교환은 빠른 웹 서비스를 가능하게 한다. ISO/IEC 24824-2:2006은 다른 ASN.1 국제 표준과 W3C SOAP 1.2 사양을 참조하여 웹 프로토콜과 SOAP 기능을 사용하는 응용 프로그램 교환이 완전하게 정의되도록 한다. 이 표준에서 주요한 변경점은 문자 인코딩 대신 XML 데이터의 콤팩트하고 처리하기 쉬운 이진 인코딩을 사용한다는 것이다. ISO/IEC 24824-2:2006(ASN.1 SOAP 메시지는 ASN.1 Packed Encoding Rules, PER을 사용하여 인코딩)의 사용은 네트워크 대역폭과 처리 파워를 덜 사용하는 메시지를 사용하여 웹 서비스를 제공할 수 있도록 한다. 또한, ISO/IEC 24824-2:2006은 ASN.1 SOAP 메시지를 PER로 인코딩한 것을 식별하는 MIME 미디어 타입을 지원한다. 또한, fast infoset 문서로 인코딩된 W3C SOAP 메시지 infoset을 식별하는 MIME 미디어 타입을 지원한다. 이 둘은 ISO/IEC 24824-2:2006에서 사용된다.