对 WS-Notification 服务应用 JAX-WS 处理程序列表

要处理流入和流出现有基于 JAX-WS 的 V7.0 WS-Notification 服务的消息,必须创建 JAX-WS 处理程序,以处理程序列表形式将它们链接到一起,然后对 V7.0 WS-Notification 服务点上的 NotificationBroker、PublisherRegistrationManager 或 SubscriptionManager 端点(对于入站调用处理)应用处理程序列表,或对 WS-Notification 服务(对于出站调用处理)应用处理程序列表。

开始之前

此任务假定您已创建 V7.0 WS-Notification 服务

关于此任务

要创建 JAX-WS 处理程序,可使用 IBM® Rational® Application Developer 之类的工具。 为允许处理程序执行更复杂的操作,您将他们一起链接到处理程序列表。 将每个处理程序列表与一个或多个基于 JAX-WS 的 V7.0 WS-Notification 服务或服务点相关联,以便处理程序列表可监视 WS-Notification 活动,并根据每个入站或出站消息的发送方和内容采取适当的操作。. 例如:
  • 可对 NotificationBroker Web Service 使用处理程序列表以记录此服务点接收的所有通知消息。
  • 可对 SubscriptionManager Web Service 使用处理程序列表以记录此服务点接收的所有取消预订请求。
  • 可对 PublisherRegistrationManager Web Service 使用处理程序列表以记录此服务点接收的所有发布者取消注册请求。

过程

  1. 创建一个或多个 JAX-WS 处理程序。 可使用 IBM Rational Application Developer 或类似工具完成此操作。
  2. 装入 JAX-WS 处理程序类 JAX-WS 处理程序通过基于 JAX-WS 的 V7.0 WS-Notification 服务点(对于入站调用处理)或 WS-Notification 服务(对于出站调用处理)与消息交互,因此必须使此处理程序类可供主管要监视的 WS-Notification 服务点或服务的服务器或集群使用。
  3. 使用管理控制台创建新的 JAX-WS 处理程序配置或使用createJAXWSHandler 命令创建新的 JAX-WS 处理程序配置。 通过创建新处理程序配置,使 WebSphere Application Server 能够识别您的处理程序,并且使该处理程序可包括在一个或多个处理程序列表中。
  4. 创建新 JAX-WS 处理程序列表 WebSphere Application Server 中采用的方法是,将处理程序列表(而不是个别处理程序)指定给 WS-Notification 服务点(对于入站调用处理)或 WS-Notification 服务(对于出站调用处理)。
  5. 可选: 要对与服务点相关联的服务提供程序端点(NotificationBroker、PublisherRegistrationManager 或 SubscriptionManager)应用 JAX-WS 处理程序列表,请使用管理控制台完成下列子步骤:
    1. 浏览至服务集成 -> WS-Notification -> 服务 -> service_name -> [其他属性] WS-Notification 服务点服务集成 -> 总线 -> bus_name -> [服务] WS-Notification 服务 -> service_name -> [其他属性] WS-Notification 服务点 这将显示WS-Notification 服务点 [集合]表单。此表单显示为此 V7.0 WS-Notification 服务配置的所有服务点。
    2. 在内容窗格中,单击列表中基于 JAX-WS 的 V7.0 WS-Notification 服务点的名称。 此 V7.0 WS-Notification 服务点的当前设置显示在WS-Notification 服务点 [设置]表单中。
    3. 对于下列一个或多个常规属性,通过从列表框中选择 JAX-WS 处理程序列表来应用该列表:
      NotificationBroker JAX-WS 处理程序列表

      SubscriptionManager JAX-WS 处理程序列表

      PublisherRegistrationManager JAX-WS 处理程序列表

  6. 可选: 要对 WS-Notification 服务应用 JAX-WS 处理程序列表,请使用管理控制台完成下列子步骤:
    1. 浏览至服务集成 -> WS-Notification -> 服务服务集成 -> 总线 -> bus_name -> [服务] WS-Notification 服务 这将显示WS-Notification 服务 [集合]表单。
    2. 在内容窗格中,单击列表中基于 JAX-WS 的 V7.0 WS-Notification 服务的名称。 此 V7.0 WS-Notification 服务的当前设置显示在WS-Notification 服务 [设置]面板中。
    3. 对于以下常规属性,通过从列表框中选择 JAX-WS 处理程序列表来应用该列表:
      JAX-WS 处理程序列表


指示主题类型的图标 任务主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tjwsn_task_jaxws_hlist
文件名:tjwsn_task_jaxws_hlist.html