ECMA 366-2011 WS-Session - Web Services for Application Session Services (3rd Edition Includes Access to Additional Content)《WS对话 应用对话业务的网络服务(第3版) 包括附加内容》.pdf
《ECMA 366-2011 WS-Session - Web Services for Application Session Services (3rd Edition Includes Access to Additional Content)《WS对话 应用对话业务的网络服务(第3版) 包括附加内容》.pdf》由会员分享,可在线阅读,更多相关《ECMA 366-2011 WS-Session - Web Services for Application Session Services (3rd Edition Includes Access to Additional Content)《WS对话 应用对话业务的网络服务(第3版) 包括附加内容》.pdf(41页珍藏版)》请在麦多课文档分享上搜索。
1、 Access to Additional Content for ECMA-366 3rdEdition, Dated: December 2011 (Click here to view the publication) This Page is not part of the original publication This page has been added by IHS as a convenience to the user in order to provide access to additional content as authorized by the Copyri
2、ght holder of this document Click the link(s) below to access the content and use normal procedures for downloading or opening the files. ECMA-366 Extra Files Information contained in the above is the property of the Copyright holder and all Notice of Disclaimer 2) “Notification WSDL” that specifies
3、 the interface the Service Requester shall implement in order to receive the event in a particular format using Annex A and the Option in Annex B. 5.1 Provider WSDL Ecma International 2011 34 Ecma International 20115.2 Notification WSDL 6 SOAP Binding This Clause specifies the binding templates of t
4、he abstract WSDL definitions in Clause 5 with SOAP Messages without a specific transport protocol. Any SOAP binding to transport shall contain elements and attributes in this binding template. Ecma International 2011 56.1 SOAP Binding for Provider WSDL 6 Ecma International 20116.2 SOAP Binding for N
5、otification WSDL 6.3 SOAP Binding of sessionID The aps:sessionID element shall be included as a direct child element of the SOAP header for each application SOAP message, such as event notification message, exchanged over the application session. The recipient (Service Provider or Requester) of the
6、application message shall verify that the sessionID is valid; otherwise it shall ignore the message or send a fault. 6.4 SOAP Fault Messages The negative responses from Service Providers shall be bound to the SOAP 1.1 fault properties: faultcode, faultstring and detail, using the following template.
7、 faultcode faultstring detail The contents of fault properties are defined by the following table for each type of negative response. Table 1 Fault names and properties for WS-Session services Fault Name StartFault faultcode ECMA-354 defined standard error names: invalidApplicationInfo, requestedPro
8、tocolVersionNotSupported, serverResourcesBusy, maxNumberSessions, or application error name. faultstring For ECMA-354 standard errors, it is the Description of corresponding error in Table 4-3 of ECMA-354. Additonal text can be provided to elaborate the error message, for example, the maximal sessio
9、n number allowed by the service provider. For application errors, a proper English description shall be provided. detail Element aps:StartApplicationSessionNegResponse. Fault Name StopFault faultcode ECMA-354 defined standard error names: invalidSessionID, or application error name. faultstring For
10、ECMA-354 standard errors, it is the Description of corresponding error in Table 4-6 of ECMA-354. Additonal text can be provided to elaborate the error message, for example, the valid session ID format allowed by the service provider. For application errors, a proper English description shall be prov
11、ided. detail Element aps:StopApplicationSessionNegResponse. Fault Name ResetFault faultcode ECMA-354 defined standard error names: invalidSessionID, serverCannotResetSessionDuration, or application error name. faultstring For ECMA-354 standard errors, it is the Description of corresponding error in
12、Table 4-9 of ECMA-354. Additonal text can be provided to elaborate the error message, for example, the duration allowed by the service provider. For application errors, a proper English description shall be provided. detail Element aps:ResetApplicationSessionTimerNegResponse. 7 Event Subscription an
13、d Notification A Service Providers endpoint of the session is an event source that generates the ApplicationSessionTerminated event notification. That session may also contain other event sources, e.g. CSTA monitors, which generate event notifications within the session. Ecma International 2011 7The
14、 Service Requester shall subscribe to a particular session in a Service Provider to receive event notifications from the session and its contained event sources. The Service Requester shall use the event subscription mechanism of the Service Provider as defined in Annex A and may optionally use the
15、mechanism specified in Annex B if the Service Provider supports it. The Service Requester shall subscribe to a session immediately after receiving the positive response of the StartApplicationSession operation. To associate an event sink endpoint with a session, the event subscription message shall
16、include the unique aps:sessionID obtained from the StartApplicationSession operation (see Clause 6). The Service Provider shall only send notifications for events from a session and its contained event sources to each of the valid event sink endpoints associated with that session. Any subscription t
17、o an invalid session shall result in a SOAP fault message as defined in Annex A and B. When a session terminates, any subscription associated with the session is deemed invalid. 8 Ecma International 2011Annex A (normative) Event Subscription Using WS-Eventing A.1 General The Service Requester and Pr
18、ovider shall conform to WS-Eventing and support the wse:NotifyTo element of WS-Eventing. For wrapped format event delivery, the Service Provider shall implement the SOAP 1.1 binding to the WSDL for Standard Wrapped Delivery specified in Annex D of WS-Eventing. For unwrapped format event delivery, th
19、e Service Provider shall implement the SOAP 1.1 binding to the Notification WSDL specified in Clause 5 of this Standard according to section A.2 of WS-Eventing. The Service Requester shall subscribe to a session (see Clause 7) for either wrapped or unwrapped event delivery format and implement the W
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ECMA3662011WSSESSIONWEBSERVICESFORAPPLICATIONSESSIONSERVICES3RDEDITIONINCLUDESACCESSTOADDITIONALCONTENTWS

链接地址:http://www.mydoc123.com/p-704797.html