Fix JavaWS example to use secure defaults.
Merge pull request #3564 from wsargent/fix_insecure_ws_example_master

[doc] [WS] Fix JavaWS example to use secure defaults.