Above code is getting compiled and deploying fine. JAX-WS runtime just skips the fault.
If that is the case, then your application server is not fully compliant to the JAX-WS specifications. What application server are you using?
From the JSR-181 specs:
A JSR-181 processor is REQUIRED to report an error if an operation marked @Oneway has a return value, declares any checked exceptions or has any
INOUT or OUT parameters.
The reference implementation server (Glassfish) will give you the following error on deployment of the application:
Oneway operation should not throw any checked exceptions class: notes.ws.LogServiceImpl method: log throws: notes.ws.EmptyStrException
Regards,
Frits