Translated message

A translation of this page exists in English.

JBossWS クライアントでチャンク形式のエンコーディングを無効にする方法

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content