WLS: 10.3.1: java.io.UnsupportedEncodingException: Unsupported Encoding UTF-8; action=urn:handleResponse (Doc ID 1306553.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.1 to 10.3.4
Information in this document applies to any platform.

Symptoms

In WLS10.3.1 and above, when sending a request to a Webservice with following HTTP header Content-Type you may run into below exception:
Http Header Content-type:
"Content-Type: application/soap+xml; charset=UTF-8; action=urn:handleResponse"
Error message seen:
<Jan 28, 2011 2:57:03 PM EST> <Error> <HTTP> <BEA-101108> <[ServletContext@9073106[app:ups module:ups path:/ups spec-version:2.5]] Unsupported encoding: "UTF-8; action=urn:handleResponse" specified.
java.io.UnsupportedEncodingException: Unsupported Encoding UTF-8; action=urn:handleResponse
at weblogic.servlet.internal.ServletRequestImpl.setCharacterEncodingInternal(ServletRequestImpl.java:436)
at weblogic.servlet.internal.ServletRequestImpl.initRequestEncoding(ServletRequestImpl.java:1155)

Changes

N/A

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms