2

WAS7.0 アプリ サーバーで JAX-WS 2.1 (JAXB 2.1 を使用) を使用しています。クライアント コードを作成しました。以下は、リクエスト xml のスニペットです。

      <additionalCriteria>
         <ns5:keyword xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
         <ns5:maxResultsToReturn>10</ns5:maxResultsToReturn>
         <ns5:nextResultBlockKey xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
         <ns5:scope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
         <ns5:sortBy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
         <ns5:sortOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
      </additionalCriteria>

ご覧のとおり、xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"各要素に属性が追加されています。私は私の要求でこれを望んでいません。私のプロジェクトの配信をブロックしているので、誰か提案してもらえますか?

4

1 に答える 1