axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Closed: (AXIS-991) Content-Type: text/html; charset=ISO-8859-1 - cannot generate
Date Tue, 23 Mar 2004 14:37:58 GMT
Message:

   The following issue has been closed.

   Resolver: Davanum Srinivas
       Date: Tue, 23 Mar 2004 6:36 AM

There's a way to do it. closing bug.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-991

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-991
    Summary: Content-Type: text/html; charset=ISO-8859-1  - cannot generate
       Type: Bug

     Status: Closed
 Resolution: WON'T FIX

    Project: Axis
 Components: 
             Basic Architecture
   Versions:
             1.1

   Assignee: 
   Reporter: Dr. Andreas Kr├╝ger

    Created: Thu, 7 Aug 2003 12:09 PM
    Updated: Tue, 23 Mar 2004 6:36 AM
Environment: Operating System: Other
Platform: Other

Description:
I have a fairly low-level message service.

I do

   MessageContext.getCurrentContext().setResponseMessage(response);


To construct "response", I have used

   bytes xmldata[] = ...;
   response = new Message(xmldata, false);

As it happens, that xmldata is coded in ISO-8859-1,
(and, incidently, contains a XML declaration that says so).

Of course, I want the HTTP-header to reflect this fact, too.

So I do

   response.getSOAPPart().
      setMimeHeader("Content-Type","text/xml; charset=ISO-8859-1");

but that has not helped.  AXIS is still generating the HTTP-Header

   Content-Type: text/xml; charset=utf-8

I have also tried some invented MIME-Header "X-Something", but that is not
forwarded to the client, either.

Regards,

Andreas


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message