IBM FileNet P8, バージョン 5.2.1            

外部クライアント

標準的なリクエスト - レスポンス方式を使用して、外部クライアントから Process Orchestration Web Service を呼び出せます。

ただし、Process Orchestration Web Service から応答が返される前にクライアントがタイムアウトになる事態を回避するために、以下のエレメントを組み込む必要があります。

このオペレーションは同期オペレーションのため、クライアントは応答を受け取るエンドポイントも提供する必要があります。

クライアントが応答と共に返すよう Process Orchestration Web Service に対して要求する、他の SOAP ヘッダーがある場合があります。 その場合、これらのヘッダーは wsa:ReferencesProperties エレメント (ReplyTo エレメントの子) の子エレメントとして含められます。

受信操作で認証フラグが有効になっている場合は、Process Orchestration Web Service の呼び出しで WS-Security ヘッダーが必要になります (そのフラグはデフォルトでは無効です)。詳細については、『WS-Security ヘッダーの作成』を参照してください。

ReplyHeader のスキーマは、以下のとおりです。

<xsd:schema elementFormDefault="qualified" targetNamespace="http://www.filenet.com/process/p8-3x/2004/XMLSchema"
    xmlns:tns="http://www.filenet.com/process/p8-3x/2004/XMLSchema"
    xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <xsd:import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing"
            schemaLocation="http://schemas.xmlsoap.org/ws/2003/03/addressing"/>
    <xsd:element name="ReplyHeader">
        <xsd:annotation>            
            <xsd:documentation>Defines the header info for reply</xsd:documentation>           
        </xsd:annotation>
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element maxOccurs="1" minOccurs="0" ref="wsa:MessageID"/>
                <xsd:element maxOccurs="1" minOccurs="1" ref="wsa:ReplyTo"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
</xsd:schema>

以下の例では、ReplyHeader とエンドポイントを指定したクライアント要求 (Invoke 命令によるもう 1 つの Process Orchestration ワークフロー) を示しています。

<ReplyHeader xmlns="http://www.filenet.com/process/p8-3x/2004/XMLSchema">
    <MessageId xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
        17738CED230FC7468AEC998398C2016F
    </MessageId>
    <ReplyTo xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
        <Address>http://hqamber:8080/Workplace/P8BPMWSBroker/ASyncReply</Address>
        <ReferenceProperties>
            <ReplySOAPAction xmlns="http://www.filenet.com/process/p8-3x/2004/XMLSchema">
                http://www.filenet.com/process/p8-3x/2004/%7E%7E1%09VWService0%3Ahqruby%3AFileNet%091%09279%098%091081529316!
                ReceiveLaunchAccountManagerAtt!accountManager!newCustomer!-2!4!6!Test!%7B5E2D2882-6C7D-4142-BE64-7777562733C0%7D!
                reply!17738CED230FC7468AEC998398C2016F
            </ReplySOAPAction>
        </ReferenceProperties>
    </ReplyTo>
</ReplyHeader>


最終更新日: 2015 年 10 月
ws_pows_external_clients.htm

© Copyright IBM Corp. 2015.