[AXIS 1.x and .NET] Axis Interoperability with .NET Clients using MTOM.
Hi Axis Gurus J I would like to get the company I’m currently working at to adopt Axis (instead of say JWSDP) but I need to answer a few questions first. Do we need to use the latest AXIS 1 source to support MTOM or could we use the standard AXIS 1.3? I believe there is some MTOM support in axis 1.3? When using MTOM with AXIS 1.4 on the server and a .NET based client we need all responses to be multi-part encoded, otherwise .NET throws an error in handling the response. AXIS only uses multi-part format when a byte [] return param is present. This is logical but we are wondering if there is a way to force AXIS to use mutli-part encoding without otherwise impacting non-byte [] parameters. We have tried defining this in the WSDL binding but we found that our string return parameter effectively gets “converted” to an AXIS “DataHandler”. This avoids the exception in .NET but the client code can no longer understand the returned parameter. I have attached the master WSDL file we are using. The operation in question is called docSourceImport. You will see we worked around the problem by including a dummy byte [] return param called “reserved” in the docSourceImportResponse. This works but we would prefer a solution that does not impact the API. If anyone could help (or point us in the right direction) with the above, then that would be much appreciated. Many Thanks, Michael Melhem VRDWSAPI.wsdl Description: VRDWSAPI.wsdl
RE: Large File Streaming?
Hello Dims, Thank you for your response! Re Svn Axis (1.4) I have tried the sample attachment code "EchoAttachment" using an attachment file size of approx 300M but again get an "out-of-mem" error. I will investigate if the error is coming from the "sample code" or from inside Axis. I assume axis2 can handle arbitrary size attachments? Thanks Michael Melhem -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Tuesday, 31 January 2006 1:19 AM To: axis-user@ws.apache.org Subject: Re: Large File Streaming? Try latest SVN of Axis 1.X, it has support for streaming attachments (no intermediate buffer) thanks, dims On 1/29/06, Melhem, Michael <[EMAIL PROTECTED]> wrote: > > > > Hi People, > > > > Does anyone have any experience sending very large files with Axis. We seem > to be having "out-of-mem" issues uploading large files. > > > > Basic Question: > > When uploading a file from an axis client to axis server, does axis require > that the whole file be read into memory before it can be handled (eg written > in to disk or database)?? Reading files into memory would be unacceptable > for large file sizes. > > > > Any help or pointers on this would be much appreciated. > > > > Many thanks, > > Michael Melhem -- Davanum Srinivas : http://wso2.com/blogs/
RE: Large File Streaming?
Hey Paul, One of the Axis Committers reckons the latest svn of 1.x fixes the issue with large file attachments.. Cheers MM -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Tuesday, 31 January 2006 1:19 AM To: axis-user@ws.apache.org Subject: Re: Large File Streaming? Try latest SVN of Axis 1.X, it has support for streaming attachments (no intermediate buffer) thanks, dims On 1/29/06, Melhem, Michael <[EMAIL PROTECTED]> wrote: > > > > Hi People, > > > > Does anyone have any experience sending very large files with Axis. We seem > to be having "out-of-mem" issues uploading large files. > > > > Basic Question: > > When uploading a file from an axis client to axis server, does axis require > that the whole file be read into memory before it can be handled (eg written > in to disk or database)?? Reading files into memory would be unacceptable > for large file sizes. > > > > Any help or pointers on this would be much appreciated. > > > > Many thanks, > > Michael Melhem -- Davanum Srinivas : http://wso2.com/blogs/
Large File Streaming?
Hi People, Does anyone have any experience sending very large files with Axis. We seem to be having “out-of-mem” issues uploading large files. Basic Question: When uploading a file from an axis client to axis server, does axis require that the whole file be read into memory before it can be handled (eg written in to disk or database)?? Reading files into memory would be unacceptable for large file sizes. Any help or pointers on this would be much appreciated. Many thanks, Michael Melhem