JBossWS SVN: r6434 - stack/cxf/branches/tdiesler/trunk/ant-import-tests.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-15 06:12:33 -0400 (Tue, 15 Apr 2008)
New Revision: 6434
Modified:
stack/cxf/branches/tdiesler/trunk/ant-import-tests/build-jars-jaxws.xml
Log:
Where to create your tests
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144172#4144172
Modified: stack/cxf/branches/tdiesler/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/cxf/branches/tdiesler/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-15 10:12:29 UTC (rev 6433)
+++ stack/cxf/branches/tdiesler/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-15 10:12:33 UTC (rev 6434)
@@ -9,17 +9,21 @@
<!-- $Id$ -->
<project>
-
+
<description>JBossWS test archive builder</description>
-
- <!-- ================================================================== -->
- <!-- Building -->
- <!-- ================================================================== -->
-
+
+ <!-- ============================================================================== -->
+ <!-- Building -->
+ <!-- -->
+ <!-- Where to create your tests -->
+ <!-- http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144172#4144172 -->
+ <!-- -->
+ <!-- ============================================================================== -->
+
<target name="build-testsuite-jars" description="Build the deployments.">
-
+
<mkdir dir="${tests.output.dir}/libs"/>
-
+
<!-- jaxws-cxf-descriptor -->
<war warfile="${tests.output.dir}/libs/jaxws-cxf-descriptor.war" webxml="${tests.output.dir}/resources/jaxws/cxf/descriptor/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
@@ -29,7 +33,7 @@
<include name="jbossws-cxf.xml"/>
</webinf>
</war>
-
+
<!-- jaxws-cxf-wsrm-basic-doc -->
<war warfile="${tests.output.dir}/libs/jaxws-cxf-wsrm-basic-doc.war" webxml="${tests.output.dir}/resources/jaxws/cxf/wsrm/basic-doc/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
@@ -40,7 +44,7 @@
<include name="jbossws-cxf.xml"/>
</webinf>
</war>
-
+
<!-- jaxws-cxf-wsrm-basic-rpc -->
<war warfile="${tests.output.dir}/libs/jaxws-cxf-wsrm-basic-rpc.war" webxml="${tests.output.dir}/resources/jaxws/cxf/wsrm/basic-rpc/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
@@ -51,9 +55,9 @@
<include name="jbossws-cxf.xml"/>
</webinf>
</war>
-
+
<!-- Please add alphabetically -->
-
+
</target>
-
+
</project>
16 years, 9 months
JBossWS SVN: r6433 - stack/native/trunk/ant-import-tests.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-15 06:12:29 -0400 (Tue, 15 Apr 2008)
New Revision: 6433
Modified:
stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
Log:
Where to create your tests
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144172#4144172
Modified: stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-15 10:12:25 UTC (rev 6432)
+++ stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-15 10:12:29 UTC (rev 6433)
@@ -32,7 +32,7 @@
</classes>
<webinf dir="${tests.output.dir}/resources/benchmark/jaxws/doclit/WEB-INF">
<include name="wsdl/**"/>
- </webinf>
+ </webinf>
</war>
<war warfile="${tests.output.dir}/libs/ri-benchmark-doclit.war" webxml="${tests.output.dir}/resources/benchmark/jaxws/doclit/ri/WEB-INF/web.xml">
@@ -47,20 +47,20 @@
<include name="sun-jaxws.xml"/>
</webinf>
</war>
-
- <!-- esb adoption -->
- <jar jarfile="${tests.output.dir}/libs/jaxws-benchmark-doclit.esb">
- <metainf dir="${tests.output.dir}/resources/benchmark/jaxws/esb/META-INF">
- <include name="*.xml"/>
- </metainf>
- <fileset dir="${tests.output.dir}/libs">
- <include name="jaxws-benchmark-doclit.war"/>
- </fileset>
- <fileset dir="${tests.output.dir}/resources/benchmark/jaxws/esb">
- <include name="*.xml"/>
- </fileset>
- </jar>
+ <!-- esb adoption -->
+ <jar jarfile="${tests.output.dir}/libs/jaxws-benchmark-doclit.esb">
+ <metainf dir="${tests.output.dir}/resources/benchmark/jaxws/esb/META-INF">
+ <include name="*.xml"/>
+ </metainf>
+ <fileset dir="${tests.output.dir}/libs">
+ <include name="jaxws-benchmark-doclit.war"/>
+ </fileset>
+ <fileset dir="${tests.output.dir}/resources/benchmark/jaxws/esb">
+ <include name="*.xml"/>
+ </fileset>
+ </jar>
+
<!-- jaxws-epr -->
<jar destfile="${tests.output.dir}/libs/jaxws-epr.jar">
<fileset dir="${tests.output.dir}/classes">
@@ -175,7 +175,7 @@
<metainf dir="${tests.output.dir}/resources/jaxws/jbws1809/META-INF"/>
</jar>
- <!-- jaxws-jbws1814 -->
+ <!-- jaxws-jbws1814 -->
<war warfile="${tests.output.dir}/libs/jaxws-jbws1814.war" webxml="${tests.output.dir}/resources/jaxws/jbws1814/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
<include name="org/jboss/test/ws/jaxws/jbws1814/HelloJavaBean.class"/>
@@ -185,22 +185,22 @@
</webinf>
</war>
- <!-- jaxws-jbws1850 -->
+ <!-- jaxws-jbws1850 -->
<jar destfile="${tests.output.dir}/libs/jaxws-jbws1850.jar">
<fileset dir="${tests.output.dir}/classes">
<include name="org/jboss/test/ws/jaxws/jbws1850/TestServiceImpl.class"/>
</fileset>
</jar>
- <!-- jaxws-jbws1909 -->
+ <!-- jaxws-jbws1909 -->
<jar destfile="${tests.output.dir}/libs/jaxws-jbws1909.jar">
<fileset dir="${tests.output.dir}/classes">
<include name="org/jboss/test/ws/jaxws/jbws1909/*.class"/>
- <exclude name="org/jboss/test/ws/jaxws/jbws1909/*TestCase.class"/>
+ <exclude name="org/jboss/test/ws/jaxws/jbws1909/*TestCase.class"/>
</fileset>
</jar>
-
- <!-- jaxws-jbws1988 -->
+
+ <!-- jaxws-jbws1988 -->
<jar destfile="${tests.output.dir}/libs/jaxws-jbws1988.jar">
<fileset dir="${tests.output.dir}/classes">
<include name="org/jboss/test/ws/jaxws/jbws1988/*.class"/>
@@ -208,7 +208,7 @@
</fileset>
<metainf dir="${tests.output.dir}/resources/jaxws/jbws1988/META-INF">
<include name="jboss-wsse-server.xml"/>
- <include name="jboss.xml"/>
+ <include name="jboss.xml"/>
</metainf>
</jar>
<jar jarfile="${tests.output.dir}/libs/jaxws-jbws1988.sar">
@@ -219,19 +219,19 @@
<include name="jbossws-roles.properties"/>
</metainf>
</jar>
-
- <!-- jaxws-jbws1991 -->
- <jar destfile="${tests.output.dir}/libs/jaxws-jbws1991.jar">
+
+ <!-- jaxws-jbws1991 -->
+ <jar destfile="${tests.output.dir}/libs/jaxws-jbws1991.jar">
<fileset dir="${tests.output.dir}/classes">
<include name="org/jboss/test/ws/jaxws/jbws1991/*.class"/>
<exclude name="org/jboss/test/ws/jaxws/jbws1991/*TestCase.class"/>
</fileset>
<metainf dir="${tests.output.dir}/resources/jaxws/jbws1991/META-INF">
<include name="jboss-wsse-server.xml"/>
- <include name="jboss.xml"/>
+ <include name="jboss.xml"/>
</metainf>
</jar>
-
+
<!-- jaxws-webserviceref -->
<war warfile="${tests.output.dir}/libs/jaxws-webserviceref.war" webxml="${tests.output.dir}/resources/jaxws/webserviceref/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
@@ -438,8 +438,7 @@
</war>
<!-- jaxws-wsrm -->
- <war warfile="${tests.output.dir}/libs/jaxws-wsrm.war"
- webxml="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/unsecure/web.xml">
+ <war warfile="${tests.output.dir}/libs/jaxws-wsrm.war" webxml="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/unsecure/web.xml">
<classes dir="${tests.output.dir}/classes">
<include name="org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceIface.class"/>
<include name="org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceImpl.class"/>
@@ -449,16 +448,11 @@
<webinf dir="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF">
<include name="wsrm-jaxws-endpoint-config.xml"/>
</webinf>
- <zipfileset
- dir="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl"
- prefix="WEB-INF/wsdl"/>
- <zipfileset
- file="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/unsecure/standard-jaxws-endpoint-config.xml"
- prefix="META-INF"/>
+ <zipfileset dir="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl" prefix="WEB-INF/wsdl"/>
+ <zipfileset file="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/unsecure/standard-jaxws-endpoint-config.xml" prefix="META-INF"/>
</war>
-
- <war warfile="${tests.output.dir}/libs/jaxws-secured-wsrm.war"
- webxml="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/secure/web.xml">
+
+ <war warfile="${tests.output.dir}/libs/jaxws-secured-wsrm.war" webxml="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/secure/web.xml">
<classes dir="${tests.output.dir}/classes">
<include name="org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceIface.class"/>
<include name="org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceImpl.class"/>
@@ -475,20 +469,16 @@
<include name="wsse.keystore"/>
<include name="wsse.truststore"/>
</webinf>
- <zipfileset
- dir="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/secure/wsdl"
- prefix="WEB-INF/wsdl"/>
- <zipfileset
- file="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/secure/standard-jaxws-endpoint-config.xml"
- prefix="META-INF"/>
+ <zipfileset dir="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/secure/wsdl" prefix="WEB-INF/wsdl"/>
+ <zipfileset file="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/secure/standard-jaxws-endpoint-config.xml" prefix="META-INF"/>
</war>
-
+
<jar jarfile="${tests.output.dir}/libs/jaxws-wsrm-client.jar">
<metainf dir="${tests.output.dir}/resources/jaxws/wsrm/META-INF">
<include name="wsrm-jaxws-client-config.xml"/>
</metainf>
</jar>
-
+
<jar jarfile="${tests.output.dir}/libs/jaxws-secured-wsrm-client.jar">
<metainf dir="${tests.output.dir}/resources/jaxws/wsrm/META-INF">
<include name="wsrm-jaxws-client-config.xml"/>
@@ -497,7 +487,7 @@
<include name="jboss-wsse-client.xml"/>
</metainf>
</jar>
-
+
<!-- Please add alphabetically -->
</target>
16 years, 9 months
JBossWS SVN: r6432 - stack/metro/trunk/ant-import-tests.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-15 06:12:25 -0400 (Tue, 15 Apr 2008)
New Revision: 6432
Modified:
stack/metro/trunk/ant-import-tests/build-jars-jaxws.xml
Log:
Where to create your tests
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144172#4144172
Modified: stack/metro/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/metro/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-15 10:05:42 UTC (rev 6431)
+++ stack/metro/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-15 10:12:25 UTC (rev 6432)
@@ -9,69 +9,67 @@
<!-- $Id$ -->
<project>
-
- <description>JBossWS test archive builder</description>
-
- <!-- ================================================================== -->
- <!-- Building -->
- <!-- ================================================================== -->
-
- <target name="build-jars-jaxws" description="Build the deployments.">
-
- <mkdir dir="${tests.output.dir}/libs"/>
-
- <!-- jbws1869 -->
- <war warfile="${tests.output.dir}/libs/jaxws-jbws1869.war"
- webxml="${tests.output.dir}/resources/jaxws/jbws1869/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/classes">
- <include name="org/jboss/test/ws/jaxws/jbws1869/**/*"/>
- </classes>
- <webinf dir="${tests.output.dir}/resources/jaxws/jbws1869/WEB-INF">
- <include name="**/*"/>
- </webinf>
- </war>
-
- <!-- jbws1871 -->
- <war warfile="${tests.output.dir}/libs/jaxws-jbws1871.war"
- webxml="${tests.output.dir}/resources/jaxws/jbws1871/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/classes">
- <include name="org/jboss/test/ws/jaxws/jbws1871/**/*"/>
- </classes>
- <webinf dir="${tests.output.dir}/resources/jaxws/jbws1871/WEB-INF">
- <include name="**/*"/>
- </webinf>
- </war>
-
- <!-- wsit-rm -->
- <war warfile="${tests.output.dir}/libs/wsit-rm.war" webxml="${tests.output.dir}/resources/wsit/rm/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/classes">
- <include name="org/jboss/test/ws/wsit/rm/CalculatorWSImpl.class"/>
- <include name="org/jboss/test/ws/wsit/rm/CalculatorWS.class"/>
- <include name="org/jboss/test/ws/wsit/rm/Add.class"/>
- <include name="org/jboss/test/ws/wsit/rm/AddResponse.class"/>
- </classes>
- <webinf dir="${tests.output.dir}/resources/wsit/rm/WEB-INF">
- <include name="sun-web.xml"/>
- <include name="web.xml"/>
- <include name="wsit-org.jboss.test.ws.wsit.rm.CalculatorWSImpl.xml"/>
- </webinf>
- </war>
-
- <!-- jaxws-samples-wsrm -->
- <war
- warfile="${tests.output.dir}/libs/jaxws-samples-wsrm.war"
- webxml="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/classes">
- <include name="org/jboss/test/ws/jaxws/samples/wsrm/service/**"/>
- </classes>
- <webinf dir="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF">
- <include name="wsit-*.xml"/>
- </webinf>
- <zipfileset
- dir="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF/wsdl"
- prefix="WEB-INF/wsdl"/>
- </war>
-
- </target>
-
+
+ <description>JBossWS test archive builder</description>
+
+ <!-- ============================================================================== -->
+ <!-- Building -->
+ <!-- -->
+ <!-- Where to create your tests -->
+ <!-- http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144172#4144172 -->
+ <!-- -->
+ <!-- ============================================================================== -->
+
+ <target name="build-jars-jaxws" description="Build the deployments.">
+
+ <mkdir dir="${tests.output.dir}/libs"/>
+
+ <!-- jbws1869 -->
+ <war warfile="${tests.output.dir}/libs/jaxws-jbws1869.war" webxml="${tests.output.dir}/resources/jaxws/jbws1869/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1869/**/*"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/resources/jaxws/jbws1869/WEB-INF">
+ <include name="**/*"/>
+ </webinf>
+ </war>
+
+ <!-- jbws1871 -->
+ <war warfile="${tests.output.dir}/libs/jaxws-jbws1871.war" webxml="${tests.output.dir}/resources/jaxws/jbws1871/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1871/**/*"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/resources/jaxws/jbws1871/WEB-INF">
+ <include name="**/*"/>
+ </webinf>
+ </war>
+
+ <!-- wsit-rm -->
+ <war warfile="${tests.output.dir}/libs/wsit-rm.war" webxml="${tests.output.dir}/resources/wsit/rm/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/wsit/rm/CalculatorWSImpl.class"/>
+ <include name="org/jboss/test/ws/wsit/rm/CalculatorWS.class"/>
+ <include name="org/jboss/test/ws/wsit/rm/Add.class"/>
+ <include name="org/jboss/test/ws/wsit/rm/AddResponse.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/resources/wsit/rm/WEB-INF">
+ <include name="sun-web.xml"/>
+ <include name="web.xml"/>
+ <include name="wsit-org.jboss.test.ws.wsit.rm.CalculatorWSImpl.xml"/>
+ </webinf>
+ </war>
+
+ <!-- jaxws-samples-wsrm -->
+ <war warfile="${tests.output.dir}/libs/jaxws-samples-wsrm.war" webxml="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/samples/wsrm/service/**"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF">
+ <include name="wsit-*.xml"/>
+ </webinf>
+ <zipfileset dir="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF/wsdl" prefix="WEB-INF/wsdl"/>
+ </war>
+
+ </target>
+
</project>
16 years, 9 months
JBossWS SVN: r6431 - stack/native/trunk/ant-import-tests.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-15 06:05:42 -0400 (Tue, 15 Apr 2008)
New Revision: 6431
Modified:
stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
Log:
<!-- Where to create your tests -->
<!-- http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144172#4144172 -->
Modified: stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-15 10:03:46 UTC (rev 6430)
+++ stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-15 10:05:42 UTC (rev 6431)
@@ -12,9 +12,13 @@
<description>JBossWS test archive builder</description>
- <!-- ================================================================== -->
- <!-- Building -->
- <!-- ================================================================== -->
+ <!-- ============================================================================== -->
+ <!-- Building -->
+ <!-- -->
+ <!-- Where to create your tests -->
+ <!-- http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144172#4144172 -->
+ <!-- -->
+ <!-- ============================================================================== -->
<target name="build-jars-jaxws" description="Build the deployments.">
16 years, 9 months
JBossWS SVN: r6430 - stack/native/trunk/ant-import-tests.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-04-15 06:03:46 -0400 (Tue, 15 Apr 2008)
New Revision: 6430
Modified:
stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
stack/native/trunk/ant-import-tests/build-samples-jaxws.xml
Log:
[JBWS-2097] refactoring
Modified: stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-14 18:43:20 UTC (rev 6429)
+++ stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-15 10:03:46 UTC (rev 6430)
@@ -494,27 +494,6 @@
</metainf>
</jar>
- <!-- jaxws-samples-wsrm -->
- <war
- warfile="${tests.output.dir}/libs/jaxws-samples-wsrm.war"
- webxml="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/classes">
- <include name="org/jboss/test/ws/jaxws/samples/wsrm/service/**"/>
- </classes>
- <zipfileset
- dir="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF/wsdl"
- prefix="WEB-INF/wsdl"/>
- <zipfileset
- file="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF/wsrm-jaxws-endpoint-config.xml"
- prefix="META-INF"/>
- </war>
-
- <jar jarfile="${tests.output.dir}/libs/jaxws-samples-wsrm-client.jar">
- <metainf dir="${tests.output.dir}/resources/jaxws/samples/wsrm/META-INF">
- <include name="wsrm-jaxws-client-config.xml"/>
- </metainf>
- </jar>
-
<!-- Please add alphabetically -->
</target>
Modified: stack/native/trunk/ant-import-tests/build-samples-jaxws.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-samples-jaxws.xml 2008-04-14 18:43:20 UTC (rev 6429)
+++ stack/native/trunk/ant-import-tests/build-samples-jaxws.xml 2008-04-15 10:03:46 UTC (rev 6430)
@@ -227,6 +227,27 @@
</fileset>
</jar>
+ <!-- jaxws-samples-wsrm -->
+ <war
+ warfile="${tests.output.dir}/libs/jaxws-samples-wsrm.war"
+ webxml="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/samples/wsrm/service/**"/>
+ </classes>
+ <zipfileset
+ dir="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF/wsdl"
+ prefix="WEB-INF/wsdl"/>
+ <zipfileset
+ file="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF/wsrm-jaxws-endpoint-config.xml"
+ prefix="META-INF"/>
+ </war>
+
+ <jar jarfile="${tests.output.dir}/libs/jaxws-samples-wsrm-client.jar">
+ <metainf dir="${tests.output.dir}/resources/jaxws/samples/wsrm/META-INF">
+ <include name="wsrm-jaxws-client-config.xml"/>
+ </metainf>
+ </jar>
+
<!-- jaxws-samples-wssecurity-encrypt -->
<war warfile="${tests.output.dir}/libs/jaxws-samples-wssecurity-encrypt.war" webxml="${tests.output.dir}/resources/jaxws/samples/wssecurity/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/classes">
16 years, 9 months
JBossWS SVN: r6429 - in stack/native/trunk: src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/client and 5 other directories.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-04-14 14:43:20 -0400 (Mon, 14 Apr 2008)
New Revision: 6429
Added:
stack/native/trunk/src/test/resources/jaxws/samples/wsrm/META-INF/
stack/native/trunk/src/test/resources/jaxws/samples/wsrm/META-INF/wsrm-jaxws-client-config.xml
stack/native/trunk/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsrm-jaxws-endpoint-config.xml
Modified:
stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/client/SimpleServiceTestCase.java
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/SimpleServiceImpl.java
stack/native/trunk/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsdl/SimpleService.wsdl
Log:
[JBWS-2097][JBWS-2138] finalizing WS-RM example for native based on prepared tutorial
Modified: stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-14 17:38:18 UTC (rev 6428)
+++ stack/native/trunk/ant-import-tests/build-jars-jaxws.xml 2008-04-14 18:43:20 UTC (rev 6429)
@@ -504,8 +504,17 @@
<zipfileset
dir="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF/wsdl"
prefix="WEB-INF/wsdl"/>
+ <zipfileset
+ file="${tests.output.dir}/resources/jaxws/samples/wsrm/WEB-INF/wsrm-jaxws-endpoint-config.xml"
+ prefix="META-INF"/>
</war>
+ <jar jarfile="${tests.output.dir}/libs/jaxws-samples-wsrm-client.jar">
+ <metainf dir="${tests.output.dir}/resources/jaxws/samples/wsrm/META-INF">
+ <include name="wsrm-jaxws-client-config.xml"/>
+ </metainf>
+ </jar>
+
<!-- Please add alphabetically -->
</target>
Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/client/SimpleServiceTestCase.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/client/SimpleServiceTestCase.java 2008-04-14 17:38:18 UTC (rev 6428)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/client/SimpleServiceTestCase.java 2008-04-14 18:43:20 UTC (rev 6429)
@@ -21,13 +21,14 @@
*/
package org.jboss.test.ws.jaxws.samples.wsrm.client;
-import java.lang.reflect.Method;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import junit.framework.Test;
+import org.jboss.ws.core.StubExt;
+import org.jboss.ws.extensions.wsrm.api.RMProvider;
import org.jboss.wsf.test.JBossWSTest;
import org.jboss.wsf.test.JBossWSTestSetup;
import org.jboss.test.ws.jaxws.samples.wsrm.generated.SimpleService;
@@ -44,7 +45,7 @@
public static Test suite()
{
- return new JBossWSTestSetup(SimpleServiceTestCase.class, "jaxws-samples-wsrm.war");
+ return new JBossWSTestSetup(SimpleServiceTestCase.class, "jaxws-samples-wsrm.war, jaxws-samples-wsrm-client.jar");
}
@Override
@@ -56,12 +57,14 @@
URL wsdlURL = new URL(serviceURL + "?wsdl");
Service service = Service.create(wsdlURL, serviceName);
proxy = (SimpleService)service.getPort(SimpleService.class);
+ ((StubExt)proxy).setConfigName("Standard Anonymous WSRM Client", "META-INF/wsrm-jaxws-client-config.xml");
}
public void test() throws Exception
{
proxy.ping(); // one way call
assertEquals("Hello World!", proxy.echo("Hello World!")); // request responce call
+ ((RMProvider)proxy).closeSequence();
}
}
Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/SimpleServiceImpl.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/SimpleServiceImpl.java 2008-04-14 17:38:18 UTC (rev 6428)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/samples/wsrm/service/SimpleServiceImpl.java 2008-04-14 18:43:20 UTC (rev 6429)
@@ -25,6 +25,8 @@
import javax.jws.WebMethod;
import javax.jws.WebService;
+import org.jboss.ws.annotation.EndpointConfig;
+
@WebService
(
name = "SimpleService",
@@ -32,6 +34,11 @@
wsdlLocation = "WEB-INF/wsdl/SimpleService.wsdl",
targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm"
)
+@EndpointConfig
+(
+ configFile = "META-INF/wsrm-jaxws-endpoint-config.xml",
+ configName = "Standard WSRM Endpoint"
+)
public class SimpleServiceImpl
{
@Oneway
Added: stack/native/trunk/src/test/resources/jaxws/samples/wsrm/META-INF/wsrm-jaxws-client-config.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/samples/wsrm/META-INF/wsrm-jaxws-client-config.xml (rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/samples/wsrm/META-INF/wsrm-jaxws-client-config.xml 2008-04-14 18:43:20 UTC (rev 6429)
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jaxws-config
+ xmlns="urn:jboss:jaxws-config:2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
+
+ <client-config>
+ <config-name>Standard Anonymous WSRM Client</config-name>
+ <reliable-messaging>
+ <message-retransmission attempts="50" interval="10" timeout="10"/>
+ </reliable-messaging>
+ <post-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+ <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
+ </javaee:handler>
+ <javaee:handler>
+ <javaee:handler-name>WSRM Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.wsrm.jaxws.RMClientHandler</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </post-handler-chains>
+ </client-config>
+
+ <client-config>
+ <config-name>Standard Addressable WSRM Client</config-name>
+ <reliable-messaging>
+ <backports-server port="7777"/>
+ <message-retransmission attempts="50" interval="10" timeout="10"/>
+ </reliable-messaging>
+ <post-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+ <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
+ </javaee:handler>
+ <javaee:handler>
+ <javaee:handler-name>WSRM Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.wsrm.jaxws.RMClientHandler</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </post-handler-chains>
+ </client-config>
+
+ <client-config>
+ <config-name>Secured Anonymous WSRM Client</config-name>
+ <reliable-messaging>
+ <message-retransmission attempts="50" interval="10" timeout="10"/>
+ </reliable-messaging>
+ <post-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+ <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
+ </javaee:handler>
+ <javaee:handler>
+ <javaee:handler-name>WSRM Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.wsrm.jaxws.RMClientHandler</javaee:handler-class>
+ </javaee:handler>
+ <javaee:handler>
+ <javaee:handler-name>WSSecurity Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </post-handler-chains>
+ </client-config>
+
+ <client-config>
+ <config-name>Secured Addressable WSRM Client</config-name>
+ <reliable-messaging>
+ <backports-server port="7777"/>
+ <message-retransmission attempts="50" interval="10" timeout="10"/>
+ </reliable-messaging>
+ <post-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+ <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingClientHandler</javaee:handler-class>
+ </javaee:handler>
+ <javaee:handler>
+ <javaee:handler-name>WSRM Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.wsrm.jaxws.RMClientHandler</javaee:handler-class>
+ </javaee:handler>
+ <javaee:handler>
+ <javaee:handler-name>WSSecurity Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </post-handler-chains>
+ </client-config>
+
+</jaxws-config>
Property changes on: stack/native/trunk/src/test/resources/jaxws/samples/wsrm/META-INF/wsrm-jaxws-client-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: stack/native/trunk/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsdl/SimpleService.wsdl
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsdl/SimpleService.wsdl 2008-04-14 17:38:18 UTC (rev 6428)
+++ stack/native/trunk/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsdl/SimpleService.wsdl 2008-04-14 18:43:20 UTC (rev 6429)
@@ -1,5 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
-<definitions name='SimpleService' targetNamespace='http://www.jboss.org/jbossws/ws-extensions/wsrm' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://www.jboss.org/jbossws/ws-extensions/wsrm' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+<definitions name='SimpleService' targetNamespace='http://www.jboss.org/jbossws/ws-extensions/wsrm' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://www.jboss.org/jbossws/ws-extensions/wsrm' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
+ <wsp:UsingPolicy/>
+ <wsp:Policy
+ wsu:Id="wsrm11policy"
+ xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utilit...">
+ <wsp:All>
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <ns1:RMAssertion xmlns:ns1="http://docs.oasis-open.org/ws-rx/wsrmp/200702"/>
+ <ns2:UsingAddressing xmlns:ns2="http://www.w3.org/2006/05/addressing/wsdl"/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:All>
+ </wsp:Policy>
<types>
<xs:schema targetNamespace='http://www.jboss.org/jbossws/ws-extensions/wsrm' version='1.0' xmlns:tns='http://www.jboss.org/jbossws/ws-extensions/wsrm' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
<xs:element name='echo' type='tns:echo'/>
@@ -39,6 +52,7 @@
</operation>
</portType>
<binding name='SimpleServiceBinding' type='tns:SimpleService'>
+ <wsp:PolicyReference URI="#wsrm11policy"/>
<soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='echo'>
<soap:operation soapAction=''/>
@@ -61,4 +75,4 @@
<soap:address location='REPLACE_WITH_ACTUAL_URL'/>
</port>
</service>
-</definitions>
\ No newline at end of file
+</definitions>
Added: stack/native/trunk/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsrm-jaxws-endpoint-config.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsrm-jaxws-endpoint-config.xml (rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsrm-jaxws-endpoint-config.xml 2008-04-14 18:43:20 UTC (rev 6429)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jaxws-config
+ xmlns="urn:jboss:jaxws-config:2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
+
+ <endpoint-config>
+ <config-name>Standard WSRM Endpoint</config-name>
+ <post-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+ <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingServerHandler</javaee:handler-class>
+ </javaee:handler>
+ <javaee:handler>
+ <javaee:handler-name>WSRM Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.wsrm.jaxws.RMServerHandler</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </post-handler-chains>
+ </endpoint-config>
+
+ <endpoint-config>
+ <config-name>Secured WSRM Endpoint</config-name>
+ <post-handler-chains>
+ <javaee:handler-chain>
+ <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
+ <javaee:handler>
+ <javaee:handler-name>WSAddressing Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.addressing.jaxws.WSAddressingServerHandler</javaee:handler-class>
+ </javaee:handler>
+ <javaee:handler>
+ <javaee:handler-name>WSRM Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.wsrm.jaxws.RMServerHandler</javaee:handler-class>
+ </javaee:handler>
+ <javaee:handler>
+ <javaee:handler-name>WSSecurity Handler</javaee:handler-name>
+ <javaee:handler-class>org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer</javaee:handler-class>
+ </javaee:handler>
+ </javaee:handler-chain>
+ </post-handler-chains>
+ </endpoint-config>
+
+</jaxws-config>
Property changes on: stack/native/trunk/src/test/resources/jaxws/samples/wsrm/WEB-INF/wsrm-jaxws-endpoint-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
16 years, 9 months
JBossWS SVN: r6428 - stack/cxf/branches/tdiesler/trunk.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-14 13:38:18 -0400 (Mon, 14 Apr 2008)
New Revision: 6428
Modified:
stack/cxf/branches/tdiesler/trunk/pom.xml
Log:
>4.2.1.SP1
Modified: stack/cxf/branches/tdiesler/trunk/pom.xml
===================================================================
--- stack/cxf/branches/tdiesler/trunk/pom.xml 2008-04-14 17:37:22 UTC (rev 6427)
+++ stack/cxf/branches/tdiesler/trunk/pom.xml 2008-04-14 17:38:18 UTC (rev 6428)
@@ -100,7 +100,7 @@
<dependency>
<groupId>org.jboss.ws</groupId>
<artifactId>jbossws-jboss42</artifactId>
- <version>4.2.1-SNAPSHOT</version>
+ <version>4.2.1.SP1</version>
<classifier>resources</classifier>
<type>zip</type>
</dependency>
16 years, 9 months
JBossWS SVN: r6427 - container/jboss42/branches.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-14 13:37:22 -0400 (Mon, 14 Apr 2008)
New Revision: 6427
Removed:
container/jboss42/branches/jbossws-jboss422/
Log:
Delete stale copies
16 years, 9 months
JBossWS SVN: r6426 - container/jboss42/branches.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-14 13:37:09 -0400 (Mon, 14 Apr 2008)
New Revision: 6426
Removed:
container/jboss42/branches/jboss42-2.0.0/
Log:
Delete stale copies
16 years, 9 months
JBossWS SVN: r6425 - container/jboss42/tags.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-04-14 13:35:02 -0400 (Mon, 14 Apr 2008)
New Revision: 6425
Added:
container/jboss42/tags/jbossws-jboss42-4.2.1.GA/
Removed:
container/jboss42/tags/jbossws-jboss-4.2.1.GA/
Log:
Tag jbossws-jboss42-4.2.1.GA
Copied: container/jboss42/tags/jbossws-jboss42-4.2.1.GA (from rev 6424, container/jboss42/tags/jbossws-jboss-4.2.1.GA)
16 years, 9 months