Skip to content

Instantly share code, notes, and snippets.

@hdsdi3g
Created August 15, 2016 01:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hdsdi3g/c2e7fd8ae9f94ef9bec5a67c203fcf36 to your computer and use it in GitHub Desktop.
Save hdsdi3g/c2e7fd8ae9f94ef9bec5a67c203fcf36 to your computer and use it in GitHub Desktop.
Create Java packages with wsimport for a Vantage setup.
#!/bin/sh
# USAGE ./import-telestream-vantage-ws.sh <host name/IP of Vantage server>
WS_SERVER=$1
mkdir -p src
wsimport -extension -XadditionalHeaders -keep -p net.telestream.vantage.ws -clientjar telestream-vantage-ws-bin.jar -s src "http://$WS_SERVER:8676/?wsdl"
cd src
zip -r ../telestream-vantage-ws-src.zip .
cd ..
rm -rf src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment