6.1. Receiving large SOAP requests
JAX-WS RI extension Provider<Message> can be used to read an incoming SOAP message by using XMLStreamReader (among other things.) This allows you to read the SOAP message on-demand lazily, without needing to buffer the whole message in memory.
See the relevant JAXB users guide section for how to combine JAXB with such streaming processing.