axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ias" <>
Subject [PROPOSAL] synchronizing character encoding between request and response
Date Tue, 02 Mar 2004 03:17:26 GMT
Hi all,

I'd like to propose simple changes to AxisServlet, Message and
SerializationContextImpl as the subject of this message says. Let me
introduce an example. Currently, Axis returns a SOAP message based on UTF-8
character encoding unless you customize the default differently. If you
send a request message like

<?xml encoding="utf-16"?>

to a service deployed to Axis, you can get

<?xml encoding="utf-8"?>

as the response of the request.

This mechanism is O.K. , even regarding WS-I BP 1.0 because there' no
requirement for "giving the same character encoding back" in the profile.
However, it's obvious that users expect the character encoding of a request
will be naturally the same with that of its corresponding response since
the request results in the response.

I hope this "synchronizing character encoding" will be the default behavior
of Axis based on SOAP including the character encoding specified by the
"Content-Type" HTTP header. 

At last, these changes passed "ant clean all-tests".

Looking forward to your opinion and comment,


Lee, Changshin (Korean name)
Ias (International name)
               Company Web Site:
               Personal Web Site:
JSR 201, 204, 222 and 224 Expert Group Member
Apache Web Services Project Member
R&D Center
Tmax Soft, Inc.

View raw message