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

Andreas Veithen resolved AXIS2-4905.
------------------------------------

    Resolution: Won't Fix

The right approach to modify the way a message is serialized is to configure an 
alternate MessageFormatter.

> CommonsHTTPTransportSender does not allow to use other Formatter than 
> OMOutputFormat.
> -------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4905
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4905
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.5.1
>         Environment: all - found on a Windows Vista machine with Java 1.6
>            Reporter: Marcin Markiewicz
>
> I have a little compatibility problem with our older software using 
> MIME-messages. A could solve this problem if I could use my own Output 
> formatter, based on the OMOutputFormat. (I use it this way to generate 
> messages send by my own MQ-Transport). It would be very usefull for me if i 
> could tell the CommonsHTTPTransport which OMOutputFormat implementation it 
> should use. Something like 
> OMOutputFormat = getOutputFormatFromContext(msgContext) 
> instead of
> OMOutputFormat format = new OMOutputFormat();
> (it is the first line in the "invoke" method)
> And only if the context does not contain the Formatter value the "default" 
> one - OMOutputFormat - should be used.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to