JBossWS クライアントでチャンク形式のエンコーディングを無効にする方法
Issue
-
JBossWS でチャンク形式のエンコーディングを無効にする方法は?
-
JBossWS ネイティブクライアントを使用すると IIS サーバーから HTTP 500 エラーを受け取りますが、Sun Metro クライアントまたは SoapUI を使用するとエラーになりません。
- SAAJ を経由して Web サービスを呼び出す場合に、チャンク形式の設定を制限する方法はないようです。
-
以下の例外を受け取ります。
org.jboss.remoting.CannotConnectException:Can not connect http client invoker.Invalid HTTP server response [411] - Length Required.Response:Length Required/411.at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:348)
Environment
- JBoss Enterprise Application Platform (EAP)
- 4.3
- 5.x
- JBoss Web Services Native Stack (JBossWS Native)
- 3.x
- 2.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
