ソース/ターゲット・ポートレットで Click-to-Action ターゲットを使用不可にする

ソース・ポートレットおよびターゲット・ポートレットの両方として動作する連携ポートレットの場合、 Click-to-Action ターゲットのみを使用不可にすることが可能です。 ここでは、OrderDetail ポートレットを例として使用します。 これは、"order id" プロパティーを受け取り、オーダーの詳細を表示するポートレットです。 次のステップを手動で実行する必要があります。

以下のような WSDL ファイルから、太字斜体 で示されているノードを削除する。
<definitions name="OrderDetail_Service" targetNamespace="http://www.ibm.com/etools/portal/portletexamples/cooperative/legacy"
xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:portlet="http://www.ibm.com/wps/c2a"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://www.ibm.com/etools/portal/portletexamples/cooperative/legacy"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<types>
  <xsd:schema targetNamespace="http://www.ibm.com/etools/portal/portletexamples/cooperative/legacy">
    <xsd:simpleType name="OrderIDType">
      <xsd:restriction base="xsd:string">
      </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="TrackingIDType">
      <xsd:restriction base="xsd:string">
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:schema>  
</types>

<message name="OrderDetailsRequest">
  <part name="order_Id" type="tns:OrderIDType"/>
</message>

<message name="OrderDetailsResponse">
  <part name="tracking_Id" type="tns:TrackingIDType"/>
</message>

<portType name="OrderDetail_Service">
  <operation name="order_Detail">
     <input message="tns:OrderDetailsRequest"/>
     <output message="tns:OrderDetailsResponse"/>
  </operation>
</portType>

<binding name="OrderDetailBinding" type="tns:OrderDetail_Service">
  <portlet:binding/>
  <operation name="order_Detail">
    <portlet:action name="orderDetails" type="simple" caption="Order.Details" description="Get.details.for.specified.order.id"/>
    <input>
      <portlet:param name="orderId" partname="order_Id" caption="order.id"/>
    </input>
    <output>
      <portlet:param name="trackingId" partname="tracking_Id"
caption="tracking.id"/>
    </output>
  </operation>
</binding>
</definitions>
関連概念
連携ポートレットの開発
関連タスク
Click-to-Action ソースおよびターゲットを使用不可にする
複数の Click-to-Action ターゲットのうち 1 つを使用不可にする
ソース/ターゲット・ポートレットで Click-to-Action ソースを使用不可にする
複数の Click-to-Action ソース・プロパティーのうち 1 つを使用不可にする
関連資料
Web サービス記述言語 (WSDL) 1.1
WebSphere Portal Information Center
XML スキーマ・パート 2: データ・タイプ

(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.
(C) Copyright IBM Japan 2005