JIS X 7362:2010 Webサービス相互運用性―WS-I アタッチメントプロファイル 1.0 | ページ 8

32
X 7362 : 2010 (ISO/IEC 29362 : 2008)
<wsdl:output message="tns:ClaimOut"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ClaimBinding" type="tns:ClaimPortType">
<soapbind:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="SendClaim">
<soapbind:operation soapAction="http://example.com/soapaction"/>
<wsdl:input>
<mime:multipartRelated>
<mime:part>
<soapbind:body parts="body" use="literal"/>
</mime:part>
</mime:multipartRelated>
</wsdl:input>
<wsdl:output>
<soapbind:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>
結果として生成される "SendClaim" のdocument/literalオペレーションに対する入力メッセージ
は,次のとおり。
MIME-Version: 1.0
Content-Type: Multipart/Related; boundary=MIMEboundary; type=text/xml;
start="<rootpart@example.com>"
Content-Description: This is the optional message description.
--MIMEboundary
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-ID: <rootpart@example.com>
<・xml version='1.0' ・>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body xmlns:types="http://example.com/mimetypes">

――――― [JIS X 7362 pdf 36] ―――――

                                                                                             33
X 7362 : 2010 (ISO/IEC 29362 : 2008)
<types:ClaimDetail>
<Name>...</Name>
<!-- lots of other claim detail stuff -->
<ClaimPhoto>cid:claimphoto@example.com</ClaimPhoto>
</types:ClaimDetail>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
--MIMEboundary
Content-Type: image/jpeg
Content-Transfer-Encoding: binary
Content-ID: <claimphoto@example.com>
...MIME attachment of binary photograph...
--MIMEboundary--
結果として生成される "SendClaim" のdocument/literalオペレーションに対する出力メッセージ
は,次のとおり。
MIME-Version: 1.0
Content-Type: text/xml; charset=UTF-8
<・xml version='1.0' ・>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body xmlns:types="http://example.com/mimetypes">
<types:ClaimRefNo>...............</types:ClaimRefNo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

――――― [JIS X 7362 pdf 37] ―――――

34
X 7362 : 2010 (ISO/IEC 29362 : 2008)
附属書A
(規定)
引用規格
次の規格の要件は,このプロファイルで置き換えられたものを除き,引用することでこのプロファイル
に取り込まれている。
(http://www.w3.org/TR/1999/REC-xml-names-19990114/)
・ Namespaces in XML 1.0
注記 JIS X 4158:2005 XML名前空間は,Namespaces in XML 1.0
(http://www.w3.org/TR/1999/REC-xml-names-19990114/) に対応している。
・ JIS X 5810-1 多目的インターネットメール拡張 (MIME) −第1部 : インターネットメッセージ本体
のフォーマット
注記 RFC2045 Multipurpose Internet Mail Extensions (MIME) art One: Format of Internet Message
Bodies (http://ietf.org/rfc/rfc2045) がこれに対応している。
・ JIS X 5810-2 多目的インターネットメール拡張 (MIME) −第2部 : メディア型
注記 RFC2046 Multipurpose Internet Mail Extensions (MIME) art Two: Media Types
(http://ietf.org/rfc/rfc2046) がこれに対応している。
(http://www.w3.org/TR/SOAP-attachments#SOAPMultipart)
・ SOAP Messages with Attachments
・ Extensible Markup Language (XML) 1.0 (Second Edition) (http://www.w3.org/TR/2000/REC-xml-20001006)
注記 JIS X 4159:2005 拡張可能なマーク付け言語 (XML) 1.0は,Extensible Markup Language
(http://www.w3.org/TR/2004/REC-xml-20040204) に対応している。
(XML) 1.0 (Third Edition)
・ RFC2557 MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)
(http://ietf.org/rfc/rfc2557)
(http://ietf.org/rfc/rfc2392)
・ RFC2392 Content-ID and Message-ID Uniform Resource Locators
・ WSDL 1.1の5(http://www.w3.org/TR/2001/NOTE-wsdl-20010315#Toc492291084)

――――― [JIS X 7362 pdf 38] ―――――

                                                                                             35
X 7362 : 2010 (ISO/IEC 29362 : 2008)
附属書B
(参考)
拡張点
この附属書では,“1.1 適用範囲”の中で,このプロファイルの構成要素の仕様として定義した,規格の
拡張点を列挙する。
これらのメカニズムは,このプロファイルの適用範囲外である。これらを使うことが相互運用性に影響
する場合もあれば,Webサービスの関係者間での個別合意が必要となる場合もある。
SOAP Messages with Attachments(http://www.w3.org/TR/SOAP-attachments#SOAPMultipart) の拡張点 :
・ E0001−MIMEパート−SOAP Messages with Attachmentsは,multipart/relatedメッセージの非ルー
トパート (non-root part) の型には制限を置かない。

――――― [JIS X 7362 pdf 39] ―――――

36
X 7362 : 2010 (ISO/IEC 29362 : 2008)
附属書C
(参考)
参考規格
附属書Aに列挙されている,このプロファイルに取り込まれた規格に加えて,次の規格が参照される。
・ RFC2119, http://ietf.org/rfc/rfc2119, Key words for use in RFCs to Indicate Requirement Levels, S.
Bradner, March 1997.
・ WS-I Basic Profile 1.0, http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html, K. Ballinger et al.,
April 2004.
・ Namespaces in XML 1.0(XML名前空間1.0)(Second Edition),
http://www.w3.org/TR/2006/REC-xml-names-20060816, T. Bray et al.,August 2006.
・ WS-I Conformance Claim Attachment Mechanisms Version 1.0,
http://www.ws-i.org/Profiles/ConformanceClaims-1.0-2004-11-15. html, M.Nottingham et al., November
2004.

――――― [JIS X 7362 pdf 40] ―――――

次のページ PDF 41

JIS X 7362:2010の引用国際規格 ISO 一覧

  • ISO/IEC 29362:2008(IDT)

JIS X 7362:2010の国際規格 ICS 分類一覧

JIS X 7362:2010の関連規格と引用規格一覧