use shacl-play executable instead of web service
download the jar from https://github.com/sparna-git/shacl-play/releases and run
java -jar shacl-play-app-0.7.0-onejar.jar owl2shacl -i /model.owl -o test.shacl -s CLOSED
download the jar from https://github.com/sparna-git/shacl-play/releases and run
java -jar shacl-play-app-0.7.0-onejar.jar owl2shacl -i /model.owl -o test.shacl -s CLOSED