implemented stage 04 of the soap-stubgen tool with Java-only implementation (getting rid of the Clojure dependency)