#!/bin/sh
# run with a WSDL URL as an argument
# produces the corresponding Java source, in the current directory

CLASSPATH="$JAVA_LIB/jaf-1.0.2/activation.jar:$JAVA_LIB/javamail-1.3.2/lib/mailapi.jar"
for jar in $JAVA_LIB/axis-1_3/lib/*.jar; do
    CLASSPATH=${CLASSPATH}:$jar
done

java -cp $CLASSPATH  org.apache.axis.wsdl.WSDL2Java $@
