ページの先頭行へ戻る
Interstage Application Server ebXML Message Serviceユーザーズガイド

C.2 文字エンコーディングの決定

  CPAはテキストファイルとして作成します。CPAの最初の行はXML宣言文で、文書がXMLであることを示します。XML宣言文のencodingにはテキストファイルの文字エンコーディングを記述します(注1)。指定できる文字エンコーディングの種類は、使用するXMLパーサーに依存します。一般に、XMLの文字エンコーディングはUTF-8が推奨されていますので、ここではUTF-8を選択します。


  本バージョンのebMSではCPA中の日本語記述はサポートしていません。

<?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="">
    <tp:Status tp:value=""/>
    <tp:Start></tp:Start>
    <tp:End></tp:End>
    <tp:PartyInfo 
          tp:defaultMshChannelId="" 
          tp:defaultMshPackageId="">
        <tp:PartyId></tp:PartyId>
    </tp:PartyInfo>
    <tp:PartyInfo 
          tp:defaultMshChannelId="" 
          tp:defaultMshPackageId="">
        <tp:PartyId></tp:PartyId>
    </tp:PartyInfo>
</tp:CollaborationProtocolAgreement>