欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PDF文档下载
    分享到微信 分享到微博 分享到QQ空间

    ECMA 366-2011 WS-Session - Web Services for Application Session Services (3rd Edition Includes Access to Additional Content)《WS对话 应用对话业务的网络服务(第3版) 包括附加内容》.pdf

    • 资源ID:704797       资源大小:377.95KB        全文页数:41页
    • 资源格式: PDF        下载积分:10000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要10000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    ECMA 366-2011 WS-Session - Web Services for Application Session Services (3rd Edition Includes Access to Additional Content)《WS对话 应用对话业务的网络服务(第3版) 包括附加内容》.pdf

    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

    20、SDL and SOAP binding 1.1 required by the Service Provider for the selected format. All notifications from event sources within a session shall include sessionID as specified in Clause 6. A.2 Subscription Fault If the aps:sessionID sessionID in the event subscription request is invalid, the Service P

    21、rovider shall return a SOAP 1.1 fault message with these properties: faultcode=”UnknownEventSource” faultstring=”The session sessionID is invalid” detail=invalidSessionID:sessionID Ecma International 2011 910 Ecma International 2011Annex B (normative) Subscription Using WS-BaseNotification Option B.

    22、1 General The Service Requester and Provider shall conform to WS-BaseNotification. They shall support the push-style of WS-BaseNotification to deliver the event notifications. The Service Provider shall implement the wsnt:Subscribe operation defined in the NotificationProducer portType of WS-BaseNot

    23、ification WSDL and may implement other operations, such as wsnt:Unsubscribe, defined in the SubscriptionManager portType WS-BaseNotification 1.3. For Wrapped Delivery mode, the Service Requesters shall implement SOAP 1.1 binding to the Notification Consumer Interface specified in Section 3 and Apped

    24、ix C of WS-BaseNotification. For unwrapped mode (a.k.a. raw in WS-BaseNotification), the Service Provider shall implement the SOAP 1.1 binding to the Notification WSDL specified in Clause 5 of this Standard according to Section 3 of WS-BaseNotification. The Service Requester shall subscribe to a ses

    25、sion (see Clause 7) for either wrapped or unwrapped event notification form and implement the WSDL and SOAP 1.1 binding required by the Service Provider for the selected format. All notifications from event sources within a session shall include sessionID as specified in Clause 6. B.2 Subscription F

    26、ault If the aps:sessionID sessionID in the request is invalid, the Service Provider shall return a SOAP 1.1 fault message with these properties: faultcode=”wsrf-rw:ResourceUnknownFault” faultstring=”The session sessionID is invalid” detail=invalidSessionID:sessionID Ecma International 2011 1112 Ecma

    27、 International 2011Annex C (normative) Asynchronous Response to Subscription Request Option The Service Provider and Requester shall follow WS-Addressing WS-Addressing 1.0 to annotate and correlate event subscription messages for asynchronous message exchange. If the Service Provider only supports s

    28、ynchronous response, it shall return a SOAP fault message with faultcode set to wsa:OnlyAnonymousAddressSupported WS-Addressing 1.0 SOAP Binding. An asynchronous event subscription SOAP message template, applicable to both WS-Eventing and WS-BaseNotification, is shown below. xs:anyURI xs:string mess

    29、age_id reply_address xs:anyURI xs:any* The template for the reply message (response or fault) is shown below. reply_address message_id xs:anyURI xs:any* Ecma International 2011 1314 Ecma International 2011Annex D (informative) Example WS-Session WSDL binding with SOAP/HTTP D.1 Service Provider WSDL

    30、with SOAP/HTTP Binding This Annex provides a more specific and complete binding of the SOAP binding specified in 6.1 by adding the HTTP transport and Service Element. Ecma International 2011 1516 Ecma International 2011D.2 Notification WSDL with SOAP/HTTP Binding This Annex provides a more specific

    31、and complete binding of the SOAP binding specified in 6.2 by adding the HTTP transport. Ecma International 2011 1718 Ecma International 2011Annex E (informative) SOAP XML Templates for ECMA-354 Messages E.1 StartApplicationSession request message template Ecma International 2011 19E.1.1 StartApplica

    32、tionSession Positive response message template aps:StartApplicationSession aps:StartApplicationSessionPosResponse E.1.2 StartApplicationSession negative response message template An example of negative response due to maximum session limit. maxNumberSessions the server cannot create an application s

    33、ession because it has reached the maximum number of allowed application sessions maxNumberSessions E.2 StopApplicationSession request message template 20 Ecma International 2011E.2.1 StopApplicationSession positive response message template aps:StopApplicationSession aps:StopApplicationSessionPosRes

    34、ponse E.2.2 StopApplicationSession negative response message template An example negative response due to invalid session reference. invalidSessionID the sessionID is not valid or known by the server invalidSessionID E.3 ResetApplicationSessionTimer request message template Ecma International 2011 2

    35、1E.3.1 ResetApplicationSessionTimer positive response message template aps:ResetApplicationSessionTimer aps:ResetApplicationSessionTimerPosResponse E.3.2 Reset Application Session Timer negative response message template An example negative response due to invalid session reference. invalidSessionID

    36、 the sessionID is not valid or known by the server invalidSessionID E.4 ApplicationSessionTerminated E.4.1 Template of ApplicationSessionTerminated event notification for unwrapped event sink which applies to both WS-Eventing and WS-BaseNotification options E.4.2 Template of ApplicationSessionTermin

    37、ated event notification to wrapped event sink of WS-Eventing http:/www.ecma-international.org/standards/ecma-366/ws-session/ed3/ApplicationSessionSinkPortType/ApplicationSessionTerminated xs:any* aps:ApplicationSessionTerminated http:/www.w3.org/2011/03/ws-evt/WrappedSinkPortType/NotifyEvent xs:any*

    38、 aps:ApplicationSessionTerminated 22 Ecma International 2011E.4.3 Template of ApplicationSessionTerminated event notification to wrapped event sink of WS-BaseNotification http:/docs.oasis-open.org/wsn/bw-2/NotificationConsumer/Notify xs:any* aps:ApplicationSessionTerminated Ecma International 2011 23


    注意事项

    本文(ECMA 366-2011 WS-Session - Web Services for Application Session Services (3rd Edition Includes Access to Additional Content)《WS对话 应用对话业务的网络服务(第3版) 包括附加内容》.pdf)为本站会员(bowdiet140)主动上传,麦多课文档分享仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文档分享(点击联系客服),我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1 

    收起
    展开