Interstage Application Server ebXML Message Service ユーザーズガイド |
目次
索引
![]() ![]() |
付録C CPA作成チュートリアル |
配信情報をDeliveryChannel要素に記述します。DeliveryChannel要素の記述条件については“B.1 CPA記述条件 - DeliveryChannel”を参照してください。
DeliveryChannel要素には、ID指定によってTransport要素とDocExchange要素をDeliveryChannel要素に関連付ける機能と、MessagingCharacteristics要素でメッセージング機能利用の有無を指定する機能があります。
DeliveryChannel要素は属性とMessagingCharacteristics要素で構成されます。channelId属性はDeliveryChannel要素自身を示すIDです。transportId属性とdocExchangeId属性はそれぞれこのDeliveryChannel要素に関連付けられたTransport要素とDocExchange要素を示すIDです。
MessagingCharacteristics要素の属性のうち、actor属性には固定値を記述する必要があります。syncReplyMode属性には以下の2種類の値を記述することができます。
その他の属性には以下の2種類の値を記述することができます。
ここでは、以下の条件でDeliveryChannel要素を作成します。なお、Transport要素とDocExchange要素については、これまでの説明で各1つずつしか作成していないため、組み合わせのパターンはありません。
各DeliveryChannel要素のIDは、Transport要素のIDと同様、Party-IDに“-deliveryChannel001”を追加したものを用います。
<?xml version="1.0" encoding="UTF-8"?> <tp:CollaborationProtocolAgreement xmlns:tp="http://www.oasis-open.org/committees/ebxml-cppa/schema/cpp-cpa-2_0.xsd" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xlink="http://www.w3.org/1999/xlink" tp:cpaid="FUJITSU_LIMITED-ebXML_Trader-20030115"> <tp:Status tp:value="agreed"/> <tp:Start>2003-01-01T00:00:00Z</tp:Start> <tp:End>2005-12-31T23:59:59Z</tp:End> <tp:PartyInfo tp:defaultMshChannelId="" tp:defaultMshPackageId=""> <tp:PartyId tp:type="Name">FUJITSU_LIMITED</tp:PartyId> <tp:DeliveryChannel tp:channelId="FUJITSU_LIMITED-deliveryChannel001" tp:transportId="FUJITSU_LIMITED-transport001" tp:docExchangeId="FUJITSU_LIMITED-docExchange001"> <tp:MessagingCharacteristics tp:syncReplyMode="none" tp:ackRequested="always" tp:ackSignatureRequested="never" tp:duplicateElimination="always" tp:actor="urn:oasis:names:tc:ebxml-msg:actor:toPartyMSH"/> </tp:DeliveryChannel> <tp:Transport tp:transportId="FUJITSU_LIMITED-transport001"> <tp:TransportSender> <tp:TransportProtocol>HTTP</tp:TransportProtocol> </tp:TransportSender> <tp:TransportReceiver> <tp:TransportProtocol>HTTP</tp:TransportProtocol> <tp:Endpoint tp:uri="http://www.div001.fujitsu.com/ebms/servlet/ebxmlListener" tp:type="allPurpose"/> </tp:TransportReceiver> </tp:Transport> <tp:DocExchange tp:docExchangeId="FUJITSU_LIMITED-docExchange001"> <tp:ebXMLSenderBinding tp:version="2.0"> <tp:ReliableMessaging> <tp:Retries>20</tp:Retries> <tp:RetryInterval>PT50S</tp:RetryInterval> <tp:MessageOrderSemantics>Guaranteed</tp:MessageOrderSemantics> </tp:ReliableMessaging> <tp:PersistDuration>P3D</tp:PersistDuration> </tp:ebXMLSenderBinding> <tp:ebXMLReceiverBinding tp:version="2.0"> <tp:ReliableMessaging> <tp:Retries>10</tp:Retries> <tp:RetryInterval>PT1M</tp:RetryInterval> <tp:MessageOrderSemantics>Guaranteed</tp:MessageOrderSemantics> </tp:ReliableMessaging> <tp:PersistDuration>P3D</tp:PersistDuration> </tp:ebXMLReceiverBinding> </tp:DocExchange> </tp:PartyInfo> <tp:PartyInfo tp:defaultMshChannelId="" tp:defaultMshPackageId=""> <tp:PartyId tp:type="Name">ebXML_Trader</tp:PartyId> <tp:DeliveryChannel tp:channelId="ebXML_Trader-deliveryChannel001" tp:transportId="ebXML_Trader-transport001" tp:docExchangeId="ebXML_Trader-docExchange001"> <tp:MessagingCharacteristics tp:syncReplyMode="none" tp:ackRequested="always" tp:ackSignatureRequested="never" tp:duplicateElimination="always" tp:actor="urn:oasis:names:tc:ebxml-msg:actor:toPartyMSH"/> </tp:DeliveryChannel> <tp:Transport tp:transportId="ebXML_Trader-transport001"> <tp:TransportSender> <tp:TransportProtocol>HTTP</tp:TransportProtocol> </tp:TransportSender> <tp:TransportReceiver> <tp:TransportProtocol>HTTP</tp:TransportProtocol> <tp:Endpoint tp:uri="http://www.ebXMLTrader.com/ebms/servlet/ebxmlListener" tp:type="allPurpose"/> </tp:TransportReceiver> </tp:Transport> <tp:DocExchange tp:docExchangeId="ebXML_Trader-docExchange001"> <tp:ebXMLSenderBinding tp:version="2.0"> <tp:ReliableMessaging> <tp:Retries>10</tp:Retries> <tp:RetryInterval>PT1M</tp:RetryInterval> <tp:MessageOrderSemantics>Guaranteed</tp:MessageOrderSemantics> </tp:ReliableMessaging> <tp:PersistDuration>P3D</tp:PersistDuration> </tp:ebXMLSenderBinding> <tp:ebXMLReceiverBinding tp:version="2.0"> <tp:ReliableMessaging> <tp:Retries>20</tp:Retries> <tp:RetryInterval>PT50S</tp:RetryInterval> <tp:MessageOrderSemantics>Guaranteed</tp:MessageOrderSemantics> </tp:ReliableMessaging> <tp:PersistDuration>P3D</tp:PersistDuration> </tp:ebXMLReceiverBinding> </tp:DocExchange> </tp:PartyInfo> </tp:CollaborationProtocolAgreement>
目次
索引
![]() ![]() |