Sorry, this is the mail I wanted to send ... 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
<element name="file"> <complexType> <sequence> <element name="name" type="string"/> <element name="content" type="base64Binary"/> </sequence> </complexType> </element> ... and a message called fileRequest. Then, WSDL2Java would translate it into something like private void file(FileRequest fileRequest){ } where class FileRequest{ private String name; private byte[] content; getters and setters ... } Then, what I need is, that "content" in "FileRequest" be some sort of InputStream instead of being a byte array. Can Axis generate this? If not, would it be too difficult to get it work like that? Kind regards <br> <br> ----Mensaje original----<br> De: [EMAIL PROTECTED]<br> Recibido: 23/03/2006 13:45<br> Para: <axis-dev@ws.apache.org>, <[EMAIL PROTECTED]><br> Asunto: Re: streams<br> <br> Can you not in your client code simply do this?<br> <br> myInputStream.toString().getBytes()<br> <br> Cheers,<br> Ciaran<br><br><div><span class="gmail_quote">On 3/23/06, <b class="gmail_sendername"><a href="/cp/ps/Mail/ExternalURLProxy?d=terra. es&u=teixoeira&url=mailto:[EMAIL PROTECTED]&urlHash=-2.414014924187458E217">[EMAIL PROTECTED]</a></b> <<a href=" /cp/ps/Mail/ExternalURLProxy?d=terra.es&u=teixoeira&url=mailto:[EMAIL PROTECTED]&urlHash=-2.414014924187458E217">[EMAIL PROTECTED]</a>> wrote: </span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi! <br><br>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<br>generates a method interface passing a byte[] argument representing the value described by that element. Could it be an InputStream instead<br>a byte[]? Does it make sense to you?<br><br>Thanks.<br><br><br>Prueba el Nuevo Correo Terra; Seguro, R�pido, Fiable.<br><br></blockquote></div><br> <br> <br> Prueba el Nuevo Correo Terra; Seguro, Rápido, Fiable.