You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "TEIXOEIRA@terra.es" <TE...@terra.es> on 2006/03/23 13:10:45 UTC

streams

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 make sense to you?

Thanks.


Prueba el Nuevo Correo Terra; Seguro, R�pido, Fiable.


Re: streams

Posted by ciaran dunn <ci...@gmail.com>.
Can you not in your client code simply do this?

myInputStream.toString().getBytes()

Cheers,
Ciaran

On 3/23/06, TEIXOEIRA@terra.es <TE...@terra.es> 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. 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 make sense to you?
>
> Thanks.
>
>
> Prueba el Nuevo Correo Terra; Seguro, R�pido, Fiable.
>
>