MTOM does not work with CGI installation of Axis
------------------------------------------------

                 Key: AXIS2-4535
                 URL: https://issues.apache.org/jira/browse/AXIS2-4535
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: mtompolicy
         Environment: $ uname -a
Linux <hostname> 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64 
x86_64 GNU/Linux

$ gcc --version
gcc (GCC) 4.2.2
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ld --version
GNU ld version 2.17.50.0.6-2.el5 20061020
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
            Reporter: Russell Tempero
             Fix For: 1.6


When using the the CGI version of Axis, a web service is able to neither 
receive requests with MTOM attachments nor send responses with said 
attachments. The process crashes in either case.

I have attached a fix that allows messages with MTOM attachments to be both 
sent and received from an Axis2 CGI process. Note that the attached fix works 
for our current setup and may not take other configurations into account. It is 
recommended that further investigation be made to ensure that the fix works for 
all cases.

The first part of the attached patch allows for the receipt of chunked 
transfer-encoding HTTP messages. This is not a necessity for MTOM, but is very 
helpful. The rest of the patch allows MTOM messages to be sent back out.

Let me know if there are any questions or concerns or I if I can further assist 
in any way.

Thanks,
Russell

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

Reply via email to