Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1-rc1
-
Fix Version/s: 1.2
-
Component/s: Modules: CXF, Transport: HTTP(S) / Jetty
-
Labels:None
-
Environment:
Suse Professional 9.3, Java 5.0 Update 3
-
Similar Issues:None
Description
When utilizing the SOAP transport to send large messages from one Mule endpoint to another, the size of the SOAP message can quickly become an issue since the entire message is read as a byte array before constructing the SOAP message for dispatch. Axis has support for SOAP messages with attachments which allow you to add DataHandler attachments to SOAP messages that are then processed at dispatch time by streaming the attachment using the DataHandler's InputStream. Since Mule recently added the support for adding DataHandler attachments to Mule messages, this support should be extended in the SOAP provider to allow for translation of Mule messages with DataHandler attachments to SOAP messages with DataHandler attachments. To preserve handling of Mule messages with large attachments, any conversions that are done during the processing of the SOAP message with attachments should preserve the DataHandler attachments without fully reading these attachments into memory.
I've updated the SOAP and HTTP providers from CVS to add this support, so i'll add the patch files to this bug with descriptions of the changes i've made to see if those changes are suitable for adding this support.
First, fixed issue with the SoapMethod class and its parsing of the parameter line. The initParams function was using the name String variable where it should have been using the type String variable.