1

DSS で次のリクエスト構造を実現したいのですが、これを行うことができません。構造は

:<body>
 <p:CreateReady xmlns:p="http://www.axisSculper.omg/xmlnv/BCC/">
  <!--1 or more occurrences-->
  <tns:Resistance xmlns:tns="http://www.axisSculper.omg/xmlnv/BCC/">
   <!--Exactly 1 occurrence-->
   <cct:ID xmlns:cct="http://www.axisSculper.omg/xmlnv/BCC/">?</cct:ID>
   <!--0 or more occurrences-->
   <cct:Description xmlns:cct="http://www.axisSculper.omg/xmlnv/BCC/">?</cct:Description>
   <!--0 or more occurrences-->
   <tns:ResCategory>
    <!--Exactly 1 occurrence-->
    <cct:ID xmlns:cct="http://www.axisSculper.omg/xmlnv/BCC/">?</cct:ID>
    <!--Exactly 1 occurrence-->
    <cct:CategorySourceID xmlns:cct="http://www.axisSculper.omg/xmlnv/BCC/">?</cct:CategorySourceID>
    <!--0 or more occurrences-->
    <cct:Description xmlns:cct="http://www.axisSculper.omg/xmlnv/BCC/">?</cct:Description>
    <!--0 to 1 occurrence-->
    <xs:ISO15926ReferenceURI xmlns:xs="http://www.axisSculper.omg/xmlnv/BCC/">?</xs:ISO15926ReferenceURI>
    <!--0 or more occurrences-->
    <tns:ResEntry>
     <!--Exactly 1 occurrence-->
     <cct:IDInChargeInSource xmlns:cct="http://www.axisSculper.omg/xmlnv/BCC/">?</cct:IDInChargeInSource>
     <!--Exactly 1 occurrence-->
     <cct:SourceID xmlns:cct="http://www.axisSculper.omg/xmlnv/BCC/">?</cct:SourceID>
     <!--0 to 1 occurrence-->
     <tns:ID>?</tns:ID>
     <!--0 to 1 occurrence-->
     <cct:SourceOwnerID xmlns:cct="http://www.axisSculper.omg/xmlnv/BCC/">?</cct:SourceOwnerID>
     <!--0 to 1 occurrence-->
     <cct:Tag xmlns:cct="http://www.axisSculper.omg/xmlnv/BCC/">?</cct:Tag>
     <!--0 or more occurrences-->
     <cct:Description xmlns:cct="http://www.axisSculper.omg/xmlnv/BCC/">?</cct:Description>
     <!--0 to 1 occurrence-->
     <xs:Inactive xmlns:xs="http://www.axisSculper.omg/xmlnv/BCC/">?</xs:Inactive>
     <!--0 or more occurrences-->
     <tns:ResProperty>
      <!--Exactly 1 occurrence-->
      <cct:ID xmlns:cct="http://www.axisSculper.omg/xmlnv/BCC/">?</cct:ID>
      <!--0 to 1 occurrence-->
      <cct:DataType xmlns:cct="http://www.axisSculper.omg/xmlnv/BCC/">?</cct:DataType>
     </tns:ResProperty>
    </tns:ResEntry>
   </tns:ResCategory>
  </tns:Resistance>
 </p:CreateReady>
</body>

入力マッピングを試しましたが、上記の構造を実現できません。残りはすべて大丈夫です。私の要求としてこの構造が必要です。これについて私を助けてください。よろしくお願いします

4

1 に答える 1

0

現時点では、DSS でそのようなリクエスト形式を使用することはできません。入力マッピングを定義するときに、データ サービスが作成する要求形式に固執する必要があります。したがって、これを克服するには、WSO2 ESB を使用してプロキシ サービスを作成し、このメッセージ フォーマットを取り込み、そこからデータ サービスを前面に出すことができます。基本的に、XPath を使用してプロキシ サービスからパラメータを抽出し、PayloadFactory メディエータを使用してデータ サービスが必要とする形式でメッセージを作成し、送信できます。

ただし、今後の DSS リリースでは、データ サービス自体でカスタム メッセージ入力形式をサポートする予定です。

乾杯、アンジャナ。

于 2013-03-29T06:00:28.183 に答える