axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wood...@apache.org
Subject svn commit: r633234 [2/24] - in /webservices/axis2/trunk/java: ./ modules/jaxws-integration/ modules/jaxws-integration/test/ modules/jaxws-integration/test/client/ modules/jaxws-integration/test/org/ modules/jaxws-integration/test/org/apache/ modules/j...
Date Mon, 03 Mar 2008 18:48:24 GMT

Added: webservices/axis2/trunk/java/modules/jaxws-integration/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/pom.xml?rev=633234&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/pom.xml (added)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/pom.xml Mon Mar  3 10:47:38 2008
@@ -0,0 +1,1122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements. See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership. The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License. You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied. See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<parent>
+		<groupId>org.apache.axis2</groupId>
+		<artifactId>axis2-parent</artifactId>
+		<version>SNAPSHOT</version>
+		<relativePath>../parent/pom.xml</relativePath>
+	</parent>
+	<artifactId>axis2-jaxws-integration</artifactId>
+	<name>Apache Axis 2.0 - JAXWS Integration Tests</name>
+	<description>Axis2 JAXWS Integration Tests</description>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-annotation_1.0_spec</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-kernel</artifactId>
+            <version>${version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-jaxws-api</artifactId>
+            <version>${version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-saaj-api</artifactId>
+            <version>${version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.geronimo.specs</groupId>
+                    <artifactId>geronimo-javamail_1.4_spec</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2</groupId>
+            <artifactId>axis2-adb</artifactId>
+            <version>${version}</version>
+        </dependency>
+		<dependency>
+			<groupId>org.apache.axis2</groupId>
+			<artifactId>axis2-saaj</artifactId>
+			<version>${version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.axis2</groupId>
+			<artifactId>axis2-metadata</artifactId>
+			<version>${version}</version>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.axis2</groupId>
+			<artifactId>axis2-jaxws</artifactId>
+			<version>${version}</version>
+		</dependency>
+        <dependency>
+            <groupId>xml-resolver</groupId>
+            <artifactId>xml-resolver</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>jaxen</groupId>
+            <artifactId>jaxen</artifactId>
+        </dependency>
+        <dependency>
+			<groupId>javax.xml.bind</groupId>
+			<artifactId>jaxb-api</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>com.sun.xml.bind</groupId>
+			<artifactId>jaxb-impl</artifactId>
+			<exclusions>
+				<exclusion>
+					<artifactId>jsr173</artifactId>
+					<groupId>javax.xml</groupId>
+				</exclusion>
+			</exclusions>
+		</dependency>
+		<dependency>
+			<groupId>com.sun.xml.bind</groupId>
+			<artifactId>jaxb-xjc</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>xalan</groupId>
+			<artifactId>xalan</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>javax.servlet</groupId>
+			<artifactId>servlet-api</artifactId>
+		</dependency>
+		<dependency>
+			<groupId>javax.xml.bind</groupId>
+			<artifactId>jaxb-api</artifactId>
+			<exclusions>
+				<exclusion>
+					<artifactId>jsr173</artifactId>
+					<groupId>javax.xml</groupId>
+				</exclusion>
+			</exclusions>
+		</dependency>
+	</dependencies>
+	<build>
+		<sourceDirectory>src</sourceDirectory>
+		<testSourceDirectory>test</testSourceDirectory>
+		<resources>
+			<resource>
+				<directory>conf</directory>
+				<includes>
+					<include>**/*.properties</include>
+				</includes>
+			</resource>
+			<resource>
+				<directory>src</directory>
+				<includes>
+					<include>**/*.properties</include>
+					<include>**/*.xml</include>
+				</includes>
+			</resource>
+			<resource>
+				<directory>resources</directory>
+				<includes>
+					<include>**/*</include>
+				</includes>
+			</resource>
+		</resources>
+		<testResources>
+			<testResource>
+				<directory>test</directory>
+				<includes>
+					<include>**/*.xml</include>
+					<include>**/*.wsdl</include>
+					<include>**/*.properties</include>
+				</includes>
+			</testResource>
+		</testResources>
+		<plugins>
+			<plugin>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<inherited>true</inherited>
+				<configuration>
+                    <compilerArgument>-Xbootclasspath/p:${basedir}/../jaxws-api/target/classes${path.separator}${basedir}/../jws-api/target/classes</compilerArgument>
+                    <compilerVersion>1.5</compilerVersion>
+					<source>1.5</source>
+					<target>1.5</target>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-antrun-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>gen-ts</id>
+						<phase>generate-test-sources</phase>
+						<configuration>
+							<tasks>
+								<!-- Theres got to be a better way to do this -->
+								<property name="schema.source.dir" value="test-resources/xsd"/>
+								<property name="wsdl.source.dir" value="test-resources/wsdl"/>
+								<property name="schema.output.base.dir" value="target/schema"/>
+								<property name="schema.generated.src.dir" value="${schema.output.base.dir}/src"/>
+								<property name="schema.generated.classes.dir" value="${schema.output.base.dir}/classes"/>
+								<!-- make the dirs -->
+								<mkdir dir="${schema.output.base.dir}"/>
+								<mkdir dir="${schema.generated.src.dir}"/>
+								<mkdir dir="${schema.generated.classes.dir}"/>
+								<!-- Run JAXB schema compiler with designated schemas -->
+								<echo>Generating JAX-B classes from XSDs</echo>
+								<echo>Generating java from soap 11</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet  ${schema.source.dir}/soap11.xsd"/>
+								</java>
+								<echo>Generating java from echo.xsd</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet  ${schema.source.dir}/echo.xsd"/>
+								</java>
+								<echo>Generating java from stock1.xsd</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet ${schema.source.dir}/stock1.xsd"/>
+								</java>
+								<echo>Generating java from stock2.xsd</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet ${schema.source.dir}/stock2.xsd"/>
+								</java>
+								<echo>Generating java from samplemtom.xsd</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet ${schema.source.dir}/samplemtom.xsd"/>
+								</java>
+								<echo>Generating java from ProxyDocLitWrapped.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -p org.test.proxy.doclitwrapped -quiet -wsdl ${wsdl.source.dir}/ProxyDocLitWrapped.wsdl"/>
+								</java>
+								<echo>Generating java from AddNumbers.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/AddNumbers.wsdl"/>
+								</java>
+								<echo>Generating java from ProxyDocLitnonWrapped.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/ProxyDocLitnonWrapped.wsdl"/>
+								</java>
+								<echo>Generating java from samplemtomjpeg.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/samplemtomjpeg.wsdl"/>
+								</java>
+								<echo>Generating java from RPCLit.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -p org.test.proxy.rpclit -quiet -wsdl ${wsdl.source.dir}/RPCLit.wsdl"/>
+								</java>
+							   <echo>Generating java from RPCLitSWA.wsdl</echo>
+                               <java classname="com.sun.tools.xjc.Driver" fork="true">
+			                        <classpath refid="maven.runtime.classpath"/>
+			                        <classpath location="${compiled.classes.dir}"/>
+			                        <arg line="-d ${schema.generated.src.dir} -p org.test.proxy.rpclitswa -quiet -wsdl ${wsdl.source.dir}/RPCLitSWA.wsdl"/>
+								</java>
+								<echo>Generating java from gorilla_dlw.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/gorilla_dlw.wsdl"/>
+								</java>
+								<echo>Generating java from SOAP12Echo.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/SOAP12Echo.wsdl"/>
+								</java>
+    	<echo>Generating java from AddNumbersHandler.wsdl</echo>
+    	<java classname="com.sun.tools.xjc.Driver" fork="true"> 
+    	    <classpath refid="maven.runtime.classpath"/>
+    	    <classpath location="${compiled.classes.dir}"/>
+    	   	<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/AddNumbersHandler.wsdl"/>
+    	</java>
+								<echo>Generating java from async_doclitwr.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/async_doclitwr.wsdl"/>
+								</java>
+								<echo>Generating java from FaultyWebService.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/FaultyWebService.wsdl"/>
+								</java>
+								<echo>Generating java from FaultsService.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/FaultsService.wsdl"/>
+								</java>
+								<echo>Generating java from jaxbsource</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -p org.test.dispatch.jaxbsource ${schema.source.dir}/jaxbsource.xsd"/>
+								</java>
+								<echo>Generating java from doclit_nonwrap.wsdl for javabean endpoint
+                                    support</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/doclit_nonwrap.wsdl"/>
+								</java>
+								<echo>Generating java from doclitwrap.wsdl for javabean endpoint
+                                    support</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/doclitwrap.wsdl"/>
+								</java>
+								<echo>Generating java from doclitbare.wsdl for javabean endpoint
+                                    support</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/doclitbare.wsdl"/>
+								</java>
+								<echo>Generating java from greeterTypes.xsd</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet ${schema.source.dir}/greeterTypes.xsd"/>
+								</java>
+								<echo>Generating java from EchoMessage.wsdl for javabean endpoint
+                                    support</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/EchoMessage.wsdl"/>
+								</java>
+								<echo>Generating java from resourceinjection.wsdl for javabean
+                                    endpoint Resource Injection support</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/resourceinjection.wsdl"/>
+								</java>
+								<echo>Generating java from AnyType.wsdl for javabean endpoint
+                                    AnyType support</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/AnyType.wsdl"/>
+								</java>
+								<echo>Generating java from WSDLMultiTests.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/WSDLMultiTests.wsdl"/>
+								</java>
+								<echo>Generating java from Polymorphic shapes.wsdl for javabean
+                                    endpoint support</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/shapes.wsdl"/>
+								</java>
+								<echo>Generating java from SOAPActionTest.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/SOAPActionTest.wsdl"/>
+								</java>
+								<echo>Generating java from rpclitenum.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/rpclitenum.wsdl"/>
+								</java>
+								<echo>Generating java from AddNumbersHandler.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true">
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/AddNumbersHandler.wsdl"/>
+								</java>
+								<echo>Generating java from rpclitstringarray.wsdl</echo>
+								<java classname="com.sun.tools.xjc.Driver" fork="true"> 
+									<classpath refid="maven.runtime.classpath"/>
+									<classpath location="${compiled.classes.dir}"/>
+									<arg line="-d ${schema.generated.src.dir} -quiet -wsdl ${wsdl.source.dir}/rpclitstringarray.wsdl"/>
+								</java>
+							</tasks>
+						</configuration>
+						<goals>
+							<goal>run</goal>
+						</goals>
+					</execution>
+					<execution>
+						<id>build-repo</id>
+						<phase>test-compile</phase>
+						<configuration>
+							<tasks>
+								<mkdir dir="./target/test-classes/servicejars"/>
+								<copy toDir="target/test-classes/services/EchoService/">
+									<fileset dir="target/test-classes">
+										<include name="server/**"/>
+									</fileset>
+									<fileset dir="test/server">
+										<exclude name="**/*.java"/>
+									</fileset>
+								</copy>
+								<!-- ================================================================ -->
+								<!--- Provider endpoint Service Samples -->
+								<!-- ================================================================ -->
+								<copy toDir="target/test-classes/servicejars/WSGenService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/sample/wsgen/WSGenInterface.class"/>
+										<include name="org/apache/axis2/jaxws/sample/wsgen/WSGenImpl.class"/>
+										<include name="org/apache/axis2/jaxws/sample/wsgen/jaxws/**"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/wsgen">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/WSGenService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/WSGenService"
+								/>
+								<delete dir="target/test-classes/servicejars/WSGenService"/>								
+								
+								<copy toDir="target/test-classes/servicejars/BasicAuthSecurityService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/security/server/**"/>
+										<exclude name="org/apache/axis2/jaxws/security/server/META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/BasicAuthSecurityService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/BasicAuthSecurityService"
+								/>
+								<delete dir="target/test-classes/servicejars/BasicAuthSecurityService"/>
+														
+								<copy toDir="target/test-classes/servicejars/StringProviderService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/provider/string/**"/>
+										<exclude name="org/apache/axis2/jaxws/provider/string/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/provider/string">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/StringProviderService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/StringProviderService"
+								/>
+								<delete dir="target/test-classes/servicejars/StringProviderService"/>
+														
+								<copy toDir="target/test-classes/servicejars/StringMessageProviderService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/provider/stringmsg/**"/>
+										<exclude name="org/apache/axis2/jaxws/provider/stringmsg/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/provider/stringmsg">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/StringMessageProviderService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/StringMessageProviderService"
+								/>
+								<delete dir="target/test-classes/servicejars/StringMessageProviderService"/>
+														
+								<copy toDir="target/test-classes/servicejars/SourceProviderService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/provider/source/**"/>
+										<exclude name="org/apache/axis2/jaxws/provider/source/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/provider/source">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/SourceProviderService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/SourceProviderService"
+								/>
+								<delete dir="target/test-classes/servicejars/SourceProviderService"/>
+														
+								<copy toDir="target/test-classes/servicejars/SourceMessageProviderService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/provider/sourcemsg/**"/>
+										<exclude name="org/apache/axis2/jaxws/provider/sourcemsg/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/provider/sourcemsg">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/SourceMessageProviderService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/SourceMessageProviderService"
+								/>
+								<delete dir="target/test-classes/servicejars/SourceMessageProviderService"/>
+														
+								<copy toDir="target/test-classes/servicejars/SoapMessageProviderService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/provider/soapmsg/**"/>
+										<exclude name="org/apache/axis2/jaxws/provider/soapmsg/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/provider/soapmsg">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/SoapMessageProviderService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/SoapMessageProviderService"
+								/>
+								<delete dir="target/test-classes/servicejars/SoapMessageProviderService"/>
+													
+                                <copy toDir="target/test-classes/servicejars/SoapMessageMUProviderService/">
+                                    <fileset dir="target/test-classes">
+                                        <include name="org/apache/axis2/jaxws/provider/soapmsgmu/**"/>
+                                        <exclude name="org/apache/axis2/jaxws/provider/soapmsgmu/META-INF/services.xml"/>
+                                    </fileset>
+                                    <fileset dir="test/org/apache/axis2/jaxws/provider/soapmsgmu">
+                                        <include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+                                    </fileset>
+                                </copy>
+
+								<zip destfile="target/test-classes/servicejars/SoapMessageMUProviderService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/SoapMessageMUProviderService"
+								/>
+								<delete dir="target/test-classes/servicejars/SoapMessageMUProviderService"/>
+														
+								<copy toDir="target/test-classes/servicejars/JAXBProviderService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/provider/jaxb/**"/>
+										<exclude name="org/apache/axis2/jaxws/provider/jaxb/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/provider/jaxb">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="target/schema/classes">
+										<include name="org/test/mtom/**"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/JAXBProviderService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/JAXBProviderService"
+								/>
+								<delete dir="target/test-classes/servicejars/JAXBProviderService"/>
+														
+								<copy toDir="target/test-classes/servicejars/SendImageService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/sample/mtom1/**"/>
+										<exclude name="org/apache/axis2/jaxws/sample/mtom1/**"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/mtom1">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="target/schema/classes">
+										<include name="org/apache/axis2/jaxws/sample/mtom1/**"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/SendImageService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/SendImageService"
+								/>
+								<delete dir="target/test-classes/servicejars/SendImageService"/>
+														
+								<copy toDir="target/test-classes/servicejars/SOAP12Service/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/dispatch/server/**"/>
+										<exclude name="org/apache/axis2/jaxws/dispatch/server/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/dispatch/server">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/SOAP12Service.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/SOAP12Service"
+								/>
+								<delete dir="target/test-classes/servicejars/SOAP12Service"/>														
+								
+								<!-- ================================================================ -->
+								<!--- Proxy endpoint Service Samples -->
+								<!-- ================================================================ -->
+								<copy toDir="target/test-classes/servicejars/ProxyDocLitWrapped/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/proxy/doclitwrapped/**"/>
+										<exclude name="org/apache/axis2/jaxws/proxy/doclitwrapped/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/proxy/doclitwrapped">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/ProxyDocLitWrapped.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/ProxyDocLitWrapped"
+								/>
+								<delete dir="target/test-classes/servicejars/ProxyDocLitWrapped"/>														
+								
+								<copy toDir="target/test-classes/servicejars/ProxyDocLitnonWrapped/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/proxy/doclitnonwrapped/**"/>
+										<exclude name="org/apache/axis2/jaxws/proxy/doclitnonwrapped/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/proxy/doclitnonwrapped">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/ProxyDocLitnonWrapped.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/ProxyDocLitnonWrapped"
+								/>
+								<delete dir="target/test-classes/servicejars/ProxyDocLitnonWrapped"/>														
+								
+								<copy toDir="target/test-classes/servicejars/RPCLit/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/proxy/rpclit/**"/>
+										<exclude name="org/apache/axis2/jaxws/proxy/rpclit/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/proxy/rpclit">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/RPCLit.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/RPCLit"
+								/>
+								<delete dir="target/test-classes/servicejars/RPCLit"/>														
+								
+							    <copy toDir="target/test-classes/servicejars/RPCLitSWA/">
+			                        <fileset dir="target/test-classes">
+				                        <include name="org/apache/axis2/jaxws/proxy/rpclitswa/**"/>
+				                        <exclude name="org/apache/axis2/jaxws/proxy/rpclitswa/META-INF/services.xml"/>
+			                        </fileset>
+			                        <fileset dir="test/org/apache/axis2/jaxws/proxy/rpclitswa">
+		                                <include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+			                        </fileset>
+		                       </copy>
+
+								<zip destfile="target/test-classes/servicejars/RPCLitSWA.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/RPCLitSWA"
+								/>
+								<delete dir="target/test-classes/servicejars/RPCLitSWA"/>														
+								
+								<copy toDir="target/test-classes/servicejars/SOAP12EchoService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/proxy/soap12/**"/>
+										<exclude name="org/apache/axis2/jaxws/proxy/soap12/server/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/proxy/soap12/server">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/SOAP12EchoService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/SOAP12EchoService"
+								/>
+								<delete dir="target/test-classes/servicejars/SOAP12EchoService"/>														
+								
+								<copy toDir="target/test-classes/services/BookStoreService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/client/soapaction/**"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/client/soapaction/server">
+										<include name="META-INF/**"/>
+									</fileset>
+								</copy>
+
+								<copy toDir="target/test-classes/servicejars/gorilla_dlw/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/proxy/gorilla_dlw/**"/>
+										<exclude name="org/apache/axis2/jaxws/proxy/gorilla_dlw/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/proxy/gorilla_dlw">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+								
+								<zip destfile="target/test-classes/servicejars/gorilla_dlw.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/gorilla_dlw"
+								/>
+								<delete dir="target/test-classes/servicejars/gorilla_dlw"/>								
+								
+								<!-- ================================================================ -->
+								<!--- XML HTTP Tests -->
+								<!-- ================================================================ -->
+								<copy toDir="target/test-classes/servicejars/XPayloadStringProvider/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/xmlhttp/provider/payload/string/*.class"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/xmlhttp/provider/payload/string">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/XPayloadStringProvider.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/XPayloadStringProvider"
+								/>
+								<delete dir="target/test-classes/servicejars/XPayloadStringProvider"/>
+
+								<copy toDir="target/test-classes/servicejars/XMessageStringProvider/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/xmlhttp/provider/message/string/*.class"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/xmlhttp/provider/message/string">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/XMessageStringProvider.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/XMessageStringProvider"
+								/>
+								<delete dir="target/test-classes/servicejars/XMessageStringProvider"/>
+
+								<copy toDir="target/test-classes/servicejars/XPayloadSourceProvider/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/xmlhttp/provider/payload/source/*.class"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/xmlhttp/provider/payload/source">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/XPayloadSourceProvider.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/XPayloadSourceProvider"
+								/>
+								<delete dir="target/test-classes/servicejars/XPayloadSourceProvider"/>
+
+								<copy toDir="target/test-classes/servicejars/XMessageSourceProvider/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/xmlhttp/provider/message/source/*.class"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/xmlhttp/provider/message/source">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/XMessageSourceProvider.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/XMessageSourceProvider"
+								/>
+								<delete dir="target/test-classes/servicejars/XMessageSourceProvider"/>
+
+								<copy toDir="target/test-classes/servicejars/XMessageDataSourceProvider/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/xmlhttp/provider/message/datasource/*.class"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/xmlhttp/provider/message/datasource">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/XMessageDataSourceProvider.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/XMessageDataSourceProvider"
+								/>
+								<delete dir="target/test-classes/servicejars/XMessageDataSourceProvider"/>
+	
+								<!-- ================================================================ -->
+								<!--- Java Bean Endpoint Samples -->
+								<!-- ================================================================ -->
+								<copy toDir="target/test-classes/servicejars/AddressBookService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/sample/addressbook/**"/>
+										<exclude name="org/apache/axis2/jaxws/sample/addressbook/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/addressbook">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+								<zip destfile="target/test-classes/servicejars/AddressBookService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/AddressBookService"
+								/>
+								<delete dir="target/test-classes/servicejars/AddressBookService"/>
+								
+								<copy toDir="target/test-classes/servicejars/MtomSampleService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/sample/mtom/**"/>
+										<exclude name="org/apache/axis2/jaxws/sample/mtom/META-INF/services.xml"/>
+									</fileset>
+
+									<fileset dir="test/org/apache/axis2/jaxws/sample/mtom">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+
+								</copy>
+								<zip destfile="target/test-classes/servicejars/MtomSampleService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/MtomSampleService"
+								/>
+								<delete dir="target/test-classes/servicejars/MtomSampleService"/>								
+								<copy toDir="target/test-classes/servicejars/DocLitNonWrapService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/sample/nonwrap/**"/>
+										<exclude name="org/apache/axis2/jaxws/sample/nonwrap/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/nonwrap">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+								<zip destfile="target/test-classes/servicejars/DocLitNonWrapService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/DocLitNonWrapService"
+								/>
+								<delete dir="target/test-classes/servicejars/DocLitNonWrapService"/>								
+								<copy toDir="target/test-classes/servicejars/DocLitWrapService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/sample/wrap/**"/>
+										<exclude name="org/apache/axis2/jaxws/sample/wrap/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/wrap">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+								<zip destfile="target/test-classes/servicejars/DocLitWrapService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/DocLitWrapService"
+								/>
+								<delete dir="target/test-classes/servicejars/DocLitWrapService"/>
+								<copy toDir="target/test-classes/servicejars/AddNumbersService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/sample/addnumbers/**"/>
+										<exclude name="org/apache/axis2/jaxws/sample/addnumbers/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/addnumbers">
+										<include name="META-INF/**"/>
+										<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+								<zip destfile="target/test-classes/servicejars/AddNumbersService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/AddNumbersService"
+								/>
+								<delete dir="target/test-classes/servicejars/AddNumbersService"/>
+								<copy toDir="target/test-classes/servicejars/AddNumbersHandlerService/">
+									<fileset dir="target/test-classes">
+									   <include name="org/apache/axis2/jaxws/sample/addnumbershandler/**"/>
+									   <exclude name="org/apache/axis2/jaxws/sample/addnumbershandler/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/addnumbershandler">
+									   <include name="META-INF/**"/>
+									   <exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+								<zip destfile="target/test-classes/servicejars/AddNumbersHandlerService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/AddNumbersHandlerService"
+								/>
+								<delete dir="target/test-classes/servicejars/AddNumbersHandlerService"/>
+								<copy toDir="target/test-classes/servicejars/GreeterService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/sample/dlwmin/**"/>
+										<exclude name="org/apache/axis2/jaxws/sample/dlwmin/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/dlwmin">
+										<include name="META-INF/**"/>
+									   	<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/GreeterService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/GreeterService"
+								/>
+								<delete dir="target/test-classes/servicejars/GreeterService"/>								
+
+								<copy toDir="target/test-classes/servicejars/AsyncService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/sample/parallelasync/**"/>
+										<exclude name="org/apache/axis2/jaxws/sample/parallelasync/server/META-INF/services.xml"/>	
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/parallelasync/server">
+										<include name="META-INF/**"/>
+									   	<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/AsyncService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/AsyncService"
+								/>
+								<delete dir="target/test-classes/servicejars/AsyncService"/>								
+
+								<copy toDir="target/test-classes/servicejars/FaultyWebServiceService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/sample/faults/**"/>
+										<exclude name="org/apache/axis2/jaxws/sample/faults/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/faults">
+										<include name="META-INF/**"/>
+									   	<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/FaultyWebServiceService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/FaultyWebServiceService"
+								/>
+								<delete dir="target/test-classes/servicejars/FaultyWebServiceService"/>								
+
+								<copy toDir="target/test-classes/servicejars/FaultsService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/sample/faultsservice/**"/>
+										<exclude name="org/apache/axis2/jaxws/sample/faultsservice/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/faultsservice">
+										<include name="META-INF/**"/>
+									   	<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/FaultsService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/FaultsService"
+								/>
+								<delete dir="target/test-classes/servicejars/FaultsService"/>								
+
+								<copy toDir="target/test-classes/servicejars/BareDocLitService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/sample/doclitbare/**"/>
+										<exclude name="org/apache/axis2/jaxws/sample/doclitbare/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/doclitbare">
+										<include name="META-INF/**"/>
+									   	<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/BareDocLitService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/BareDocLitService"
+								/>
+								<delete dir="target/test-classes/servicejars/BareDocLitService"/>								
+
+								<copy toDir="target/test-classes/servicejars/EchoMessageService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/nonanonymous/complextype/**"/>
+										<exclude name="org/apache/axis2/jaxws/nonanonymous/complextype/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/nonanonymous/complextype">
+										<include name="META-INF/**"/>
+									   	<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/EchoMessageService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/EchoMessageService"
+								/>
+								<delete dir="target/test-classes/servicejars/EchoMessageService"/>								
+
+								<copy toDir="target/test-classes/servicejars/ResourceInjectionService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/resourceinjection/**"/>
+										<exclude  name="org/apache/axis2/jaxws/resourceinjection/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/resourceinjection">
+										<include name="META-INF/**"/>
+									   	<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/ResourceInjectionService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/ResourceInjectionService"
+								/>
+								<delete dir="target/test-classes/servicejars/ResourceInjectionService"/>								
+
+								<copy toDir="target/test-classes/servicejars/AnyTypeMessageService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/anytype/**"/>
+										<exclude name="org/apache/axis2/jaxws/anytype/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/anytype">
+										<include name="META-INF/**"/>
+									   	<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/AnyTypeMessageService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/AnyTypeMessageService"
+								/>
+								<delete dir="target/test-classes/servicejars/AnyTypeMessageService"/>								
+
+								<copy toDir="target/test-classes/servicejars/PolymorphicShapeService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/polymorphic/shape/**"/>
+										<exclude name="org/apache/axis2/jaxws/polymorphic/shape/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/polymorphic/shape">
+										<include name="META-INF/**"/>
+									   	<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/PolymorphicShapeService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/PolymorphicShapeService"
+								/>
+								<delete dir="target/test-classes/servicejars/PolymorphicShapeService"/>								
+
+								<copy toDir="target/test-classes/servicejars/RPCLitEnumService/">
+									<fileset dir="target/test-classes">
+										<include name="org/apache/axis2/jaxws/rpclit/enumtype/**"/>
+										<exclude name="org/apache/axis2/jaxws/rpclit/enumtype/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/rpclit/enumtype">
+										<include name="META-INF/**"/>
+									   	<exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>
+
+								<zip destfile="target/test-classes/servicejars/RPCLitEnumService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/RPCLitEnumService"
+								/>
+								<delete dir="target/test-classes/servicejars/RPCLitEnumService"/>								
+
+								<copy toDir="target/test-classes/servicejars/RPCLitStringArrayService/">
+									<fileset dir="target/test-classes">
+									   <include name="org/apache/axis2/jaxws/rpclit/stringarray/**"/>
+									   <exclude name="org/apache/axis2/jaxws/rpclit/stringarray/META-INF/services.xml"/>
+									   <include name="org/test/rpclit/stringarray/**"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/rpclit/stringarray/">
+									   <include name="META-INF/**"/>
+									   <exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>	
+
+								<zip destfile="target/test-classes/servicejars/RPCLitStringArrayService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/RPCLitStringArrayService"
+								/>
+								<delete dir="target/test-classes/servicejars/RPCLitStringArrayService"/>								
+								<copy toDir="target/test-classes/">
+									<fileset dir="test-resources/">
+										<include name="**/*.properties"/>
+										<include name="**/axis2.xml"/>
+									</fileset>
+								</copy>
+							</tasks>
+						</configuration>
+						<goals>
+							<goal>run</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>add-test-source</id>
+						<phase>process-test-resources</phase>
+						<goals>
+							<goal>add-test-source</goal>
+						</goals>
+						<configuration>
+							<sources>
+								<source>${basedir}/target/schema/src</source>
+							</sources>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<artifactId>maven-surefire-plugin</artifactId>
+				<inherited>true</inherited>
+				<configuration>
+					<skip>false</skip>
+					<forkMode>once</forkMode>
+					<argLine>-Xms256m -Xmx512m</argLine>
+					<!-- Enable the next 2 lines if you want to attach a debugger
+                    <argLine>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006</argLine>-->
+					<includes>
+						<include>**/*Test.java</include>
+					</includes>
+					<systemProperties>
+						<property>
+							<name>OASISCatalogManager.catalog.debug.level</name>
+							<value>9999</value>
+						</property>
+						<property>
+							<name>build.repository</name>
+							<value>./target/test-classes</value>
+						</property>
+						<property>
+							<name>javax.xml.soap.MessageFactory</name>
+							<value>org.apache.axis2.saaj.MessageFactoryImpl</value>
+						</property>
+						<property>
+							<name>javax.xml.soap.SOAPFactory</name>
+							<value>org.apache.axis2.saaj.SOAPFactoryImpl</value>
+						</property>
+						<property>
+							<name>javax.xml.soap.SOAPConnectionFactory</name>
+							<value>org.apache.axis2.saaj.SOAPConnectionFactoryImpl</value>
+						</property>
+						<property>
+							<name>javax.xml.soap.MetaFactory</name>
+							<value>org.apache.axis2.saaj.SAAJMetaFactoryImpl</value>
+						</property>
+                        <!-- Need this for the client side to pickup an axis2.xml to configure SoapMessageMUProviderChecker -->
+						<property>
+						    <name>org.apache.axis2.jaxws.config.path</name>
+						    <value>./target/test-classes/axis2.xml</value>
+						</property>
+					</systemProperties>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+	<reporting>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-surefire-report-plugin</artifactId>
+			</plugin>
+		</plugins>
+	</reporting>
+</project>

Added: webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/TestLogger.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/TestLogger.java?rev=633234&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/TestLogger.java (added)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/TestLogger.java Mon Mar  3 10:47:38 2008
@@ -0,0 +1,27 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axis2.jaxws;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+public class TestLogger {
+    // Just a placeholder for this shared logger object
+    public static Log logger = LogFactory.getLog("JAXWS-Tests");
+}

Added: webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/addressing/util/EndpointReferenceUtilsTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/addressing/util/EndpointReferenceUtilsTests.java?rev=633234&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/addressing/util/EndpointReferenceUtilsTests.java (added)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/addressing/util/EndpointReferenceUtilsTests.java Mon Mar  3 10:47:38 2008
@@ -0,0 +1,201 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *      
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axis2.jaxws.addressing.util;
+
+import java.io.StringReader;
+
+import javax.xml.namespace.QName;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.stream.XMLInputFactory;
+import javax.xml.stream.XMLStreamReader;
+import javax.xml.transform.Source;
+import javax.xml.transform.dom.DOMSource;
+import javax.xml.ws.wsaddressing.W3CEndpointReference;
+
+import org.apache.axiom.om.OMAbstractFactory;
+import org.apache.axiom.om.OMElement;
+import org.apache.axiom.om.OMFactory;
+import org.apache.axiom.om.impl.builder.StAXOMBuilder;
+import org.apache.axis2.addressing.EndpointReference;
+import org.apache.axis2.addressing.EndpointReferenceHelper;
+import org.apache.axis2.addressing.AddressingConstants.Final;
+import org.apache.axis2.addressing.AddressingConstants.Submission;
+import org.apache.axis2.jaxws.addressing.SubmissionEndpointReference;
+import org.apache.axis2.jaxws.addressing.util.EndpointReferenceUtils;
+import org.custommonkey.xmlunit.XMLTestCase;
+import org.w3c.dom.Document;
+import org.xml.sax.InputSource;
+
+/**
+ * This class tests the enpoint reference classes used in the JAX-WS 2.1 API.
+ */
+public class EndpointReferenceUtilsTests extends XMLTestCase {
+    private static final OMFactory OMF = OMAbstractFactory.getOMFactory();
+    private static final QName ELEMENT200508 =
+        new QName(Final.WSA_NAMESPACE, "EndpointReference", "wsa");
+    private static final QName ELEMENT200408 =
+        new QName(Submission.WSA_NAMESPACE, "EndpointReference", "wsa");
+    
+    private static final String EPR200508 =
+    "<wsa:EndpointReference xmlns:axis2=\"http://ws.apache.org/namespaces/axis2\" xmlns:wsa=\"http://www.w3.org/2005/08/addressing\" axis2:AttrExt=\"123456789\">"+
+        "<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>"+
+        "<wsa:ReferenceParameters xmlns:fabrikam=\"http://example.com/fabrikam\">"+
+            "<fabrikam:CustomerKey>123456789</fabrikam:CustomerKey>"+
+            "<fabrikam:ShoppingCart>ABCDEFG</fabrikam:ShoppingCart>"+
+        "</wsa:ReferenceParameters>"+
+        "<wsa:Metadata>"+
+            "<axis2:MetaExt axis2:AttrExt=\"123456789\">123456789</axis2:MetaExt>"+
+        "</wsa:Metadata>"+
+        "<axis2:EPRExt axis2:AttrExt=\"123456789\">123456789</axis2:EPRExt>"+
+    "</wsa:EndpointReference>";
+    
+    private static final String EPR200408 =
+    "<wsa:EndpointReference xmlns:axis2=\"http://ws.apache.org/namespaces/axis2\" xmlns:wsa=\"http://schemas.xmlsoap.org/ws/2004/08/addressing\" axis2:AttrExt=\"123456789\">"+
+        "<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/anonymous</wsa:Address>"+
+        "<wsa:ReferenceParameters xmlns:fabrikam=\"http://example.com/fabrikam\">"+
+            "<fabrikam:CustomerKey>123456789</fabrikam:CustomerKey>"+
+            "<fabrikam:ShoppingCart>ABCDEFG</fabrikam:ShoppingCart>"+
+        "</wsa:ReferenceParameters>"+
+        "<wsa:PortType>axis2:Jane</wsa:PortType>"+
+        "<wsa:ServiceName PortName=\"Fred\">axis2:John</wsa:ServiceName>"+
+        "<axis2:EPRExt axis2:AttrExt=\"123456789\">123456789</axis2:EPRExt>"+
+    "</wsa:EndpointReference>";
+    
+    public EndpointReferenceUtilsTests(String name) {
+        super(name);
+    }
+    
+    public void test200508ConversionStartingFromAxis2() throws Exception {
+        XMLStreamReader parser =
+            XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(EPR200508));
+        StAXOMBuilder builder = new StAXOMBuilder(parser);
+        OMElement omElement = builder.getDocumentElement();
+        
+        EndpointReference axis2EPR =
+            EndpointReferenceHelper.fromOM(omElement);
+        W3CEndpointReference jaxwsEPR =
+            (W3CEndpointReference) EndpointReferenceUtils.convertFromAxis2(axis2EPR, Final.WSA_NAMESPACE);
+        assertXMLEqual(EPR200508, jaxwsEPR.toString());
+     
+        EndpointReference axis2Result =
+            EndpointReferenceUtils.createAxis2EndpointReference("");
+        String addressingNamespace = EndpointReferenceUtils.convertToAxis2(axis2Result, jaxwsEPR);
+        OMElement eprElement =
+            EndpointReferenceHelper.toOM(OMF, axis2Result, ELEMENT200508, addressingNamespace);
+        assertXMLEqual(EPR200508, eprElement.toString());
+    }
+    
+// FIXME: Breaks in JDK1.6 as it picks up W3CEndpointReference class from the JDK    
+//    public void test200508ConversionStartingFromJAXWS() throws Exception {
+//        DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance();
+//        dbfac.setNamespaceAware(true);
+//        DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
+//        Document jaxwsDoc = docBuilder.parse(new InputSource(new StringReader(EPR200508)));
+//        Source source = new DOMSource(jaxwsDoc);
+//        
+//        W3CEndpointReference jaxwsEPR = new W3CEndpointReference(source);
+//        EndpointReference axis2EPR =
+//            EndpointReferenceUtils.createAxis2EndpointReference("");
+//        String addressingNamespace = EndpointReferenceUtils.convertToAxis2(axis2EPR, jaxwsEPR);
+//        OMElement eprElement =
+//            EndpointReferenceHelper.toOM(OMF, axis2EPR, ELEMENT200508, addressingNamespace);
+//        assertXMLEqual(EPR200508, eprElement.toString());
+//
+//        W3CEndpointReference jaxwsResult =
+//            (W3CEndpointReference) EndpointReferenceUtils.convertFromAxis2(axis2EPR, Final.WSA_NAMESPACE);
+//        assertXMLEqual(EPR200508, jaxwsResult.toString());
+//    }
+    
+    public void test200408ConversionStartingFromAxis2() throws Exception {
+        XMLStreamReader parser =
+            XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(EPR200408));
+        StAXOMBuilder builder = new StAXOMBuilder(parser);
+        OMElement omElement = builder.getDocumentElement();
+        
+        EndpointReference axis2EPR =
+            EndpointReferenceHelper.fromOM(omElement);
+        SubmissionEndpointReference jaxwsEPR =
+            (SubmissionEndpointReference) EndpointReferenceUtils.convertFromAxis2(axis2EPR, Submission.WSA_NAMESPACE);
+        assertXMLEqual(EPR200408, jaxwsEPR.toString());
+     
+        EndpointReference axis2Result =
+            EndpointReferenceUtils.createAxis2EndpointReference("");
+        String addressingNamespace = EndpointReferenceUtils.convertToAxis2(axis2Result, jaxwsEPR);
+        OMElement eprElement =
+            EndpointReferenceHelper.toOM(OMF, axis2Result, ELEMENT200408, addressingNamespace);
+        assertXMLEqual(EPR200408, eprElement.toString());
+    }
+    
+    public void test200408ConversionStartingFromJAXWS() throws Exception {
+        DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance();
+        dbfac.setNamespaceAware(true);
+        DocumentBuilder docBuilder = dbfac.newDocumentBuilder();
+        Document jaxwsDoc = docBuilder.parse(new InputSource(new StringReader(EPR200408)));
+        Source source = new DOMSource(jaxwsDoc);
+        
+        SubmissionEndpointReference jaxwsEPR = new SubmissionEndpointReference(source);
+        EndpointReference axis2EPR =
+            EndpointReferenceUtils.createAxis2EndpointReference("");
+        String addressingNamespace = EndpointReferenceUtils.convertToAxis2(axis2EPR, jaxwsEPR);
+        OMElement eprElement =
+            EndpointReferenceHelper.toOM(OMF, axis2EPR, ELEMENT200408, addressingNamespace);
+        assertXMLEqual(EPR200408, eprElement.toString());
+
+        SubmissionEndpointReference jaxwsResult =
+            (SubmissionEndpointReference) EndpointReferenceUtils.convertFromAxis2(axis2EPR, Submission.WSA_NAMESPACE);
+        assertXMLEqual(EPR200408, jaxwsResult.toString());
+    }
+    
+    public void testFailures() throws Exception {
+        try {
+            EndpointReferenceUtils.convertFromAxis2((EndpointReference) null, Final.WSA_NAMESPACE);
+            fail("Expected a failure.");
+        }
+        catch (Exception e) {
+            //pass
+        }
+
+        try {
+            EndpointReferenceUtils.convertFromAxis2((EndpointReference) null, Submission.WSA_NAMESPACE);
+            fail("Expected a failure.");
+        }
+        catch (Exception e) {
+            //pass
+        }
+
+        try {
+            EndpointReferenceUtils.convertFromAxis2((EndpointReference) null, null);
+            fail("Expected a failure.");
+        }
+        catch (Exception e) {
+            //pass
+        }
+
+        try {
+            EndpointReference axis2EPR =
+                EndpointReferenceUtils.createAxis2EndpointReference("");
+            EndpointReferenceUtils.convertToAxis2(axis2EPR, null);
+            fail("Expected a failure.");
+        }
+        catch (Exception e) {
+            //pass
+        }
+    }
+}

Added: webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/addressing/util/ReferenceParameterListTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/addressing/util/ReferenceParameterListTests.java?rev=633234&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/addressing/util/ReferenceParameterListTests.java (added)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/addressing/util/ReferenceParameterListTests.java Mon Mar  3 10:47:38 2008
@@ -0,0 +1,76 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *      
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axis2.jaxws.addressing.util;
+
+import java.io.File;
+import java.io.FileReader;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+import javax.xml.stream.XMLStreamReader;
+
+import junit.framework.TestCase;
+
+import org.apache.axiom.om.util.StAXUtils;
+import org.apache.axiom.soap.SOAPEnvelope;
+import org.apache.axiom.soap.SOAPHeader;
+import org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder;
+import org.apache.axis2.jaxws.addressing.util.ReferenceParameterList;
+import org.w3c.dom.Element;
+
+public class ReferenceParameterListTests extends TestCase {
+    private String testResourceDir = System.getProperty("basedir", ".") + "/test-resources";
+    private String resourceFileName = "xml/referenceparameters.xml";
+    private SOAPHeader header;
+
+    public void setUp() throws Exception {
+        File resourceFile = new File(testResourceDir, resourceFileName);
+        XMLStreamReader parser = StAXUtils.createXMLStreamReader(new FileReader(resourceFile));
+        StAXSOAPModelBuilder builder = new StAXSOAPModelBuilder(parser, null);
+        header = ((SOAPEnvelope)builder.getDocumentElement()).getHeader();
+    }
+    
+    public void testReferenceParameterList() throws Exception {
+        List<Element> emptyList = new ReferenceParameterList();
+        assertTrue(emptyList.isEmpty());
+        assertEquals(0, emptyList.size());
+        
+        Set<String>results = new HashSet<String>();
+        results.add("0123456789");
+        results.add("ABCDEFG");
+        results.add("abcdefg");
+        
+        List<Element> rpList = new ReferenceParameterList(header);
+        assertFalse(rpList.isEmpty());
+        assertEquals(results.size(), rpList.size());
+
+        for (Element rp : rpList) {
+            String value = rp.getTextContent();
+            if (results.contains(value)) {
+                results.remove(value);
+            }
+            else {
+                fail("Value not recognized: " + value);
+            }
+        }
+        
+        assertEquals(0, results.size());
+    }
+}

Added: webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/AnyTypeMessagePortTypeImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/AnyTypeMessagePortTypeImpl.java?rev=633234&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/AnyTypeMessagePortTypeImpl.java (added)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/AnyTypeMessagePortTypeImpl.java Mon Mar  3 10:47:38 2008
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axis2.jaxws.anytype;
+
+import javax.jws.WebService;
+
+import org.apache.axis2.jaxws.anytype.sei.AnyTypeMessagePortType;
+
+@WebService(serviceName="AnyTypeMessageService",
+		targetNamespace="http://anytype.test.org",
+		endpointInterface="org.apache.axis2.jaxws.anytype.sei.AnyTypeMessagePortType")
+public class AnyTypeMessagePortTypeImpl implements AnyTypeMessagePortType {
+
+	/* (non-Javadoc)
+	 * @see org.apache.axis2.jaxws.anytype.sei.AnyTypeMessagePortType#echoMessage(java.lang.Object)
+	 */
+	public Object echoMessage(Object request) {
+		Object response = new String("Request Received, This is Response from Server");
+		return response;
+	}
+
+}

Added: webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessagePortType.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessagePortType.java?rev=633234&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessagePortType.java (added)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessagePortType.java Mon Mar  3 10:47:38 2008
@@ -0,0 +1,54 @@
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axis2.jaxws.anytype.sei;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.xml.ws.RequestWrapper;
+import javax.xml.ws.ResponseWrapper;
+
+
+/**
+ * This class was generated by the JAXWS SI.
+ * JAX-WS RI 2.0_01-b15-fcs
+ * Generated source version: 2.0
+ * 
+ */
+@WebService(name = "AnyTypeMessagePortType", targetNamespace = "http://anytype.test.org")
+public interface AnyTypeMessagePortType {
+
+
+    /**
+     * 
+     * @param request
+     * @return
+     *     returns java.lang.Object
+     */
+    @WebMethod
+    @WebResult(name = "response", targetNamespace = "http://anytype.test.org")
+    @RequestWrapper(localName = "echoMessage", targetNamespace = "http://anytype.test.org", className = "org.test.anytype.EchoMessage")
+    @ResponseWrapper(localName = "echoMessageResponse", targetNamespace = "http://anytype.test.org", className = "org.test.anytype.EchoMessageResponse")
+    public Object echoMessage(
+        @WebParam(name = "request", targetNamespace = "http://anytype.test.org")
+        Object request);
+
+}

Added: webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessageService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessageService.java?rev=633234&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessageService.java (added)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/sei/AnyTypeMessageService.java Mon Mar  3 10:47:38 2008
@@ -0,0 +1,80 @@
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axis2.jaxws.anytype.sei;
+
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+
+/**
+ * This class was generated by the JAXWS SI.
+ * JAX-WS RI 2.0_01-b15-fcs
+ * Generated source version: 2.0
+ * 
+ */
+@WebServiceClient(name = "AnyTypeMessageService", targetNamespace = "http://anytype.test.org", wsdlLocation = "AnyType.wsdl")
+public class AnyTypeMessageService
+    extends Service
+{
+
+    private final static URL ANYTYPEMESSAGESERVICE_WSDL_LOCATION;
+
+    private static String wsdlLocation="/test/org/apache/axis2/jaxws/anytype/META-INF/AnyType.wsdl";
+    static {
+        URL url = null;
+        try {
+        	try{
+	        	String baseDir = new File(System.getProperty("basedir",".")).getCanonicalPath();
+	        	wsdlLocation = new File(baseDir + wsdlLocation).getAbsolutePath();
+        	}catch(Exception e){
+        		e.printStackTrace();
+        	}
+        	File file = new File(wsdlLocation);
+        	url = file.toURL();
+        } catch (MalformedURLException e) {
+            e.printStackTrace();
+        }
+        ANYTYPEMESSAGESERVICE_WSDL_LOCATION = url;
+    }
+
+    public AnyTypeMessageService(URL wsdlLocation, QName serviceName) {
+        super(wsdlLocation, serviceName);
+    }
+
+    public AnyTypeMessageService() {
+        super(ANYTYPEMESSAGESERVICE_WSDL_LOCATION, new QName("http://anytype.test.org", "AnyTypeMessageService"));
+    }
+
+    /**
+     * 
+     * @return
+     *     returns AnyTypeMessagePortType
+     */
+    @WebEndpoint(name = "AnyTypePort")
+    public AnyTypeMessagePortType getAnyTypePort() {
+        return (AnyTypeMessagePortType)super.getPort(new QName("http://anytype.test.org", "AnyTypePort"), AnyTypeMessagePortType.class);
+    }
+
+}

Added: webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/tests/AnyTypeTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/tests/AnyTypeTests.java?rev=633234&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/tests/AnyTypeTests.java (added)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/anytype/tests/AnyTypeTests.java Mon Mar  3 10:47:38 2008
@@ -0,0 +1,52 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.axis2.jaxws.anytype.tests;
+
+import javax.xml.ws.BindingProvider;
+
+import junit.framework.TestCase;
+import org.apache.axis2.jaxws.anytype.sei.AnyTypeMessagePortType;
+import org.apache.axis2.jaxws.anytype.sei.AnyTypeMessageService;
+import org.apache.axis2.jaxws.TestLogger;
+
+public class AnyTypeTests extends TestCase {
+    
+	String axisEndpoint = "http://localhost:6060/axis2/services/AnyTypeMessageService.AnyTypeMessagePortTypeImplPort";
+
+	public void testAnyTypeElementinWrappedWSDL(){
+        TestLogger.logger.debug("------------------------------");
+        TestLogger.logger.debug("Test : " + getName());
+		try{
+			AnyTypeMessageService service = new AnyTypeMessageService();
+			AnyTypeMessagePortType portType = service.getAnyTypePort();
+			BindingProvider p = (BindingProvider) portType;
+	        p.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, axisEndpoint);
+
+			String req = new String("Request as String");
+			Object response = portType.echoMessage(req);
+			assertTrue(response instanceof String);
+            TestLogger.logger.debug("Response =" + response);
+			System.out.print("---------------------------------");
+		}catch(Exception e){
+			e.printStackTrace();
+			fail();
+		}
+		
+	}
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message