ページの先頭行へ戻る
Interstage Service Integrator V9.4.1 アプリケーション開発ガイド
Interstage

C.1.1 サービスエンドポイント定義の構成

サービスエンドポイント定義の構成と指定例は、以下のとおりです。
なお、定義する項目についての詳細は、定義する情報に応じて以下を参照してください。

構成

サービスエンドポイント定義
EndpointList
         Endpoint
                  Description
                  ServiceName
                  EsiName
                  QueueName
                  SequenceName
                  DistributionName
                  SequenceList
                            SequenceName
サービス情報
Service
       Description
       PropertyList
                Property

指定例

サービスエンドポイント定義:endpoint.xml
<?xml version="1.0" encoding="UTF-8" ?>
<EndpointList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="esi-endpoint.xsd">
    <Endpoint name="endpointa" sync="false">
        <Description>業務A用サービスエンドポイント</Description>
        <SequenceName>gyoumu01</SequenceName>
        <QueueName>ESIInboundQueue</QueueName>
    </Endpoint>
    <Endpoint name="endpointb" sync="true">
        <Description>業務B用集信サービスエンドポイント</Description>
        <ServiceName>service01</ServiceName> ……(a)
    </Endpoint>
</EndpointList>
  1. サービス情報“service01.xml”で指定したサービス名を指定します。

サービス情報:service01.xml
<?xml version="1.0" encoding="UTF-8" ?>
<Service name="service01" type="filewatch" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="esi-service.xsd">
    <PropertyList>
        <Property name="filename">/FTPhome/recvdata.dat</Property>
        <Property name="watch">true</Property>
        <Property name="split">CR</Property>
        <Property name="split_CR">0x0D0A</Property>
    </PropertyList>
</Service>