#!/bin/sh
rm -rf src-gen;
mkdir src-gen;
mkdir -p bin;
# WSDL URL
#wsdl="http://testbed.timbusproject.net:7080/pi_latest/preservationIdentifier?wsdl" # Intel Testbed
#wsdl="http://localhost:7080/pi/preservationIdentifier/?wsdl" # local URL
wsdl="http://kronos.ifs.tuwien.ac.at.:8080/pi/preservationIdentifier?wsdl" # Kronos Server
wsimport -s src-gen -d bin $wsdl