WSDL2Java_PatWBSGateway_SERVER.sh 1.97 KB
Newer Older
Comune di Salerno's avatar
Comune di Salerno committed
1 2 3 4 5 6 7 8 9 10 11 12
WSDD_SOURCE_PATH=/home/gneko/development/sicraweb/it.saga.pubblici.patrimonio/src/PAT-server/server/src/main/java/it/saga/pubblici/patrimonio/webservice/impl
WSDD_DESTINATION_PATH=/home/gneko/development/sicraweb/it.saga.pubblici.patrimonio/src/PAT-server/server/src/main/resources/it/saga/pubblici/patrimonio/webservice/impl
WSDL_PATH=/home/gneko/development/sicraweb/it.saga.pubblici.patrimonio
SOURCE_PATH=/home/gneko/development/sicraweb/it.saga.pubblici.patrimonio/src/PAT-server/server/src/main/java
AXIS_HOME=/home/gneko/development/axis
AXIS_LIB=$AXIS_HOME/lib
AXISCLASSPATH=$AXIS_LIB/axis.jar:$AXIS_LIB/commons-discovery.jar:$AXIS_LIB/commons-logging.jar:$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/saaj.jar:$AXIS_LIB/log4j-1.2.8.jar:$AXIS_LIB/xml-apis.jar:$AXIS_LIB/xercesImpl.jar:$AXIS_LIB/wsdl4j.jar:$SICRAWEB_HOME/client/it.saga.library.repository.client.jar:$SICRAWEB_HOME/client/it.saga.library.commonDataTypes.client.jar:$SICRAWEB_HOME/client/it.saga.library.controls.client.jar:$SICRAWEB_HOME/client/it.saga.library.controls.grid.client.jar:$SICRAWEB_HOME/client/lib/ejb.jar:$SICRAWEB_HOME/client/it.saga.library.messages.client.jar:$SICRAWEB_HOME/client/it.saga.library.authentication.client.jar:$SICRAWEB_HOME/client/it.saga.library.logging.client.jar:$SICRAWEB_HOME/client/it.saga.library.controls.treeView.client.jar:$SICRAWEB_HOME/client/it.saga.library.localization.client.jar:$SICRAWEB_HOME/client/it.saga.library.baseForms.client.jar:$SICRAWEB_HOME/client/it.saga.pubblici.utentiruoli.client.jar:$SICRAWEB_HOME/client/it.saga.library.searchForms.client.jar:$SICRAWEB_HOME/client/it.saga.library.common.client.jar:$SICRAWEB_HOME/client/it.saga.library.reports.client.jar

cd $SOURCE_PATH
java -cp $AXISCLASSPATH org.apache.axis.wsdl.WSDL2Java -o . -d Session -s -S true -N"urn:PatWBSGateway" "it.saga.pubblici.patrimonio.webservice.impl" $WSDL_PATH/PatWBSGateway.wsdl
mv $WSDD_SOURCE_PATH/deploy.wsdd $WSDD_DESTINATION_PATH/deploy.wsdd
mv $WSDD_SOURCE_PATH/undeploy.wsdd $WSDD_DESTINATION_PATH/undeploy.wsdd