more or less

return new StreamingOutput() {

    @Override
    public void write(OutputStream os) throws ... {
      os.write(bInput);
    }
  };

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-04-10 11:09 GMT+02:00 mauro2java2011 <[email protected]>:
>  byte[] by= photo.getImmagine();
>
> ByteArrayOutputStream bInput = new ByteArrayOutputStream(by);
>
>
>
> Response. //  WHAT WRITE AFTER Response ?
>
>
>
>
> --
> View this message in context: 
> http://openejb.979440.n4.nabble.com/how-stream-a-image-from-a-web-service-apache-cxf-tp4668691p4668699.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to