私は以下のxmlクエリを持っています:
<return>
<code>success</code>
<message/>
<deal>
<checksum>203591</checksum>
<documentID>21783</documentID>
<dealStatus>P</dealStatus>
<financing>
<financeType>L</financeType>
<term>32</term>
</financing>
<options>
<disclosureType/>
<frontBackFlag>P</frontBackFlag>
<hardSoftFlag>M</hardSoftFlag>
<optionCode>TO</optionCode>
<optionDescription>QAfhggddate DOCID 219</optionDescription>
<optionOrigin>xxx</optionOrigin>
<optionPrice>
<optionPricingType>INVIICE</optionPricingType>
<price>111.99</price>
</optionPrice>
<optionPrice>
<optionPricingType>RETAIL</optionPricingType>
<price>2.99</price>
</optionPrice>
<optionResidualAmount>3.99</optionResidualAmount>
<residualTableAmount>0.00</residualTableAmount>
<residualTableFlag>N</residualTableFlag>
<satisfiedDate>2012-05-08T00:00:00-06:00</satisfiedDate>
</options>
</deal>
</return>
上記の応答に、仕様に記載されているフィールドのみが含まれていることを確認するチェックポイントを配置する必要があります。たとえば。optionPrice には optionPricingType と price tags のみを含める必要があります。そのため、xpath または xqery を記述して、optionPrice の下のすべてのタグ ラベルを値なしで取得する方法を説明します。
SOAP UI を使用してアサーションを設定しています