streams

2006-03-23 Thread [EMAIL PROTECTED]
Hi! I have a web service developed with Axis. In my WSDL I define a message type in which I include a base64 binary element. WSDL2Java generates a method interface passing a byte[] argument representing the value described by that element. Could it be an InputStream instead a byte[]? Does it m

Re: streams

2006-03-23 Thread ciaran dunn
Can you not in your client code simply do this? myInputStream.toString().getBytes() Cheers, CiaranOn 3/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi!I have a web service developed with Axis. In my WSDL I define a message type in which I include a base64 binary element. WSDL2Javagenerates

Re: streams

2006-03-23 Thread [EMAIL PROTECTED]
I'm trying to avoid storing the whole contents in memory so, I think that's not a solution. Lets suppose I define a wsdl element ... and a message called fileRequest. Then, WSDL2Java would translate it into something like private void file(FileRequest f

Re: streams

2006-03-23 Thread [EMAIL PROTECTED]
Can Axis generate this? If not, would it be too difficult to get it work like that? Kind regards Mensaje original De: [EMAIL PROTECTED] Recibido: 23/03/2006 13:45 Para: , <[EMAIL PROTECTED]> Asunto: Re: streams Can you not in your client code simply do this? myInputStream.toS

RE: streams

2006-04-11 Thread Tom Jordahl
to an operation and you will have to change many things in the call sequence. -- Tom Jordahl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 10:34 AM To: axis-dev@ws.apache.org Subject: Re: streams Sorry, this is the mail I wanted to

Re: streams

2006-04-11 Thread ciaran dunn
Also, and the reason I replied to the original message, what is the nature of your data in the byte[] part. Ive worked on working axis code that has had to deal with arbitary incoming byte[]'s that might be bit maps/embedded xml data/whatever and Ive never really had a problem with axis as such. Mo

Re: streams

2006-04-12 Thread Paul Fremantle
Axis2 sorts this out using MTOM and DataHandlers. The data can be streamed, and also doesn't need to be base64 encoded.PaulOn 4/11/06, ciaran dunn <[EMAIL PROTECTED]> wrote: Also, and the reason I replied to the original message, what is the nature of your data in the byte[] part. Ive worked on wo

large streams with mtom (130 MB) out of memory

2008-10-01 Thread Wagner, Michael
Hello, i try to send and receive files with 130MB capacity. The VMs have 512MB of memory. To do so I extended the MTOM example provided by axis2 (sending the file back and write it to a file). It is possible for me to send the file to the server with an adequate amount of memory consumption. Ho

Re: large streams with mtom (130 MB) out of memory

2008-10-01 Thread keith chapman
Did you turn on attachment caching using the following parameter? true Thanks, Keith. On Wed, Oct 1, 2008 at 7:48 PM, Wagner, Michael < [EMAIL PROTECTED]> wrote: > Hello, > > i try to send and receive files with 130MB capacity. The VMs have 512MB of > memory. To do so I extended the MTOM exampl