多分あなたは私の問題で私を助けることができます:) そして、ここに問題の説明があります.
私のアプリケーションは jboss 4.2.3 で実行されています。残りのエンドポイントを介してコンテンツをアップロードする機能がいくつかあります。ユーザーがのような特殊文字を含むコンテンツを送信しようとすると問題が発生します。. ユーザーは常に 400 の悪い応答を受け取ります。
以下は、正常に実行される PUT リクエストの本文の例です。
<content-list xmlns="http://www.test.com/pgp/1.0">
<content-record content-type="i_schema_2:ContentType2"
url-key="bla bla bla" created-by="test">
<field name="field1" type="string">Field3 Value</field>
<field name="field2" type="string">Field4 Value</field>
<field name="field3" type="string">Field4 Value</field>
</content-record>
</content-list>
400 エラーで実行される PUT リクエストの本文の例を次に示します。
<content-list xmlns="http://www.test.com/pgp/1.0">
<content-record content-type="i_schema_2:ContentType2"
url-key="bla bla bla" created-by="test">
<field name="field1" type="string">Field3 Value</field>
<field name="field2" type="string">Field4 Value</field>
<field name="field3" type="string">Field4 Value</field>
</content-record>
</content-list>
これは、jboss の tomcat または http 要求ヘッダーにいくつかのオプションを設定することで調整できますか?