JAX-WS transports SOAP, not raw bytes. If the response is supposed to contain a byte[], then you need to look into SOAP with attachments (SwA) or encode the byte[] as a string (maybe using something like base-64 encoding). But a raw stream is out of the question.