サービスエンドポイント定義の構成と指定例は、以下のとおりです。
なお、定義する項目についての詳細は、定義する情報に応じて以下を参照してください。
サービスエンドポイント定義:“B.1 サービスエンドポイント定義の詳細”
サービス情報:“B.2 サービス情報の詳細”
構成
| EndpointList
         Endpoint
                  Description
                  ServiceName
                  EsiName
                  QueueName
                  SequenceName
                  DistributionName
                  SequenceList
                            SequenceName | 
| Service
       Description
       PropertyList
                Property | 
指定例
| <?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> | 
サービス情報“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> |