JAX-WS 2.0 can be used to consume and produce Web Services where the payload is encoded
using SOAP or plain XML, and in recent blog entries,
Marc has been writing on the latter, for supporting RESTful services.
In this latest he shows how to
Use JAX-WS 2.0 with Binary Data.
This can be used, again with both SOAP and REST but for his example he specifically uses
REST to access the images from
Also check Marc's session at JavaOne on
JAX-WS and RESTful Web Services..