#!/bin/sh
# From https://github.com/wsdl2phpgenerator/wsdl2phpgenerator-cli
#
# Remember to change \SoapClient to WSSoapClient in any XXXService file
#
# Remove existing files and don't rmeove WSSClient
rm -fr Fulfilment Loyalty Organisation Products Sales Security Stocks

./vendor/wsdl2phpgenerator/wsdl2phpgenerator-cli/wsdl2php -i https://database-test.eurostop.jdsportscanada.com:9120/e-interface/fulfilment?wsdl -n Eurostop\\Fulfilment -o src/Eurostop/Fulfilment
./vendor/wsdl2phpgenerator/wsdl2phpgenerator-cli/wsdl2php -i https://database-test.eurostop.jdsportscanada.com:9120/e-interface/loyalty?wsdl -n Eurostop\\Loyalty -o src/Eurostop/Loyalty
./vendor/wsdl2phpgenerator/wsdl2phpgenerator-cli/wsdl2php -i https://database-test.eurostop.jdsportscanada.com:9120/e-interface/organisation?wsdl -n Eurostop\\Organisation -o src/Eurostop/Organisation
./vendor/wsdl2phpgenerator/wsdl2phpgenerator-cli/wsdl2php -i https://database-test.eurostop.jdsportscanada.com:9120/e-interface/products?wsdl -n Eurostop\\Products -o src/Eurostop/Products
./vendor/wsdl2phpgenerator/wsdl2phpgenerator-cli/wsdl2php -i https://database-test.eurostop.jdsportscanada.com:9120/e-interface/sales?wsdl -n Eurostop\\Sales -o src/Eurostop/Sales
./vendor/wsdl2phpgenerator/wsdl2phpgenerator-cli/wsdl2php -i https://database-test.eurostop.jdsportscanada.com:9120/e-interface/security?wsdl -n Eurostop\\Security -o src/Eurostop/Security
./vendor/wsdl2phpgenerator/wsdl2phpgenerator-cli/wsdl2php -i https://database-test.eurostop.jdsportscanada.com:9120/e-interface/status?wsdl -n Eurostop\\Status -o src/Eurostop/Status
./vendor/wsdl2phpgenerator/wsdl2phpgenerator-cli/wsdl2php -i https://database-test.eurostop.jdsportscanada.com:9120/e-interface/stocks?wsdl -n Eurostop\\Stocks -o src/Eurostop/Stocks
