COMPILATION ERROR package javax.xml.soap does not exist

The issue is that JAX-WS is no longer bundled with Java 11. So if you are running with a newer version of Java you will get compilation error pacakage javax.xml.soap does not exist. It was first flagged as deprecated in Java 9 and in 10 but was removed from Java 11. So to get it work downgrade to use Java 8 instead.


Solution: Run your program with Java 8

Source: release notes