Author: darran.lofthouse(a)jboss.com
Date: 2010-07-12 12:24:42 -0400 (Mon, 12 Jul 2010)
New Revision: 12629
Added:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/JBWS3071TestCase.java
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/StringHandler.java
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestEndpoint.java
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestEndpointImpl.java
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestException.java
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/resources/jaxws/jbws3071/
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/resources/jaxws/jbws3071/WEB-INF/
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/resources/jaxws/jbws3071/WEB-INF/web.xml
Modified:
stack/native/branches/dlofthouse/JBWS-3071/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ClientProxy.java
stack/native/branches/dlofthouse/JBWS-3071/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ResponseImpl.java
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
Log:
Test case and fix
Modified:
stack/native/branches/dlofthouse/JBWS-3071/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ClientProxy.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-3071/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ClientProxy.java 2010-07-12
14:00:49 UTC (rev 12628)
+++
stack/native/branches/dlofthouse/JBWS-3071/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ClientProxy.java 2010-07-12
16:24:42 UTC (rev 12629)
@@ -171,7 +171,7 @@
}
private Object invoke(QName opName, Object[] args, Class retType, Map<String,
Object> resContext) throws RemoteException
- {
+ {
boolean rmDetected =
this.client.getEndpointConfigMetaData().getConfig().getRMMetaData() != null;
boolean rmActivated = client.getWSRMSequence() != null;
if (rmDetected && !rmActivated)
@@ -195,7 +195,8 @@
ResponseImpl response = new ResponseImpl();
Runnable task = new AsyncRunnable(response, null, opName, args, retType);
- if(log.isDebugEnabled()) log.debug("Schedule task " +
((AsyncRunnable)task).getTaskID().toString());
+ if (log.isDebugEnabled())
+ log.debug("Schedule task " +
((AsyncRunnable)task).getTaskID().toString());
Future future = executor.submit(task);
response.setFuture(future);
@@ -270,7 +271,8 @@
Map<String, Object> resContext = response.getContext();
Object result = invoke(opName, args, retType, resContext);
- if(log.isDebugEnabled()) log.debug("Finished task " +
getTaskID().toString()+": " + result);
+ if (log.isDebugEnabled())
+ log.debug("Finished task " + getTaskID().toString() + ":
" + result);
response.set(result);
@@ -284,28 +286,35 @@
}
}
- // 4.18 Conformance (Failed Dispatch.invokeAsync): When an operation is invoked
using an invokeAsync
- // method, an implementation MUST throw a WebServiceException if there is any error
in the configuration
- // of the Dispatch instance. Errors that occur during the invocation are reported
when the client
- // attempts to retrieve the results of the operation.
+ // 2.3.4.5 Conformance (Asychronous fault cause): An ExecutionException that is
thrown by the get method
+ // of Response as a result of a WSDL fault MUST have as its cause the service
specific exception mapped
+ // from the WSDL fault, if there is one, otherwise the ProtocolException mapped
from the WSDL fault.
private void handleAsynInvokeException(Exception ex)
{
- String msg = "Cannot dispatch message";
- log.error(msg, ex);
+ Exception toBeWrapped = ex;
+ if (ex instanceof SOAPFaultException)
+ {
+ // Unwrap the cause if it is an Application Exception, otherwise use a
protocol exception
+ Throwable cause = ex.getCause();
+ if (cause instanceof Exception)
+ {
+ // Use unwrapped WebServiceException
+ if (cause instanceof WebServiceException)
+ ex = (WebServiceException)cause;
- WebServiceException wsex;
- if (ex instanceof WebServiceException)
- {
- wsex = (WebServiceException)ex;
+ // Use application exception if possible.
+ if (((cause instanceof SOAPException) == false) && ((cause
instanceof RuntimeException) == false))
+ {
+ toBeWrapped = (Exception)cause;
+ }
+ }
}
- else
- {
- wsex = new WebServiceException(msg, ex);
- }
- response.setException(wsex);
+
+ response.setException(toBeWrapped);
}
- public UUID getTaskID() {
+ public UUID getTaskID()
+ {
return uuid;
}
}
Modified:
stack/native/branches/dlofthouse/JBWS-3071/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ResponseImpl.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-3071/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ResponseImpl.java 2010-07-12
14:00:49 UTC (rev 12628)
+++
stack/native/branches/dlofthouse/JBWS-3071/modules/core/src/main/java/org/jboss/ws/core/jaxws/client/ResponseImpl.java 2010-07-12
16:24:42 UTC (rev 12629)
@@ -42,11 +42,11 @@
{
private Future delegate;
private Object result;
- private WebServiceException exception;
+ private Exception exception;
private Map<String, Object> context = new HashMap<String, Object>();
- public void setException(WebServiceException ex)
+ public void setException(Exception ex)
{
this.exception = ex;
}
@@ -57,7 +57,7 @@
throw new IllegalStateException("Future not available");
if (exception != null)
- throw exception;
+ throw new WebServiceException(exception);
return delegate;
}
Modified:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
===================================================================
---
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2010-07-12
14:00:49 UTC (rev 12628)
+++
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2010-07-12
16:24:42 UTC (rev 12629)
@@ -7,909 +7,913 @@
<!-- ============================================================ -->
<project>
-
- <description>JBossWS test archive builder</description>
-
- <!-- ==============================================================================
-->
- <!-- Building
-->
- <!--
-->
- <!-- Where to create your tests
-->
- <!--
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144172#...
-->
- <!--
-->
- <!-- ==============================================================================
-->
-
- <target name="build-jars-jaxws" description="Build the
deployments.">
-
- <mkdir dir="${tests.output.dir}/test-libs"/>
-
- <!-- jaxws-benchmark-doclit -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-benchmark-doclit.war"
webxml="${tests.output.dir}/test-resources/benchmark/jaxws/doclit/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/benchmark/jaxws/**/*.class"/>
- <include name="org/jboss/test/ws/benchmark/jaxws/**/*.xml"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/benchmark/jaxws/doclit/WEB-INF">
- <include name="wsdl/**"/>
- </webinf>
- </war>
-
- <war warfile="${tests.output.dir}/test-libs/ri-benchmark-doclit.war"
webxml="${tests.output.dir}/test-resources/benchmark/jaxws/doclit/ri/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/benchmark/jaxws/**/*.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/benchmark/jaxws/doclit/ri/WEB-INF">
- <include name="wsdl/**"/>
- </webinf>
- <webinf
dir="${tests.output.dir}/test-resources/benchmark/jaxws/doclit/ri/WEB-INF">
- <include name="handlers.xml"/>
- <include name="sun-jaxws.xml"/>
- </webinf>
- </war>
-
- <!-- esb adoption -->
- <jar
jarfile="${tests.output.dir}/test-libs/jaxws-benchmark-doclit.esb">
- <metainf
dir="${tests.output.dir}/test-resources/benchmark/jaxws/esb/META-INF">
- <include name="*.xml"/>
- </metainf>
- <fileset dir="${tests.output.dir}/test-libs">
- <include name="jaxws-benchmark-doclit.war"/>
- </fileset>
- <fileset
dir="${tests.output.dir}/test-resources/benchmark/jaxws/esb">
- <include name="*.xml"/>
- </fileset>
- </jar>
-
- <!-- jaxws-enventry -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-enventry-jse.war"
webxml="${tests.output.dir}/test-resources/jaxws/enventry/WEB-INF/jse-web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/enventry/EnvEntryBeanJSE.class"/>
- <include
name="org/jboss/test/ws/jaxws/enventry/ServerSideHandler.class"/>
- <include
name="org/jboss/test/ws/jaxws/enventry/EnvEntryHandler.class"/>
- </classes>
- </war>
- <war warfile="${tests.output.dir}/test-libs/jaxws-enventry-servlet.war"
webxml="${tests.output.dir}/test-resources/jaxws/enventry/WEB-INF/servlet-web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/enventry/EnvEntryServlet.class"/>
- </classes>
- </war>
-
- <!-- jaxws-endpoint-servlet -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-endpoint-servlet.war"
webxml="${tests.output.dir}/test-resources/jaxws/endpoint/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/endpoint/EndpointServlet.class"/>
- <include
name="org/jboss/test/ws/jaxws/endpoint/EndpointBean.class"/>
- <include
name="org/jboss/test/ws/jaxws/endpoint/EndpointInterface.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/endpoint/WEB-INF">
- <include name="wsdl/**"/>
- </webinf>
- </war>
-
- <!-- jaxws-epr -->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-epr.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/epr/*.class"/>
- <exclude name="org/jboss/test/ws/jaxws/epr/*TestCase.class"/>
- </fileset>
- </jar>
-
- <!-- jaxws-fastinfoset -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-fastinfoset.war"
webxml="${tests.output.dir}/test-resources/jaxws/fastinfoset/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/fastinfoset/FastInfosetEndpoint.class"/>
- </classes>
- </war>
-
- <!-- jaxws-handlerlifecycle -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-handlerlifecycle.war"
webxml="${tests.output.dir}/test-resources/jaxws/handlerlifecycle/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/SOAPEndpointBean.class"/>
- <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/TrackerEndpointBean.class"/>
- <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/LifecycleHandler.class"/>
- <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/ServerHandler*.class"/>
- <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/PreServerHandler*.class"/>
- <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/PostServerHandler*.class"/>
- <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/HandlerTracker.class"/>
- <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/jaxws-server-handlers.xml"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/handlerlifecycle/WEB-INF">
- <include name="jaxws-endpoint-config.xml"/>
- </webinf>
- </war>
-
- <jar
jarfile="${tests.output.dir}/test-libs/jaxws-handlerlifecycle-client.jar">
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/handlerlifecycle/META-INF">
- <include name="*.xml"/>
- </metainf>
- </jar>
-
- <!-- jaxws-json -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-json.war"
webxml="${tests.output.dir}/test-resources/jaxws/json/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/json/JsonEndpoint.class"/>
- </classes>
- </war>
-
- <!-- jaxws-jaxbintros -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jaxbintros.war"
webxml="${tests.output.dir}/test-resources/jaxws/jaxbintros/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jaxbintros/**/*.class"/>
- </classes>
-
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jaxbintros/WEB-INF">
- <include name="*.xml"/>
- <include name="**/*.wsdl"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws771 -->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws771.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws771/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws771/*TestCase.class"/>
- </fileset>
- </jar>
-
- <!-- jaxws-jbws871 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws871-rpc.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws871/WEB-INF-rpc/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws871/RpcArrayEndpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws871/RpcArrayEndpointImpl.class"/>
- </classes>
- </war>
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-jbws871-rpc-client.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws871/IntegerArray.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws871/RpcArrayEndpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws871/RpcArrayEndpointService.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws871/META-INF">
- <include name="application-client.xml"/>
- <include name="jboss-client.xml"/>
- <include name="jaxrpc-mapping.xml"/>
- <include name="wsdl/**"/>
- </metainf>
- </jar>
-
- <!-- jaxws-jbws1172 -->
- <war destfile="${tests.output.dir}/test-libs/jaxws-jbws1172.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws1172/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws1172/NonValidatingEndpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws1172/ValidatingEndpoint.class"/>
- <include name="org/jboss/test/ws/jaxws/jbws1172/types/*.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws1172/WEB-INF">
- <include name="wsdl/**"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws1309-->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1309.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws1309/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws1309/*TestCase.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws1309/META-INF">
- <include name="jboss-wsse-server.xml"/>
- <include name="jboss.xml"/>
- </metainf>
- <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws1309/">
- <include name="wsse.truststore"/>
- <include name="wsse.keystore"/>
- </metainf>
- </jar>
- <jar
jarfile="${tests.output.dir}/test-libs/jaxws-jbws1309-client.jar">
- <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws1309">
- <include name="wsse.truststore"/>
- <include name="wsse.keystore"/>
- </metainf>
- </jar>
- <!-- jaxws-jbws1582 -->
- <war destfile="${tests.output.dir}/test-libs/jaxws-jbws1582.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws1582/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws1582/Endpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws1582/EndpointImpl.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws1582/WEB-INF">
- <include name="wsdl/service.wsdl"/>
- </webinf>
- </war>
- <war
destfile="${tests.output.dir}/test-libs/jaxws-jbws1582-attacked.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws1582/WEB-INF/attack-web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws1582/Endpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws1582/AttackedEndpointImpl.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws1582/WEB-INF">
- <include name="wsdl/attack-service.wsdl"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws1809 -->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1809.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws1809/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws1809/*TestCase.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws1809/META-INF"/>
- </jar>
-
- <!-- jaxws-jbws1814 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws1814.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws1814/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws1814/HelloJavaBean.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws1814/WEB-INF">
- <include name="*"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws1850 -->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1850.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws1850/TestServiceImpl.class"/>
- </fileset>
- </jar>
-
- <!-- jaxws-jbws1909 -->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1909.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws1909/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws1909/*TestCase.class"/>
- </fileset>
- </jar>
-
- <!-- jaxws-jbws1988 -->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1988.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws1988/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws1988/*TestCase.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws1988/META-INF">
- <include name="jboss-wsse-server.xml"/>
- <include name="jboss.xml"/>
- </metainf>
- </jar>
- <jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws1988.sar">
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws1988/META-INF">
- <include name="jboss-service.xml"/>
- <include name="login-config.xml"/>
- <include name="jbossws-users.properties"/>
- <include name="jbossws-roles.properties"/>
- </metainf>
- </jar>
-
- <!-- jaxws-jbws1991 -->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1991.jar">
- <fileset dir="${tests.output.dir}/test-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}/test-resources/jaxws/jbws1991/META-INF">
- <include name="jboss-wsse-server.xml"/>
- <include name="jboss.xml"/>
- </metainf>
- </jar>
+ <description>JBossWS test archive builder</description>
- <!-- jaxws-jbws1999 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws1999.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws1999/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws1999/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws1999/*TestCase.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws1999/WEB-INF">
- <include name="*"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws2011-->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2011.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2011/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2011/*TestCase.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2011/META-INF">
- <include name="jboss-wsse-server.xml"/>
- </metainf>
- <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2011/">
- <include name="wsse.truststore"/>
- <include name="wsse.keystore"/>
- </metainf>
- </jar>
- <jar
jarfile="${tests.output.dir}/test-libs/jaxws-jbws2011-client.jar">
- <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2011">
- <include name="wsse.truststore"/>
- <include name="wsse.keystore"/>
- </metainf>
- </jar>
-
- <!-- jaxws-jbws2014-->
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-jbws2014-sign.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2014/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2014/*TestCase.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2014/sign/META-INF">
- <include name="jboss-wsse-server.xml"/>
- </metainf>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2014/">
- <include name="wsse.*"/>
- </metainf>
- </jar>
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-jbws2014-encrypt.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2014/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2014/*TestCase.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2014/encrypt/META-INF">
- <include name="jboss-wsse-server.xml"/>
- </metainf>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2014/">
- <include name="wsse.*"/>
- </metainf>
- </jar>
-
- <!-- jaxws-jbws2116-->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2116.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2116/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2116/*TestCase.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2116/META-INF">
- <include name="jboss-wsse-server.xml"/>
- <include name="jboss.xml"/>
- </metainf>
- <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2116/">
- <include name="wsse10.truststore"/>
- <include name="bob-sign.jks"/>
- </metainf>
- </jar>
- <jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws2116.sar">
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2116/META-INF">
- <include name="jboss-service.xml"/>
- <include name="login-config.xml"/>
- <include name="keystore.jks"/>
- <include name="jbossws-roles.properties"/>
- </metainf>
- </jar>
-
- <!-- jaxws-jbws2166-->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2166-A.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws2166/EndpointA.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2166/EndpointB.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2166/EndpointImplA.class"/>
- </fileset>
- </jar>
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2166-B.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws2166/EndpointB.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2166/EndpointImplB.class"/>
- </fileset>
- </jar>
-
- <!-- jaxws-jbws2182-->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2182.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2182/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2182/*TestCase.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2182/META-INF">
- <include name="jboss-wsse-server.xml"/>
- </metainf>
- <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2182/">
- <include name="wsse.truststore"/>
- <include name="wsse.keystore"/>
- </metainf>
- </jar>
- <jar
jarfile="${tests.output.dir}/test-libs/jaxws-jbws2182-client.jar">
- <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2182">
- <include name="wsse.truststore"/>
- <include name="wsse.keystore"/>
- </metainf>
- </jar>
+ <!-- ==============================================================================
-->
+ <!-- Building
-->
+ <!--
-->
+ <!-- Where to create your tests
-->
+ <!--
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144172#...
-->
+ <!--
-->
+ <!-- ==============================================================================
-->
- <!-- jaxws-jbws2187 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2187.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2187/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws2187/TestEndpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2187/TestEndpointImpl.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2187/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws2221 -->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2221.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2221/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2221/*TestCase.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2221/META-INF">
- <include name="wsdl/**"/>
- </metainf>
- </jar>
-
- <!-- jaxws-jbws2234 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2234.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2234/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2234/*.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2234/JBWS2234TestCase.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2234/WEB-INF">
- <include name="jboss-web.xml"/>
- <include name="wsdl/*"/>
- </webinf>
- </war>
+ <target name="build-jars-jaxws" description="Build the
deployments.">
- <!-- jaxws-jbws2248 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2248.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2248/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2248/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2248/JBWS2248TestCase.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2248/WEB-INF">
- <include name="wsdl/*"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws2259 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2259.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2259/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws2259/Endpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2259/EndpointImpl.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2259/CustomHandler.class"/>
- <include name="org/jboss/test/ws/jaxws/jbws2259/Photo.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2259/WEB-INF">
- <include name="jaxws-endpoint-config.xml"/>
- </webinf>
- </war>
+ <mkdir dir="${tests.output.dir}/test-libs" />
- <!-- jaxws-jbws2285 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2285.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2285/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2285/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2285/JBWS2285TestCase.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2285/server-handlers.xml"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2285/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws2319 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2319.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2319/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2319/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2319/JBWS2285TestCase.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2319/server-handlers.xml"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2319/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws2437 -->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2437.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2437/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2437/*TestCase.class"/>
- </fileset>
- </jar>
-
- <!-- jaxws-jbws2526 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2526.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2526/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2526/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2526/JBWS2526TestCase.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2526/server-handlers.xml"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2526/WEB-INF">
- <include name="wsdl/**"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws2565 -->
- <jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws2565.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws2565/MyWebServiceBean.class"/>
- </fileset>
- </jar>
- <jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws2565.ear">
- <fileset dir="${tests.output.dir}/test-libs">
- <include name="jaxws-jbws2565.jar"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2565/correct/META-INF">
- <include name="application.xml"/>
- <include name="jboss-app.xml"/>
- </metainf>
- </jar>
+ <!-- jaxws-benchmark-doclit -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-benchmark-doclit.war"
webxml="${tests.output.dir}/test-resources/benchmark/jaxws/doclit/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/benchmark/jaxws/**/*.class" />
+ <include name="org/jboss/test/ws/benchmark/jaxws/**/*.xml" />
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/benchmark/jaxws/doclit/WEB-INF">
+ <include name="wsdl/**" />
+ </webinf>
+ </war>
- <!-- jaxws-jbws2682 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2682.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2682/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws2682/Endpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2682/EndpointImpl.class"/>
- </classes>
- </war>
-
- <!-- jaxws-jbws2698 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2698.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2698/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2698/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2698/JBWS2698TestCase.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2698/server-handlers.xml"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2698/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws2706 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2706.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2706/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2706/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2698/JBWS2706TestCase.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2706/WEB-INF">
- <include name="wsdl/SwaTestService.wsdl"/>
- <include name="jboss-web.xml"/>
- </webinf>
- </war>
+ <war warfile="${tests.output.dir}/test-libs/ri-benchmark-doclit.war"
webxml="${tests.output.dir}/test-resources/benchmark/jaxws/doclit/ri/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/benchmark/jaxws/**/*.class" />
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/benchmark/jaxws/doclit/ri/WEB-INF">
+ <include name="wsdl/**" />
+ </webinf>
+ <webinf
dir="${tests.output.dir}/test-resources/benchmark/jaxws/doclit/ri/WEB-INF">
+ <include name="handlers.xml" />
+ <include name="sun-jaxws.xml" />
+ </webinf>
+ </war>
- <!-- jaxws-jbws2784 -->
- <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2784.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2784/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2784/*TestCase.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2784/META-INF">
- <include name="wsdl/**"/>
- </metainf>
- </jar>
+ <!-- esb adoption -->
+ <jar
jarfile="${tests.output.dir}/test-libs/jaxws-benchmark-doclit.esb">
+ <metainf
dir="${tests.output.dir}/test-resources/benchmark/jaxws/esb/META-INF">
+ <include name="*.xml" />
+ </metainf>
+ <fileset dir="${tests.output.dir}/test-libs">
+ <include name="jaxws-benchmark-doclit.war" />
+ </fileset>
+ <fileset
dir="${tests.output.dir}/test-resources/benchmark/jaxws/esb">
+ <include name="*.xml" />
+ </fileset>
+ </jar>
- <!-- jaxws-jbws2845 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2845.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2845/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2845/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2845/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws2927 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2927.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2927/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2927/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2927/JBWS2927TestCase.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2927/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- </war>
+ <!-- jaxws-enventry -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-enventry-jse.war"
webxml="${tests.output.dir}/test-resources/jaxws/enventry/WEB-INF/jse-web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/enventry/EnvEntryBeanJSE.class"
/>
+ <include name="org/jboss/test/ws/jaxws/enventry/ServerSideHandler.class"
/>
+ <include name="org/jboss/test/ws/jaxws/enventry/EnvEntryHandler.class"
/>
+ </classes>
+ </war>
+ <war warfile="${tests.output.dir}/test-libs/jaxws-enventry-servlet.war"
webxml="${tests.output.dir}/test-resources/jaxws/enventry/WEB-INF/servlet-web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/enventry/EnvEntryServlet.class"
/>
+ </classes>
+ </war>
- <!-- jaxws-jbws2949 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2949.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2949/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2949/*.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2949/server-handlers.xml"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2949/JBWS2949TestCase.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2949/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- </war>
+ <!-- jaxws-endpoint-servlet -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-endpoint-servlet.war"
webxml="${tests.output.dir}/test-resources/jaxws/endpoint/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/endpoint/EndpointServlet.class"
/>
+ <include name="org/jboss/test/ws/jaxws/endpoint/EndpointBean.class"
/>
+ <include name="org/jboss/test/ws/jaxws/endpoint/EndpointInterface.class"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/endpoint/WEB-INF">
+ <include name="wsdl/**" />
+ </webinf>
+ </war>
- <!-- jaxws-jbws2969 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2969.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2969/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2969/*.class"/>
- <exclude
name="org/jboss/test/ws/jaxws/jbws2969/JBWS2969TestCase.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2969/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- </war>
+ <!-- jaxws-epr -->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-epr.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/epr/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/epr/*TestCase.class" />
+ </fileset>
+ </jar>
- <!-- jaxws-jbws2978 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2978.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2978/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/jbws2978/AddNumbers.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2978/AddNumbersImpl.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2978/AddNumbersRequest.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2978/AddNumbersResponse.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2978/WEB-INF">
- <include name="jboss-web.xml"/>
- </webinf>
- </war>
-
- <!-- jaxws-jbws2982 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2982.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2982/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws2982/*.class" />
- <exclude name="org/jboss/test/ws/jaxws/jbws2982/*TestCase*.class"
/>
- </classes>
- </war>
+ <!-- jaxws-fastinfoset -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-fastinfoset.war"
webxml="${tests.output.dir}/test-resources/jaxws/fastinfoset/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/fastinfoset/FastInfosetEndpoint.class" />
+ </classes>
+ </war>
- <!-- jaxws-jbws3070 -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-jbws3070.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws3070/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/jbws3070/*.class" />
- <exclude name="org/jboss/test/ws/jaxws/jbws3070/*TestCase*.class"
/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws3070/WEB-INF">
- <include name="**/*.wsdl"/>
- <include name="**/*.xsd"/>
- </webinf>
- </war>
-
- <!-- jaxws-webserviceref -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-webserviceref.war"
webxml="${tests.output.dir}/test-resources/jaxws/webserviceref/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointImpl.class"/>
- </classes>
- </war>
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-client.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointClientOne.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF">
- <include name="application-client.xml"/>
- <include name="jboss-client.xml"/>
- <include name="wsdl/**"/>
- </metainf>
- <manifest>
- <attribute name="main-class"
value="org.jboss.test.ws.jaxws.samples.webserviceref.TestEndpointClientOne"/>
- </manifest>
- </jar>
- <war
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-servlet-client.war"
-
webxml="${tests.output.dir}/test-resources/jaxws/webserviceref/WEB-INF-client/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/webserviceref/ServletClient.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/EchoResponse.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/Echo.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF">
- <include name="wsdl/**"/>
- </webinf>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/WEB-INF-client">
- <include name="jboss-web.xml"/>
- </webinf>
- </war>
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-ejb3-client.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/webserviceref/EJB3Client.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/EJB3Remote.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/EchoResponse.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/Echo.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF">
- <include name="jboss.xml"/>
- <include name="wsdl/**"/>
- </metainf>
- </jar>
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-secure.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpointImpl.class"/>
- </fileset>
- </jar>
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-secure-client.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpointClient.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpointService.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpoint.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF-secure">
- <include name="application-client.xml"/>
- <include name="jboss-client.xml"/>
- </metainf>
- <manifest>
- <attribute name="main-class"
value="org.jboss.test.ws.jaxws.samples.webserviceref.SecureEndpointClient"/>
- </manifest>
- </jar>
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-override-client.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointClientTwo.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF-override">
- <include name="jbossws-client-config.xml"/>
- <include name="application-client.xml"/>
- <include name="jboss-client.xml"/>
- </metainf>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF">
- <include name="wsdl/**"/>
- </metainf>
- <manifest>
- <attribute name="main-class"
value="org.jboss.test.ws.jaxws.samples.webserviceref.TestEndpointClientTwo"/>
- </manifest>
- </jar>
-
- <!-- jaxws-webserviceref-secure -->
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-secure.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpointImpl.class"/>
- </fileset>
- </jar>
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-secure-client.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpointClient.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpointService.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpoint.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF-secure">
- <include name="application-client.xml"/>
- <include name="jboss-client.xml"/>
- </metainf>
- <manifest>
- <attribute name="main-class"
value="org.jboss.test.ws.jaxws.webserviceref.SecureEndpointClient"/>
- </manifest>
- </jar>
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-override-client.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointClientTwo.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.class"/>
- <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF-override">
- <include name="jbossws-client-config.xml"/>
- <include name="application-client.xml"/>
- <include name="jboss-client.xml"/>
- <include name="wsdl/**"/>
- </metainf>
- <manifest>
- <attribute name="main-class"
value="org.jboss.test.ws.jaxws.webserviceref.TestEndpointClientTwo"/>
- </manifest>
- </jar>
-
- <!-- jaxws-wsdd -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-wsdd.war"
webxml="${tests.output.dir}/test-resources/jaxws/wsdd/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/wsdd/*.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/wsdd/WEB-INF">
- <include name="webservices.xml"/>
- </webinf>
- </war>
-
- <!-- jaxws-wsaddressing-action -->
- <war
warfile="${tests.output.dir}/test-libs/jaxws-wsaddressing-action-rpc.war"
webxml="${tests.output.dir}/test-resources/jaxws/wsaddressing/action/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/action/ActionRpcEndpointImpl.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/action/ActionEndpoint.class"/>
- </classes>
- </war>
-
- <!-- jaxws-wsaddressing-replyto -->
- <war
warfile="${tests.output.dir}/test-libs/jaxws-wsaddressing-initial.war"
-
webxml="${tests.output.dir}/test-resources/jaxws/wsaddressing/replyto/Initial-WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpointImpl.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint_*_RequestStruct.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint_*_ResponseStruct.class"/>
- </classes>
- </war>
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-wsaddressing-initial-client.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint_*_RequestStruct.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint_*_ResponseStruct.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/wsaddressing/replyto/Initial-META-INF">
- <include name="application-client.xml"/>
- <include name="jboss-client.xml"/>
- <include name="jaxws-jbossws-client-config.xml"/>
- <include name="jaxrpc-mapping.xml"/>
- </metainf>
- </jar>
- <war
warfile="${tests.output.dir}/test-libs/jaxws-wsaddressing-replyto.war"
-
webxml="${tests.output.dir}/test-resources/jaxws/wsaddressing/replyto/ReplyTo-WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpointImpl.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint_*_RequestStruct.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint_*_ResponseStruct.class"/>
- </classes>
- </war>
- <jar
destfile="${tests.output.dir}/test-libs/jaxws-wsaddressing-replyto-client.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint_*_RequestStruct.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint_*_ResponseStruct.class"/>
- </fileset>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/wsaddressing/replyto/ReplyTo-META-INF">
- <include name="application-client.xml"/>
- <include name="jboss-client.xml"/>
- <include name="jbossws-client-config.xml"/>
- <include name="jaxrpc-mapping.xml"/>
- </metainf>
- </jar>
- <war
warfile="${tests.output.dir}/test-libs/jaxws-wsaddressing-faultto.war"
-
webxml="${tests.output.dir}/test-resources/jaxws/wsaddressing/replyto/FaultTo-WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/FaultToEndpointImpl.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/FaultType.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/FaultToEndpoint.class"/>
- </classes>
- </war>
-
- <!-- jaxws-wseventing -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-wseventing.war"
webxml="${tests.output.dir}/test-resources/jaxws/wseventing/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/ws/eventing/*.class"/>
- <include name="org/jboss/test/ws/jaxws/wseventing/*.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/wseventing/WEB-INF">
- <include name="wsdl/**"/>
- </webinf>
- </war>
-
- <!-- jaxws-wsrm -->
- <war warfile="${tests.output.dir}/test-libs/jaxws-wsrm.war"
webxml="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF/unsecure/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceIface.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceImpl.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceIface.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceImpl.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF">
- <include name="wsrm-jaxws-endpoint-config.xml"/>
- </webinf>
- <zipfileset
dir="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF/unsecure/wsdl"
prefix="WEB-INF/wsdl"/>
- <zipfileset
file="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF/unsecure/standard-jaxws-endpoint-config.xml"
prefix="META-INF"/>
- </war>
-
- <war warfile="${tests.output.dir}/test-libs/jaxws-secured-wsrm.war"
webxml="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF/secure/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include
name="org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceIface.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceImpl.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceIface.class"/>
- <include
name="org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceImpl.class"/>
- </classes>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF">
- <include name="wsrm-jaxws-endpoint-config.xml"/>
- </webinf>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/wsrm/wssecurity/WEB-INF">
- <include name="jboss-wsse-server.xml"/>
- </webinf>
- <webinf
dir="${tests.output.dir}/test-resources/jaxws/wsrm/wssecurity">
- <include name="wsse.keystore"/>
- <include name="wsse.truststore"/>
- </webinf>
- <zipfileset
dir="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF/secure/wsdl"
prefix="WEB-INF/wsdl"/>
- <zipfileset
file="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF/secure/standard-jaxws-endpoint-config.xml"
prefix="META-INF"/>
- </war>
-
- <jar jarfile="${tests.output.dir}/test-libs/jaxws-wsrm-client.jar">
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/wsrm/META-INF">
- <include name="wsrm-jaxws-client-config.xml"/>
- </metainf>
- </jar>
-
- <jar
jarfile="${tests.output.dir}/test-libs/jaxws-secured-wsrm-client.jar">
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/wsrm/META-INF">
- <include name="wsrm-jaxws-client-config.xml"/>
- </metainf>
- <metainf
dir="${tests.output.dir}/test-resources/jaxws/wsrm/wssecurity/META-INF">
- <include name="jboss-wsse-client.xml"/>
- </metainf>
- </jar>
-
- <!-- Please add alphabetically -->
-
- </target>
-
+ <!-- jaxws-handlerlifecycle -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-handlerlifecycle.war"
webxml="${tests.output.dir}/test-resources/jaxws/handlerlifecycle/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/SOAPEndpointBean.class" />
+ <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/TrackerEndpointBean.class" />
+ <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/LifecycleHandler.class" />
+ <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/ServerHandler*.class" />
+ <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/PreServerHandler*.class" />
+ <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/PostServerHandler*.class" />
+ <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/HandlerTracker.class" />
+ <include
name="org/jboss/test/ws/jaxws/handlerlifecycle/jaxws-server-handlers.xml" />
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/handlerlifecycle/WEB-INF">
+ <include name="jaxws-endpoint-config.xml" />
+ </webinf>
+ </war>
+
+ <jar
jarfile="${tests.output.dir}/test-libs/jaxws-handlerlifecycle-client.jar">
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/handlerlifecycle/META-INF">
+ <include name="*.xml" />
+ </metainf>
+ </jar>
+
+ <!-- jaxws-json -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-json.war"
webxml="${tests.output.dir}/test-resources/jaxws/json/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/json/JsonEndpoint.class" />
+ </classes>
+ </war>
+
+ <!-- jaxws-jaxbintros -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jaxbintros.war"
webxml="${tests.output.dir}/test-resources/jaxws/jaxbintros/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jaxbintros/**/*.class" />
+ </classes>
+
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jaxbintros/WEB-INF">
+ <include name="*.xml" />
+ <include name="**/*.wsdl" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws771 -->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws771.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws771/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws771/*TestCase.class" />
+ </fileset>
+ </jar>
+
+ <!-- jaxws-jbws871 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws871-rpc.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws871/WEB-INF-rpc/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws871/RpcArrayEndpoint.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/jbws871/RpcArrayEndpointImpl.class" />
+ </classes>
+ </war>
+ <jar
destfile="${tests.output.dir}/test-libs/jaxws-jbws871-rpc-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws871/IntegerArray.class"
/>
+ <include name="org/jboss/test/ws/jaxws/jbws871/RpcArrayEndpoint.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/jbws871/RpcArrayEndpointService.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws871/META-INF">
+ <include name="application-client.xml" />
+ <include name="jboss-client.xml" />
+ <include name="jaxrpc-mapping.xml" />
+ <include name="wsdl/**" />
+ </metainf>
+ </jar>
+
+ <!-- jaxws-jbws1172 -->
+ <war destfile="${tests.output.dir}/test-libs/jaxws-jbws1172.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws1172/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/jbws1172/NonValidatingEndpoint.class" />
+ <include
name="org/jboss/test/ws/jaxws/jbws1172/ValidatingEndpoint.class" />
+ <include name="org/jboss/test/ws/jaxws/jbws1172/types/*.class" />
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws1172/WEB-INF">
+ <include name="wsdl/**" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws1309-->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1309.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1309/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws1309/*TestCase.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws1309/META-INF">
+ <include name="jboss-wsse-server.xml" />
+ <include name="jboss.xml" />
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws1309/">
+ <include name="wsse.truststore" />
+ <include name="wsse.keystore" />
+ </metainf>
+ </jar>
+ <jar
jarfile="${tests.output.dir}/test-libs/jaxws-jbws1309-client.jar">
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws1309">
+ <include name="wsse.truststore" />
+ <include name="wsse.keystore" />
+ </metainf>
+ </jar>
+
+ <!-- jaxws-jbws1582 -->
+ <war destfile="${tests.output.dir}/test-libs/jaxws-jbws1582.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws1582/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1582/Endpoint.class" />
+ <include name="org/jboss/test/ws/jaxws/jbws1582/EndpointImpl.class"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws1582/WEB-INF">
+ <include name="wsdl/service.wsdl" />
+ </webinf>
+ </war>
+ <war destfile="${tests.output.dir}/test-libs/jaxws-jbws1582-attacked.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws1582/WEB-INF/attack-web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1582/Endpoint.class" />
+ <include
name="org/jboss/test/ws/jaxws/jbws1582/AttackedEndpointImpl.class" />
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws1582/WEB-INF">
+ <include name="wsdl/attack-service.wsdl" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws1809 -->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1809.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1809/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws1809/*TestCase.class" />
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws1809/META-INF"
/>
+ </jar>
+
+ <!-- jaxws-jbws1814 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws1814.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws1814/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1814/HelloJavaBean.class"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws1814/WEB-INF">
+ <include name="*" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws1850 -->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1850.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1850/TestServiceImpl.class"
/>
+ </fileset>
+ </jar>
+
+ <!-- jaxws-jbws1909 -->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1909.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1909/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws1909/*TestCase.class" />
+ </fileset>
+ </jar>
+
+ <!-- jaxws-jbws1988 -->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1988.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1988/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws1988/*TestCase.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws1988/META-INF">
+ <include name="jboss-wsse-server.xml" />
+ <include name="jboss.xml" />
+ </metainf>
+ </jar>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws1988.sar">
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws1988/META-INF">
+ <include name="jboss-service.xml" />
+ <include name="login-config.xml" />
+ <include name="jbossws-users.properties" />
+ <include name="jbossws-roles.properties" />
+ </metainf>
+ </jar>
+
+ <!-- jaxws-jbws1991 -->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws1991.jar">
+ <fileset dir="${tests.output.dir}/test-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}/test-resources/jaxws/jbws1991/META-INF">
+ <include name="jboss-wsse-server.xml" />
+ <include name="jboss.xml" />
+ </metainf>
+ </jar>
+
+ <!-- jaxws-jbws1999 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws1999.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws1999/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws1999/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws1999/*TestCase.class" />
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws1999/WEB-INF">
+ <include name="*" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2011-->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2011.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2011/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2011/*TestCase.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2011/META-INF">
+ <include name="jboss-wsse-server.xml" />
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2011/">
+ <include name="wsse.truststore" />
+ <include name="wsse.keystore" />
+ </metainf>
+ </jar>
+ <jar
jarfile="${tests.output.dir}/test-libs/jaxws-jbws2011-client.jar">
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2011">
+ <include name="wsse.truststore" />
+ <include name="wsse.keystore" />
+ </metainf>
+ </jar>
+
+ <!-- jaxws-jbws2014-->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2014-sign.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2014/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2014/*TestCase.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2014/sign/META-INF">
+ <include name="jboss-wsse-server.xml" />
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2014/">
+ <include name="wsse.*" />
+ </metainf>
+ </jar>
+ <jar
destfile="${tests.output.dir}/test-libs/jaxws-jbws2014-encrypt.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2014/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2014/*TestCase.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2014/encrypt/META-INF">
+ <include name="jboss-wsse-server.xml" />
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2014/">
+ <include name="wsse.*" />
+ </metainf>
+ </jar>
+
+ <!-- jaxws-jbws2116-->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2116.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2116/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2116/*TestCase.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2116/META-INF">
+ <include name="jboss-wsse-server.xml" />
+ <include name="jboss.xml" />
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2116/">
+ <include name="wsse10.truststore" />
+ <include name="bob-sign.jks" />
+ </metainf>
+ </jar>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws2116.sar">
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2116/META-INF">
+ <include name="jboss-service.xml" />
+ <include name="login-config.xml" />
+ <include name="keystore.jks" />
+ <include name="jbossws-roles.properties" />
+ </metainf>
+ </jar>
+
+ <!-- jaxws-jbws2166-->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2166-A.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2166/EndpointA.class" />
+ <include name="org/jboss/test/ws/jaxws/jbws2166/EndpointB.class" />
+ <include name="org/jboss/test/ws/jaxws/jbws2166/EndpointImplA.class"
/>
+ </fileset>
+ </jar>
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2166-B.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2166/EndpointB.class" />
+ <include name="org/jboss/test/ws/jaxws/jbws2166/EndpointImplB.class"
/>
+ </fileset>
+ </jar>
+
+ <!-- jaxws-jbws2182-->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2182.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2182/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2182/*TestCase.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2182/META-INF">
+ <include name="jboss-wsse-server.xml" />
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2182/">
+ <include name="wsse.truststore" />
+ <include name="wsse.keystore" />
+ </metainf>
+ </jar>
+ <jar
jarfile="${tests.output.dir}/test-libs/jaxws-jbws2182-client.jar">
+ <metainf dir="${tests.output.dir}/test-resources/jaxws/jbws2182">
+ <include name="wsse.truststore" />
+ <include name="wsse.keystore" />
+ </metainf>
+ </jar>
+
+ <!-- jaxws-jbws2187 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2187.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2187/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2187/TestEndpoint.class"
/>
+ <include name="org/jboss/test/ws/jaxws/jbws2187/TestEndpointImpl.class"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2187/WEB-INF">
+ <include name="jboss-web.xml" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2221 -->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2221.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2221/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2221/*TestCase.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2221/META-INF">
+ <include name="wsdl/**" />
+ </metainf>
+ </jar>
+
+ <!-- jaxws-jbws2234 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2234.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2234/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2234/*.class" />
+ <include name="org/jboss/test/ws/jaxws/jbws2234/JBWS2234TestCase.class"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2234/WEB-INF">
+ <include name="jboss-web.xml" />
+ <include name="wsdl/*" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2248 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2248.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2248/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2248/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2248/JBWS2248TestCase.class"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2248/WEB-INF">
+ <include name="wsdl/*" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2259 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2259.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2259/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2259/Endpoint.class" />
+ <include name="org/jboss/test/ws/jaxws/jbws2259/EndpointImpl.class"
/>
+ <include name="org/jboss/test/ws/jaxws/jbws2259/CustomHandler.class"
/>
+ <include name="org/jboss/test/ws/jaxws/jbws2259/Photo.class" />
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2259/WEB-INF">
+ <include name="jaxws-endpoint-config.xml" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2285 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2285.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2285/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2285/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2285/JBWS2285TestCase.class"
/>
+ <include name="org/jboss/test/ws/jaxws/jbws2285/server-handlers.xml"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2285/WEB-INF">
+ <include name="jboss-web.xml" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2319 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2319.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2319/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2319/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2319/JBWS2285TestCase.class"
/>
+ <include name="org/jboss/test/ws/jaxws/jbws2319/server-handlers.xml"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2319/WEB-INF">
+ <include name="jboss-web.xml" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2437 -->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2437.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2437/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2437/*TestCase.class" />
+ </fileset>
+ </jar>
+
+ <!-- jaxws-jbws2526 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2526.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2526/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2526/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2526/JBWS2526TestCase.class"
/>
+ <include name="org/jboss/test/ws/jaxws/jbws2526/server-handlers.xml"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2526/WEB-INF">
+ <include name="wsdl/**" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2565 -->
+ <jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws2565.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2565/MyWebServiceBean.class"
/>
+ </fileset>
+ </jar>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws2565.ear">
+ <fileset dir="${tests.output.dir}/test-libs">
+ <include name="jaxws-jbws2565.jar" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2565/correct/META-INF">
+ <include name="application.xml" />
+ <include name="jboss-app.xml" />
+ </metainf>
+ </jar>
+
+ <!-- jaxws-jbws2682 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2682.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2682/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2682/Endpoint.class" />
+ <include name="org/jboss/test/ws/jaxws/jbws2682/EndpointImpl.class"
/>
+ </classes>
+ </war>
+
+ <!-- jaxws-jbws2698 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2698.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2698/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2698/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2698/JBWS2698TestCase.class"
/>
+ <include name="org/jboss/test/ws/jaxws/jbws2698/server-handlers.xml"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2698/WEB-INF">
+ <include name="jboss-web.xml" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2706 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2706.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2706/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2706/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2698/JBWS2706TestCase.class"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2706/WEB-INF">
+ <include name="wsdl/SwaTestService.wsdl" />
+ <include name="jboss-web.xml" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2784 -->
+ <jar destfile="${tests.output.dir}/test-libs/jaxws-jbws2784.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2784/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2784/*TestCase.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/jbws2784/META-INF">
+ <include name="wsdl/**" />
+ </metainf>
+ </jar>
+
+ <!-- jaxws-jbws2845 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2845.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2845/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2845/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.class"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2845/WEB-INF">
+ <include name="jboss-web.xml" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2927 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2927.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2927/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2927/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2927/JBWS2927TestCase.class"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2927/WEB-INF">
+ <include name="jboss-web.xml" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2949 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2949.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2949/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2949/*.class" />
+ <include name="org/jboss/test/ws/jaxws/jbws2949/server-handlers.xml"
/>
+ <exclude name="org/jboss/test/ws/jaxws/jbws2949/JBWS2949TestCase.class"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2949/WEB-INF">
+ <include name="jboss-web.xml" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2969 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2969.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2969/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2969/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2969/JBWS2969TestCase.class"
/>
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2969/WEB-INF">
+ <include name="jboss-web.xml" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2978 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2978.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2978/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2978/AddNumbers.class" />
+ <include name="org/jboss/test/ws/jaxws/jbws2978/AddNumbersImpl.class"
/>
+ <include name="org/jboss/test/ws/jaxws/jbws2978/AddNumbersRequest.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/jbws2978/AddNumbersResponse.class" />
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws2978/WEB-INF">
+ <include name="jboss-web.xml" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws2982 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2982.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws2982/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2982/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws2982/*TestCase*.class" />
+ </classes>
+ </war>
+
+ <!-- jaxws-jbws3070 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws3070.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws3070/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws3070/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbws3070/*TestCase*.class" />
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/jbws3070/WEB-INF">
+ <include name="**/*.wsdl" />
+ <include name="**/*.xsd" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-jbws3071 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws3071.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws3071/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws3071/TestEndpointImpl.class"
/>
+ <include name="org/jboss/test/ws/jaxws/jbws3071/TestException.class"
/>
+ </classes>
+ </war>
+
+ <!-- jaxws-webserviceref -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-webserviceref.war"
webxml="${tests.output.dir}/test-resources/jaxws/webserviceref/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointImpl.class" />
+ </classes>
+ </war>
+ <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointClientOne.class" />
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.class" />
+ <include name="org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.class"
/>
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF">
+ <include name="application-client.xml" />
+ <include name="jboss-client.xml" />
+ <include name="wsdl/**" />
+ </metainf>
+ <manifest>
+ <attribute name="main-class"
value="org.jboss.test.ws.jaxws.samples.webserviceref.TestEndpointClientOne"
/>
+ </manifest>
+ </jar>
+ <war
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-servlet-client.war"
webxml="${tests.output.dir}/test-resources/jaxws/webserviceref/WEB-INF-client/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/ServletClient.class" />
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.class" />
+ <include name="org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.class"
/>
+ <include name="org/jboss/test/ws/jaxws/webserviceref/EchoResponse.class"
/>
+ <include name="org/jboss/test/ws/jaxws/webserviceref/Echo.class" />
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF">
+ <include name="wsdl/**" />
+ </webinf>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/WEB-INF-client">
+ <include name="jboss-web.xml" />
+ </webinf>
+ </war>
+ <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-ejb3-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/webserviceref/EJB3Client.class"
/>
+ <include name="org/jboss/test/ws/jaxws/webserviceref/EJB3Remote.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.class" />
+ <include name="org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.class"
/>
+ <include name="org/jboss/test/ws/jaxws/webserviceref/EchoResponse.class"
/>
+ <include name="org/jboss/test/ws/jaxws/webserviceref/Echo.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF">
+ <include name="jboss.xml" />
+ <include name="wsdl/**" />
+ </metainf>
+ </jar>
+ <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-secure.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpointImpl.class" />
+ </fileset>
+ </jar>
+ <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-secure-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpointClient.class" />
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpointService.class" />
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpoint.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF-secure">
+ <include name="application-client.xml" />
+ <include name="jboss-client.xml" />
+ </metainf>
+ <manifest>
+ <attribute name="main-class"
value="org.jboss.test.ws.jaxws.samples.webserviceref.SecureEndpointClient"
/>
+ </manifest>
+ </jar>
+ <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-override-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointClientTwo.class" />
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.class" />
+ <include name="org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.class"
/>
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF-override">
+ <include name="jbossws-client-config.xml" />
+ <include name="application-client.xml" />
+ <include name="jboss-client.xml" />
+ </metainf>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF">
+ <include name="wsdl/**" />
+ </metainf>
+ <manifest>
+ <attribute name="main-class"
value="org.jboss.test.ws.jaxws.samples.webserviceref.TestEndpointClientTwo"
/>
+ </manifest>
+ </jar>
+
+ <!-- jaxws-webserviceref-secure -->
+ <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-secure.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpointImpl.class" />
+ </fileset>
+ </jar>
+ <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-secure-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpointClient.class" />
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpointService.class" />
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/SecureEndpoint.class" />
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF-secure">
+ <include name="application-client.xml" />
+ <include name="jboss-client.xml" />
+ </metainf>
+ <manifest>
+ <attribute name="main-class"
value="org.jboss.test.ws.jaxws.webserviceref.SecureEndpointClient" />
+ </manifest>
+ </jar>
+ <jar
destfile="${tests.output.dir}/test-libs/jaxws-webserviceref-override-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointClientTwo.class" />
+ <include
name="org/jboss/test/ws/jaxws/webserviceref/TestEndpointService.class" />
+ <include name="org/jboss/test/ws/jaxws/webserviceref/TestEndpoint.class"
/>
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/webserviceref/META-INF-override">
+ <include name="jbossws-client-config.xml" />
+ <include name="application-client.xml" />
+ <include name="jboss-client.xml" />
+ <include name="wsdl/**" />
+ </metainf>
+ <manifest>
+ <attribute name="main-class"
value="org.jboss.test.ws.jaxws.webserviceref.TestEndpointClientTwo" />
+ </manifest>
+ </jar>
+
+ <!-- jaxws-wsdd -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-wsdd.war"
webxml="${tests.output.dir}/test-resources/jaxws/wsdd/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/wsdd/*.class" />
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxws/wsdd/WEB-INF">
+ <include name="webservices.xml" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-wsaddressing-action -->
+ <war
warfile="${tests.output.dir}/test-libs/jaxws-wsaddressing-action-rpc.war"
webxml="${tests.output.dir}/test-resources/jaxws/wsaddressing/action/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/action/ActionRpcEndpointImpl.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/action/ActionEndpoint.class" />
+ </classes>
+ </war>
+
+ <!-- jaxws-wsaddressing-replyto -->
+ <war
warfile="${tests.output.dir}/test-libs/jaxws-wsaddressing-initial.war"
webxml="${tests.output.dir}/test-resources/jaxws/wsaddressing/replyto/Initial-WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpointImpl.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint.class" />
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint_*_RequestStruct.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint_*_ResponseStruct.class"
/>
+ </classes>
+ </war>
+ <jar
destfile="${tests.output.dir}/test-libs/jaxws-wsaddressing-initial-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint.class" />
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint_*_RequestStruct.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint_*_ResponseStruct.class"
/>
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/wsaddressing/replyto/Initial-META-INF">
+ <include name="application-client.xml" />
+ <include name="jboss-client.xml" />
+ <include name="jaxws-jbossws-client-config.xml" />
+ <include name="jaxrpc-mapping.xml" />
+ </metainf>
+ </jar>
+ <war
warfile="${tests.output.dir}/test-libs/jaxws-wsaddressing-replyto.war"
webxml="${tests.output.dir}/test-resources/jaxws/wsaddressing/replyto/ReplyTo-WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpointImpl.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint.class" />
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint_*_RequestStruct.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint_*_ResponseStruct.class"
/>
+ </classes>
+ </war>
+ <jar
destfile="${tests.output.dir}/test-libs/jaxws-wsaddressing-replyto-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint.class" />
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint_*_RequestStruct.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint_*_ResponseStruct.class"
/>
+ </fileset>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/wsaddressing/replyto/ReplyTo-META-INF">
+ <include name="application-client.xml" />
+ <include name="jboss-client.xml" />
+ <include name="jbossws-client-config.xml" />
+ <include name="jaxrpc-mapping.xml" />
+ </metainf>
+ </jar>
+ <war
warfile="${tests.output.dir}/test-libs/jaxws-wsaddressing-faultto.war"
webxml="${tests.output.dir}/test-resources/jaxws/wsaddressing/replyto/FaultTo-WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/FaultToEndpointImpl.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/FaultType.class" />
+ <include
name="org/jboss/test/ws/jaxws/wsaddressing/replyto/FaultToEndpoint.class" />
+ </classes>
+ </war>
+
+ <!-- jaxws-wseventing -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-wseventing.war"
webxml="${tests.output.dir}/test-resources/jaxws/wseventing/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/ws/eventing/*.class" />
+ <include name="org/jboss/test/ws/jaxws/wseventing/*.class" />
+ </classes>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/wseventing/WEB-INF">
+ <include name="wsdl/**" />
+ </webinf>
+ </war>
+
+ <!-- jaxws-wsrm -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-wsrm.war"
webxml="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF/unsecure/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceIface.class" />
+ <include
name="org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceImpl.class" />
+ <include
name="org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceIface.class" />
+ <include
name="org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceImpl.class" />
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF">
+ <include name="wsrm-jaxws-endpoint-config.xml" />
+ </webinf>
+ <zipfileset
dir="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF/unsecure/wsdl"
prefix="WEB-INF/wsdl" />
+ <zipfileset
file="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF/unsecure/standard-jaxws-endpoint-config.xml"
prefix="META-INF" />
+ </war>
+
+ <war warfile="${tests.output.dir}/test-libs/jaxws-secured-wsrm.war"
webxml="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF/secure/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceIface.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceImpl.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceIface.class"
/>
+ <include
name="org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceImpl.class"
/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF">
+ <include name="wsrm-jaxws-endpoint-config.xml" />
+ </webinf>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/wsrm/wssecurity/WEB-INF">
+ <include name="jboss-wsse-server.xml" />
+ </webinf>
+ <webinf
dir="${tests.output.dir}/test-resources/jaxws/wsrm/wssecurity">
+ <include name="wsse.keystore" />
+ <include name="wsse.truststore" />
+ </webinf>
+ <zipfileset
dir="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF/secure/wsdl"
prefix="WEB-INF/wsdl" />
+ <zipfileset
file="${tests.output.dir}/test-resources/jaxws/wsrm/WEB-INF/secure/standard-jaxws-endpoint-config.xml"
prefix="META-INF" />
+ </war>
+
+ <jar jarfile="${tests.output.dir}/test-libs/jaxws-wsrm-client.jar">
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/wsrm/META-INF">
+ <include name="wsrm-jaxws-client-config.xml" />
+ </metainf>
+ </jar>
+
+ <jar
jarfile="${tests.output.dir}/test-libs/jaxws-secured-wsrm-client.jar">
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/wsrm/META-INF">
+ <include name="wsrm-jaxws-client-config.xml" />
+ </metainf>
+ <metainf
dir="${tests.output.dir}/test-resources/jaxws/wsrm/wssecurity/META-INF">
+ <include name="jboss-wsse-client.xml" />
+ </metainf>
+ </jar>
+
+ <!-- Please add alphabetically -->
+
+ </target>
+
</project>
Added:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/JBWS3071TestCase.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/JBWS3071TestCase.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/JBWS3071TestCase.java 2010-07-12
16:24:42 UTC (rev 12629)
@@ -0,0 +1,133 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat Middleware LLC, and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+*/
+package org.jboss.test.ws.jaxws.jbws3071;
+
+import java.net.URL;
+import java.util.concurrent.ExecutionException;
+import java.util.concurrent.Future;
+import java.util.concurrent.TimeUnit;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Response;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test case to test JBWS-3071 for the correct
+ * exception mapping for async endpoints.
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 12th July 2010
+ */
+public class JBWS3071TestCase extends JBossWSTest
+{
+
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() +
":8080/jaxws-jbws3071/";
+
+ private static TestEndpoint port;
+
+ public static Test suite() throws Exception
+ {
+ return new JBossWSTestSetup(JBWS3071TestCase.class,
"jaxws-jbws3071.war");
+ }
+
+ public void setUp() throws Exception
+ {
+ super.setUp();
+ URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
+ QName serviceName = new
QName("http://ws.test.jboss.org/jbws3071",
"TestEndpointService");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ port = service.getPort(TestEndpoint.class);
+ }
+
+ public void testEchoSynchronous() throws Exception
+ {
+ assertEquals("Response", "Message_1",
port.echo("Message_1"));
+ }
+
+ public void testEchoFailSynchronous() throws Exception
+ {
+ try
+ {
+ String response = port.echo("FAIL");
+ fail("Expected 'TestException' not thrown.");
+ }
+ catch (TestException ignored)
+ {
+ }
+ }
+
+ public void testEchoAsyncResponse() throws Exception
+ {
+ Response<String> echoResponse = port.echoAsync("Message_2");
+ String response = echoResponse.get(2, TimeUnit.SECONDS);
+ assertEquals("Response", "Message_2", response);
+ }
+
+ public void testEchoAsyncFuture() throws Exception
+ {
+ StringHandler handler = new StringHandler();
+ Future future = port.echoAsync("Message_3", handler);
+ future.get(2, TimeUnit.SECONDS);
+ Response<String> echoResponse = handler.getResponse();
+ String response = echoResponse.get(2, TimeUnit.SECONDS);
+ assertEquals("Response", "Message_3", response);
+ }
+
+ public void testEchoFailAsyncResponse() throws Exception
+ {
+ Response<String> echoResponse = port.echoAsync("FAIL");
+ try
+ {
+ echoResponse.get(2, TimeUnit.SECONDS);
+ fail("Expected 'ExecutionException' not thrown.");
+ }
+ catch (ExecutionException ee)
+ {
+ Exception cause = (Exception)ee.getCause();
+ assertEquals("Cause Type", TestException.class, cause.getClass());
+ }
+
+ }
+
+ public void testEchoFailAsyncFuture() throws Exception
+ {
+ StringHandler handler = new StringHandler();
+ Future future = port.echoAsync("FAIL", handler);
+ try
+ {
+ future.get(2, TimeUnit.SECONDS);
+ fail("Expected 'ExecutionException' not thrown.");
+ }
+ catch (ExecutionException ee)
+ {
+ Exception cause = (Exception)ee.getCause();
+ assertEquals("Cause Type", TestException.class, cause.getClass());
+ }
+ }
+
+}
Property changes on:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/JBWS3071TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/StringHandler.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/StringHandler.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/StringHandler.java 2010-07-12
16:24:42 UTC (rev 12629)
@@ -0,0 +1,47 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat Middleware LLC, and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+*/
+package org.jboss.test.ws.jaxws.jbws3071;
+
+import javax.xml.ws.AsyncHandler;
+import javax.xml.ws.Response;
+
+/**
+ * @author darran.lofthouse(a)jboss.com
+ * @since 12th July 2010
+ */
+public class StringHandler implements AsyncHandler<String>
+{
+
+ private Response<String> response;
+
+ @Override
+ public void handleResponse(Response<String> res)
+ {
+ this.response = res;
+ }
+
+ public Response<String> getResponse()
+ {
+ return response;
+ }
+
+}
Property changes on:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/StringHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestEndpoint.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestEndpoint.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestEndpoint.java 2010-07-12
16:24:42 UTC (rev 12629)
@@ -0,0 +1,49 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat Middleware LLC, and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+*/
+package org.jboss.test.ws.jaxws.jbws3071;
+
+import java.util.concurrent.Future;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.xml.ws.AsyncHandler;
+import javax.xml.ws.Response;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 12th July 2010
+ */
+@WebService(name = "TestEndpoint", serviceName =
"TestEndpointService", targetNamespace =
"http://ws.test.jboss.org/jbws3071")
+public interface TestEndpoint
+{
+
+ @WebMethod(operationName = "echo")
+ public String echo(String message) throws TestException;
+
+ @WebMethod(operationName = "echo")
+ public Response<String> echoAsync(String message) throws TestException;
+
+ @WebMethod(operationName = "echo")
+ public Future<?> echoAsync(String message, AsyncHandler<String> handler)
throws TestException;
+
+}
Property changes on:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestEndpoint.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestEndpointImpl.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestEndpointImpl.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestEndpointImpl.java 2010-07-12
16:24:42 UTC (rev 12629)
@@ -0,0 +1,45 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat Middleware LLC, and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+*/
+package org.jboss.test.ws.jaxws.jbws3071;
+
+import javax.jws.WebService;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 12th July 2010
+ */
+@WebService(name = "TestEndpoint", serviceName =
"TestEndpointService", targetNamespace =
"http://ws.test.jboss.org/jbws3071")
+public class TestEndpointImpl
+{
+
+ public String echo(String message) throws TestException
+ {
+ if ("FAIL".equals(message))
+ {
+ throw new TestException(message);
+ }
+
+ return message;
+ }
+
+}
Property changes on:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestEndpointImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestException.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestException.java
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestException.java 2010-07-12
16:24:42 UTC (rev 12629)
@@ -0,0 +1,37 @@
+/*
+* JBoss, Home of Professional Open Source.
+* Copyright 2010, Red Hat Middleware LLC, and individual contributors
+* as indicated by the @author tags. See the copyright.txt file in the
+* distribution for a full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+*/
+package org.jboss.test.ws.jaxws.jbws3071;
+
+/**
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 12th July 2010
+ */
+public class TestException extends Exception
+{
+
+ public TestException(String message)
+ {
+ super(message);
+ }
+
+}
Property changes on:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws3071/TestException.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/resources/jaxws/jbws3071/WEB-INF/web.xml
===================================================================
---
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/resources/jaxws/jbws3071/WEB-INF/web.xml
(rev 0)
+++
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/resources/jaxws/jbws3071/WEB-INF/web.xml 2010-07-12
16:24:42 UTC (rev 12629)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <servlet>
+ <servlet-name>TestEndpoint</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxws.jbws3071.TestEndpointImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestEndpoint</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
Property changes on:
stack/native/branches/dlofthouse/JBWS-3071/modules/testsuite/native-tests/src/test/resources/jaxws/jbws3071/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF