axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Fryars (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-4468) Failure to ISO-8559-1 encode server response message body
Date Wed, 19 Aug 2009 07:38:14 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744939#action_12744939
] 

Michael Fryars commented on AXIS2-4468:
---------------------------------------

Andreas implies that the problem may be specific to XmlBeans databinding. So I did a quick
trial with ADB instead => conversion  to ISO-8859-1works correctly with ADB.

> Failure to ISO-8559-1 encode server response message body
> ---------------------------------------------------------
>
>                 Key: AXIS2-4468
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4468
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>    Affects Versions: 1.5
>         Environment: Axis2-1.5 / Tomcat 6.0 / XmlBeans
>            Reporter: Michael Fryars
>         Attachments: exp01_utf8.txt, exp02_iso-8859-1.txt, MfrTestService.aar
>
>
> When request has Content-Type: text/xml;charset=UTF-8, the response is labelled as UTF-8
and any special characters are correctly encoded in UTF-8.
> But when request has Content-Type: text/xml;charset=iso-8859-1, the response is labelled
as ISO-8859-1 but the message body is still encoded as UTF-8.
> See thread at http://marc.info/?l=axis-user&m=125062671421564&w=2 for more details.
> ----------
> List:       axis-user
> Subject:    Re: [AXIS2] Control character encoding used by axis2 server for
> From:       Andreas Veithen <andreas.veithen () gmail ! com>
> Date:       2009-08-18 20:17:40
> Message-ID: b67458760908181317v352bd106wd8fc9ae171728cc3 () mail ! gmail ! com
> [Download message RAW]
> Michael,
> The following log message is interesting:
> org.apache.axiom.om.impl.MTOMXMLStreamWriter  - Returning access to
> the original output stream: java.io.BufferedOutputStream@14181418
> It means that the xmlbeans databinding bypasses the normal StAX
> XMLStreamWriter and writes part of the output directly to the
> underlying byte stream. It is probably at that moment that things go
> wrong. Can you please open a JIRA [1] and attach a sample AAR (or WAR)
> that allows us to reproduce this problem?
> Andreas
> ----------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message