You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by mm...@apache.org on 2004/09/24 01:08:29 UTC

svn commit: rev 47126 - in incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client: . lib src

Author: mmerz
Date: Thu Sep 23 16:08:28 2004
New Revision: 47126

Added:
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/build.xml
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/activation.jar   (contents, props changed)
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/axis-ant.jar   (contents, props changed)
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/axis.jar   (contents, props changed)
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/commons-discovery.jar   (contents, props changed)
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/commons-logging.jar   (contents, props changed)
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/jaxrpc.jar   (contents, props changed)
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/junit.jar   (contents, props changed)
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/log4j-1.2.8.jar   (contents, props changed)
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/log4j.properties
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/mailapi.jar   (contents, props changed)
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/saaj.jar   (contents, props changed)
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/wsdl4j.jar   (contents, props changed)
   incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/src/
Log:
Added the client side sample for the AddressBook

Contributor: Daryoush Mehrtash


Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/build.xml
==============================================================================
--- (empty file)
+++ incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/build.xml	Thu Sep 23 16:08:28 2004
@@ -0,0 +1,76 @@
+<?xml version="1.0" ?>
+
+<project name="AddressBookClient" basedir="." default="all">
+	
+	<property name="AddressBook.wsdl.url" 
+		value="http://localhost:8080/AnnotatedAxis/AddressBookWebService.jws?wsdl" />
+	
+	
+	<path id="jars">
+	    <fileset dir="lib">
+	        <include name="**/*.jar"/>
+	    </fileset>
+	</path>
+	
+  	<taskdef name="wsdl2java" classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"
+   	 loaderref="axis" >
+        <classpath refid="jars"/>
+ 	</taskdef>
+
+ 
+	<target name="clean">
+		<delete dir="build" />
+	</target>
+	
+	<target name="dirs">
+		<mkdir dir="build" />
+		<mkdir dir="build/generated" />
+		<mkdir dir="build/classes" />
+
+	</target>	
+	<target name="all" depends="genClient, compile, test"/>
+	
+	<target name="genClient" depends="dirs">
+	    <wsdl2java url="${AddressBook.wsdl.url}"
+	               output="build/generated"
+	               testcase="yes">
+	    </wsdl2java>
+
+	</target>
+	
+	<target name="compile" depends="genClient">
+  		 <javac srcdir="build/generated"
+			destdir="build/classes"
+			classpathref="jars"
+			failonerror="true"
+ 		 	source="1.4"
+ 			/>
+			
+		 <!-- just in case there are some client specific source -->
+		 <javac srcdir="src"
+			destdir="build/classes"
+			classpathref="jars"
+			failonerror="true"
+ 		 	source="1.4"
+			/>
+
+	   </target>	
+	
+	<target name="test" depends="compile">
+	   	<junit printsummary="yes" haltonfailure="yes" showoutput="yes">
+	        <classpath>
+	              <pathelement location= "build/classes"/>
+	              <path refid="jars"/>
+	          </classpath>
+
+
+	    	<batchtest fork="yes" todir=".">
+	   	    <fileset dir="build/classes">
+	   	      <include name="**/*Test*.class"/>
+	   	    </fileset>
+	   	  </batchtest>
+	   	</junit>
+		
+	</target>
+	
+</project>
\ No newline at end of file

Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/activation.jar
==============================================================================
Binary file. No diff available.

Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/axis-ant.jar
==============================================================================
Binary file. No diff available.

Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/axis.jar
==============================================================================
Binary file. No diff available.

Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/commons-discovery.jar
==============================================================================
Binary file. No diff available.

Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/commons-logging.jar
==============================================================================
Binary file. No diff available.

Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/jaxrpc.jar
==============================================================================
Binary file. No diff available.

Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/junit.jar
==============================================================================
Binary file. No diff available.

Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/log4j-1.2.8.jar
==============================================================================
Binary file. No diff available.

Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/log4j.properties
==============================================================================
--- (empty file)
+++ incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/log4j.properties	Thu Sep 23 16:08:28 2004
@@ -0,0 +1,20 @@
+# Set root category priority to INFO and its only appender to CONSOLE.
+log4j.rootCategory=INFO, CONSOLE
+#log4j.rootCategory=INFO, CONSOLE, LOGFILE
+
+# Set the enterprise logger category to FATAL and its only appender to CONSOLE.
+log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE
+
+# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.Threshold=INFO
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=- %m%n
+
+# LOGFILE is set to be a File appender using a PatternLayout.
+log4j.appender.LOGFILE=org.apache.log4j.FileAppender
+log4j.appender.LOGFILE.File=axis.log
+log4j.appender.LOGFILE.Append=true
+log4j.appender.LOGFILE.Threshold=INFO
+log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/mailapi.jar
==============================================================================
Binary file. No diff available.

Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/saaj.jar
==============================================================================
Binary file. No diff available.

Added: incubator/beehive/trunk/wsm/samples/dropInDeployment/AddressBook/client/lib/wsdl4j.jar
==============================================================================
Binary file. No diff available.