axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandika Jayawardana (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2C-1518) HTTP response header contains content-type as charser: instead of charset=
Date Wed, 26 Dec 2012 15:24:12 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nandika Jayawardana updated AXIS2C-1518:
----------------------------------------

    Fix Version/s:     (was: Next Version)
                   1.7.0
    
> HTTP response header contains content-type as charser: instead of charset=
> --------------------------------------------------------------------------
>
>                 Key: AXIS2C-1518
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1518
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: IIS module
>    Affects Versions: 1.5.0
>         Environment: Windows server 2003 and IIS 6.0 
>            Reporter: Trigent
>            Assignee: Nandika Jayawardana
>             Fix For: 1.7.0
>
>
> The axis2c v1.5.0 web service is configured using MS IIS 6.0 on windows server 2003 ,
the HTTP response header contains the content-type as "charser:".  
> The ORACLE SOA server is unable to parse the axis2c HTTP response header because of content-type
(charser:). 
> The ORACLE SOA server expects, HTTP header content-type as "charset=".
> When analyzed the asix2c version 1.5.0 source code , we found the following function
is returning the content-type:
> axis2_status_t AXIS2_CALL
> axis2_iis_out_transport_info_set_content_type(
>     axis2_http_out_transport_info_t * info,
>     const axutil_env_t * env,
>     const axis2_char_t * content_type)
> {
>     axis2_iis_out_transport_info_t *info_impl = NULL;
>     info_impl = AXIS2_INTF_TO_IMPL(info);
>     info_impl->content_type[0] = '\0';
>     if (info_impl->encoding)
>     {
>         sprintf(info_impl->content_type, "%s%s%s", content_type, ";charser:",
>                 info_impl->encoding);
>     }
>     else
>     {
>         strcat(info_impl->content_type, content_type);
>     }
>     return AXIS2_SUCCESS;
> }
> The function "axis2_iis_out_transport_info_set_content_type" is available in the file
- 
> src-1.5.0\src\core\transport\http\server\IIS\axis2_iis_out_transport_info.c 
> The HTTP response header content-type needs to be corrected to resolve this issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


Mime
View raw message