Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Create Java packages with wsimport for an Interplay setup.
# USAGE ./ <host name/IP of Interplay webservice server>
createPackages () {
mkdir -p $3
wsimport -extension -XadditionalHeaders -keep -p $1 -clientjar $2-bin.jar -s $3 $4
cd $3
zip -r ../$ .
cd ..
rm -rf $3
createPackages avid-interplay-ws-assets assets "http://$WS_SERVER/services/Assets?wsdl"
createPackages avid-interplay-ws-archive archive "http://$WS_SERVER/services/Archive?wsdl"
createPackages avid-interplay-ws-infrastructure infrastructure "http://$WS_SERVER/services/Infrastructure?wsdl"
createPackages avid-interplay-ws-jobs jobs "http://$WS_SERVER/services/Jobs?wsdl"
createPackages avid-interplay-ws-transfer transfer "http://$WS_SERVER/services/Transfer?wsdl"
createPackages avid-interplay-ws-usermanagement usermanagement "http://$WS_SERVER/services/UserManagement?wsdl"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.