JBossWS SVN: r11569 - in stack/native/branches/jaxrpc-cxf: src/main/scripts and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-02-10 11:19:37 -0500 (Wed, 10 Feb 2010)
New Revision: 11569
Modified:
stack/native/branches/jaxrpc-cxf/modules/testsuite/framework-tests/pom.xml
stack/native/branches/jaxrpc-cxf/src/main/scripts/assembly-bin-dist.xml
Log:
[JBWS-2922] Build artifacts for jaxrpc tests in framework
Modified: stack/native/branches/jaxrpc-cxf/modules/testsuite/framework-tests/pom.xml
===================================================================
--- stack/native/branches/jaxrpc-cxf/modules/testsuite/framework-tests/pom.xml 2010-02-10 16:09:32 UTC (rev 11568)
+++ stack/native/branches/jaxrpc-cxf/modules/testsuite/framework-tests/pom.xml 2010-02-10 16:19:37 UTC (rev 11569)
@@ -111,6 +111,7 @@
<property name="tests.output.dir" value="${project.build.directory}" />
<ant antfile="src/test/ant-import/build-jars-jaxws.xml" target="build-jars-jaxws" />
<ant antfile="src/test/ant-import/build-samples-jaxws.xml" target="build-samples-jaxws" />
+ <ant antfile="src/test/ant-import/build-samples-jaxrpc.xml" target="build-samples-jaxrpc"/>
</tasks>
</configuration>
</execution>
Modified: stack/native/branches/jaxrpc-cxf/src/main/scripts/assembly-bin-dist.xml
===================================================================
--- stack/native/branches/jaxrpc-cxf/src/main/scripts/assembly-bin-dist.xml 2010-02-10 16:09:32 UTC (rev 11568)
+++ stack/native/branches/jaxrpc-cxf/src/main/scripts/assembly-bin-dist.xml 2010-02-10 16:19:37 UTC (rev 11569)
@@ -104,6 +104,7 @@
<include>java/org/jboss/test/ws/management/**</include>
<include>java/org/jboss/test/ws/projectGenerator/**</include>
<include>resources/console/**</include>
+ <include>resources/jaxrpc/samples/**</include>
<include>resources/jaxws/samples/**</include>
<include>resources/jaxws/smoke/**</include>
<include>resources/management/**</include>
14 years, 4 months
JBossWS SVN: r11568 - stack/native/branches/jaxrpc-cxf/modules/core/src/main/resources/META-INF/services.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-02-10 11:09:32 -0500 (Wed, 10 Feb 2010)
New Revision: 11568
Added:
stack/native/branches/jaxrpc-cxf/modules/core/src/main/resources/META-INF/services/javax.xml.rpc.ServiceFactory
Log:
[JBWS-2921][JBWS-2922] Add javax.xml.rpc.ServiceFactory configuration to jbossws-native-core
Added: stack/native/branches/jaxrpc-cxf/modules/core/src/main/resources/META-INF/services/javax.xml.rpc.ServiceFactory
===================================================================
--- stack/native/branches/jaxrpc-cxf/modules/core/src/main/resources/META-INF/services/javax.xml.rpc.ServiceFactory (rev 0)
+++ stack/native/branches/jaxrpc-cxf/modules/core/src/main/resources/META-INF/services/javax.xml.rpc.ServiceFactory 2010-02-10 16:09:32 UTC (rev 11568)
@@ -0,0 +1 @@
+org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl
\ No newline at end of file
14 years, 4 months
JBossWS SVN: r11567 - in framework/branches/jaxrpc-cxf/testsuite/test: java/org/jboss/test/ws/jaxrpc/samples and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-02-10 10:47:55 -0500 (Wed, 10 Feb 2010)
New Revision: 11567
Removed:
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/
Modified:
framework/branches/jaxrpc-cxf/testsuite/test/ant-import/build-samples-jaxrpc.xml
Log:
[JBWS-2922] Also removing ws-addressing jaxrpc testcase from framework, as that can't work with the common addressing implementation
Modified: framework/branches/jaxrpc-cxf/testsuite/test/ant-import/build-samples-jaxrpc.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/ant-import/build-samples-jaxrpc.xml 2010-02-10 15:35:45 UTC (rev 11566)
+++ framework/branches/jaxrpc-cxf/testsuite/test/ant-import/build-samples-jaxrpc.xml 2010-02-10 15:47:55 UTC (rev 11567)
@@ -493,54 +493,6 @@
</metainf>
</jar>
- <!-- jaxrpc-samples-wsaddr-hello.war -->
- <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-wsaddr-hello.war" webxml="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.class"/>
- <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_*.class"/>
- <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.class"/>
- </classes>
- <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/hello/WEB-INF">
- <include name="jaxrpc-mapping.xml"/>
- <include name="webservices.xml"/>
- <include name="wsdl/**"/>
- </webinf>
- </war>
- <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-wsaddr-replyto.war"
- webxml="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml">
- <classes dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.class"/>
- <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_*.class"/>
- <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.class"/>
- </classes>
- <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/replyto/WEB-INF">
- <include name="replyto-jaxrpc-mapping.xml"/>
- <include name="webservices.xml"/>
- <include name="wsdl/**"/>
- </webinf>
- </war>
- <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-wsaddr-hello-client.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.class"/>
- <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_*.class"/>
- <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.class"/>
- <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.class"/>
- <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_*.class"/>
- </fileset>
- <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/hello/META-INF">
- <include name="application-client.xml"/>
- <include name="jboss-client.xml"/>
- </metainf>
- <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/hello/WEB-INF">
- <include name="jaxrpc-mapping.xml"/>
- <include name="wsdl/**"/>
- </metainf>
- <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/replyto/WEB-INF">
- <include name="replyto-jaxrpc-mapping.xml"/>
- <include name="wsdl/**"/>
- </metainf>
- </jar>
-
<!-- Please add alphabetically -->
</target>
14 years, 4 months
JBossWS SVN: r11566 - stack/cxf/branches/jaxrpc-cxf/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-02-10 10:35:45 -0500 (Wed, 10 Feb 2010)
New Revision: 11566
Modified:
stack/cxf/branches/jaxrpc-cxf/modules/testsuite/pom.xml
Log:
[JBWS-2922] Fix surefire classpath
Modified: stack/cxf/branches/jaxrpc-cxf/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/branches/jaxrpc-cxf/modules/testsuite/pom.xml 2010-02-10 15:29:41 UTC (rev 11565)
+++ stack/cxf/branches/jaxrpc-cxf/modules/testsuite/pom.xml 2010-02-10 15:35:45 UTC (rev 11566)
@@ -367,6 +367,9 @@
<additionalClasspathElements>
<additionalClasspathElement>${jboss.home}/client/jbossall-client.jar</additionalClasspathElement>
<additionalClasspathElement>${jboss.home}/common/lib/jboss-ejb3-core.jar</additionalClasspathElement>
+ <!-- Libs below required just for jaxrpc tests; listed here to prevent CXF stack from depending on Native stack -->
+ <additionalClasspathElement>${jboss.home}/common/lib/jbossws-native-core.jar</additionalClasspathElement>
+ <additionalClasspathElement>${jboss.home}/common/lib/netty.jar</additionalClasspathElement>
</additionalClasspathElements>
</configuration>
</plugin>
@@ -419,6 +422,9 @@
<additionalClasspathElements>
<additionalClasspathElement>${jboss.home}/client/jbossall-client.jar</additionalClasspathElement>
<additionalClasspathElement>${jboss.home}/common/lib/jboss-ejb3-core.jar</additionalClasspathElement>
+ <!-- Libs below required just for jaxrpc tests; listed here to prevent CXF stack from depending on Native stack -->
+ <additionalClasspathElement>${jboss.home}/common/lib/jbossws-native-core.jar</additionalClasspathElement>
+ <additionalClasspathElement>${jboss.home}/common/lib/netty.jar</additionalClasspathElement>
</additionalClasspathElements>
</configuration>
</plugin>
@@ -470,6 +476,9 @@
<additionalClasspathElements>
<additionalClasspathElement>${jboss.home}/client/jbossall-client.jar</additionalClasspathElement>
<additionalClasspathElement>${jboss.home}/common/lib/jboss-ejb3-core.jar</additionalClasspathElement>
+ <!-- Libs below required just for jaxrpc tests; listed here to prevent CXF stack from depending on Native stack -->
+ <additionalClasspathElement>${jboss.home}/common/lib/jbossws-native-core.jar</additionalClasspathElement>
+ <additionalClasspathElement>${jboss.home}/common/lib/netty.jar</additionalClasspathElement>
</additionalClasspathElements>
</configuration>
</plugin>
@@ -521,6 +530,9 @@
<additionalClasspathElements>
<additionalClasspathElement>${jboss.home}/client/jbossall-client.jar</additionalClasspathElement>
<additionalClasspathElement>${jboss.home}/common/lib/jboss-ejb3-core.jar</additionalClasspathElement>
+ <!-- Libs below required just for jaxrpc tests; listed here to prevent CXF stack from depending on Native stack -->
+ <additionalClasspathElement>${jboss.home}/common/lib/jbossws-native-core.jar</additionalClasspathElement>
+ <additionalClasspathElement>${jboss.home}/common/lib/netty.jar</additionalClasspathElement>
</additionalClasspathElements>
</configuration>
</plugin>
14 years, 4 months
JBossWS SVN: r11565 - in stack/cxf/branches/jaxrpc-cxf: src/main/scripts and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-02-10 10:29:41 -0500 (Wed, 10 Feb 2010)
New Revision: 11565
Modified:
stack/cxf/branches/jaxrpc-cxf/modules/testsuite/framework-tests/pom.xml
stack/cxf/branches/jaxrpc-cxf/src/main/scripts/assembly-bin-dist.xml
Log:
[JBWS-2922] Adding jaxrpc tests to the testsuite
Modified: stack/cxf/branches/jaxrpc-cxf/modules/testsuite/framework-tests/pom.xml
===================================================================
--- stack/cxf/branches/jaxrpc-cxf/modules/testsuite/framework-tests/pom.xml 2010-02-10 15:27:15 UTC (rev 11564)
+++ stack/cxf/branches/jaxrpc-cxf/modules/testsuite/framework-tests/pom.xml 2010-02-10 15:29:41 UTC (rev 11565)
@@ -112,6 +112,7 @@
<property name="tests.output.dir" value="${project.build.directory}"/>
<ant antfile="src/test/ant-import/build-jars-jaxws.xml" target="build-jars-jaxws"/>
<ant antfile="src/test/ant-import/build-samples-jaxws.xml" target="build-samples-jaxws"/>
+ <ant antfile="src/test/ant-import/build-samples-jaxrpc.xml" target="build-samples-jaxrpc"/>
</tasks>
</configuration>
</execution>
Modified: stack/cxf/branches/jaxrpc-cxf/src/main/scripts/assembly-bin-dist.xml
===================================================================
--- stack/cxf/branches/jaxrpc-cxf/src/main/scripts/assembly-bin-dist.xml 2010-02-10 15:27:15 UTC (rev 11564)
+++ stack/cxf/branches/jaxrpc-cxf/src/main/scripts/assembly-bin-dist.xml 2010-02-10 15:29:41 UTC (rev 11565)
@@ -105,6 +105,7 @@
<include>java/org/jboss/test/ws/projectGenerator/**</include>
<include>resources/console/**</include>
<include>resources/jaxws/samples/**</include>
+ <include>resources/jaxrpc/samples/**</include>
<include>resources/jaxws/smoke/**</include>
<include>resources/management/**</include>
<include>resources/projectGenerator/**</include>
14 years, 4 months
JBossWS SVN: r11564 - in framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples: docstyle/bare and 17 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-02-10 10:27:15 -0500 (Wed, 10 Feb 2010)
New Revision: 11564
Removed:
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-java-wsdl.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-wsdl-java.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/
Log:
[JBWS-2922] Removing unused files
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
-
- <java-wsdl>
- <service name="SampleService" style="document" parameter-style="bare" endpoint="org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialService" />
- <namespaces target-namespace="http://org.jboss.ws/samples/docstyle/bare" type-namespace="http://org.jboss.ws/samples/docstyle/bare/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TrivialEndpoint"/>
- </java-wsdl>
-
-</configuration>
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
-
- <java-wsdl>
- <service name="SampleService" style="document" endpoint="org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped.TrivialService" />
- <namespaces target-namespace="http://org.jboss.ws/samples/docstyle/wrapped" type-namespace="http://org.jboss.ws/samples/docstyle/wrapped/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TrivialEndpoint"/>
- </java-wsdl>
-
-</configuration>
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="ExceptionService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.exception.ExceptionServiceInterface"/>
- <namespaces target-namespace="http://org.jboss.ws/samples/exception" type-namespace="http://org.jboss.ws/samples/exception/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TestService"/>
- </java-wsdl>
-</configuration>
-
-<!--
-Add the following to webservices.xml
-
-<handler>
- <handler-name>ServerHandler</handler-name>
- <handler-class>org.jboss.test.ws.jaxrpc.samples.exception.ServerHandler</handler-class>
-</handler>
--->
\ No newline at end of file
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.handler.HeaderTestService">
- <operation name="testInHeader">
- <parameter type="java.lang.String"/>
- <parameter type="java.lang.String" xml-name="headerMsg" header="true"/>
- </operation>
- <operation name="testInOutHeader">
- <parameter type="java.lang.String"/>
- <parameter type="javax.xml.rpc.holders.StringHolder" xml-name="headerMsg" header="true" mode="INOUT"/>
- </operation>
- <operation name="testOutHeader">
- <parameter type="java.lang.String"/>
- <parameter type="javax.xml.rpc.holders.StringHolder" xml-name="headerMsg" header="true" mode="OUT"/>
- </operation>
- </service>
- <namespaces target-namespace="http://org.jboss.ws/samples/handler" type-namespace="http://org.jboss.ws/samples/handler/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TestService"/>
- </java-wsdl>
-</configuration>
-
-<!--
- Add to webservices.xml
-
- <handler>
- <handler-name>HeaderTestHandler</handler-name>
- <handler-class>org.jboss.test.ws.jaxrpc.samples.handler.HeaderTestHandler</handler-class>
- <init-param>
- <param-name>ServerParam1</param-name>
- <param-value>value1</param-value>
- </init-param>
- <init-param>
- <param-name>ServerParam2</param-name>
- <param-value>value2</param-value>
- </init-param>
- <soap-header xmlns:ns1='http://somens'>ns1:InHeader</soap-header>
- <soap-header xmlns:ns1='http://somens'>ns1:OutHeader</soap-header>
- <soap-header xmlns:ns1='http://somens'>ns1:InOutHeader</soap-header>
- <soap-role>role1</soap-role>
- </handler>
--->
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.holder.HolderTestService"/>
- <namespaces target-namespace="http://org.jboss.ws/samples/holder" type-namespace="http://org.jboss.ws/samples/holder/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TestService"/>
- </java-wsdl>
-</configuration>
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="TestService" style="document" endpoint="org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService"/>
- <namespaces target-namespace="http://org.jboss.ws/samples/jsr109ejb" type-namespace="http://org.jboss.ws/samples/jsr109ejb/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices ejb-link="TestService"/>
- </java-wsdl>
-</configuration>
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService"/>
- <namespaces target-namespace="http://org.jboss.ws/samples/jsr109ejb" type-namespace="http://org.jboss.ws/samples/jsr109ejb/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices ejb-link="TestService"/>
- </java-wsdl>
-</configuration>
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="TestService" style="document" endpoint="org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService"/>
- <namespaces target-namespace="http://org.jboss.ws/samples/jsr109pojo" type-namespace="http://org.jboss.ws/samples/jsr109pojo/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TestService"/>
- </java-wsdl>
-</configuration>
\ No newline at end of file
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService"/>
- <namespaces target-namespace="http://org.jboss.ws/samples/jsr109pojo" type-namespace="http://org.jboss.ws/samples/jsr109pojo/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TestService"/>
- </java-wsdl>
-</configuration>
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="MessageService" style="document" parameter-style="bare" endpoint="org.jboss.test.ws.jaxrpc.samples.message.MessageTestService">
- <operation name="processElement" return-xml-name="Response">
- <parameter type="javax.xml.soap.SOAPElement" xml-name="Order"/>
- </operation>
- </service>
- <namespaces target-namespace="http://org.jboss.ws/samples/message" type-namespace="http://org.jboss.ws/samples/message/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TestService"/>
- </java-wsdl>
-</configuration>
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.mtom.EmployeeRecords">
- <operation>
- <name>sendMimeImageGIF</name>
- <parameter>
- <java-type>java.lang.String</java-type>
- </parameter>
- <parameter>
- <java-type>java.lang.Object</java-type>
- <xml-name>mimepart</xml-name>
- <mime-type>image/gif</mime-type>
- </parameter>
- </operation>
- <operation>
- <name>sendMimeImageJPEG</name>
- <parameter>
- <java-type>java.lang.String</java-type>
- </parameter>
- <parameter>
- <java-type>java.lang.Object</java-type>
- <xml-name>mimepart</xml-name>
- <mime-type>image/jpeg</mime-type>
- </parameter>
- </operation>
- <operation>
- <name>sendMimeTextPlain</name>
- <parameter>
- <java-type>java.lang.String</java-type>
- </parameter>
- <parameter>
- <java-type>java.lang.Object</java-type>
- <xml-name>mimepart</xml-name>
- <mime-type>text/plain</mime-type>
- </parameter>
- </operation>
- <operation>
- <name>sendMimeMultipart</name>
- <parameter>
- <java-type>java.lang.String</java-type>
- </parameter>
- <parameter>
- <java-type>java.lang.Object</java-type>
- <xml-name>mimepart</xml-name>
- <mime-type>multipart</mime-type>
- </parameter>
- </operation>
- <operation>
- <name>sendMimeTextXML</name>
- <parameter>
- <java-type>java.lang.String</java-type>
- </parameter>
- <parameter>
- <java-type>java.lang.Object</java-type>
- <xml-name>mimepart</xml-name>
- <mime-type>text/xml</mime-type>
- </parameter>
- </operation>
- <operation>
- <name>sendMimeApplicationXML</name>
- <parameter>
- <java-type>java.lang.String</java-type>
- </parameter>
- <parameter>
- <java-type>java.lang.Object</java-type>
- <xml-name>mimepart</xml-name>
- <mime-type>application/xml</mime-type>
- </parameter>
- </operation>
- </service>
- <namespaces target-namespace="http://org.jboss.ws/samples/mtom" type-namespace="http://org.jboss.ws/samples/mtom/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TestService"/>
- </java-wsdl>
-</configuration>
\ No newline at end of file
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.oneway.OneWayTestService">
- <operation name="oneWay" one-way="true">
- <parameter type="java.lang.String"/>
- </operation>
- </service>
- <namespaces target-namespace="http://org.jboss.ws/samples/oneway" type-namespace="http://org.jboss.ws/samples/one-way=/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TestService"/>
- </java-wsdl>
-</configuration>
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
-
- <java-wsdl>
- <service name="SampleService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.rpcstyle.TrivialService"/>
- <namespaces target-namespace="http://org.jboss.ws/samples/rpcstyle" type-namespace="http://org.jboss.ws/samples/rpcstyle/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TrivialEndpoint"/>
- </java-wsdl>
-
-</configuration>
\ No newline at end of file
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
-
- <java-wsdl>
- <service name="OrganizationService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationService"/>
- <namespaces target-namespace="http://org.jboss.ws/samples/secureejb" type-namespace="http://org.jboss.ws/samples/secureejb/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- </java-wsdl>
-
-</configuration>
-
-<!--
- <service name="OrganizationService">
- <port name="BasicSecuredPort" binding="tns:OrganizationServiceBinding">
- <soap:address location="http://localhost:8080/jaxrpc-samples-ejb/BasicSecured"/>
- </port>
- <port name="RoleSecuredPort" binding="tns:OrganizationServiceBinding">
- <soap:address location="http://localhost:8080/jaxrpc-samples-ejb/RoleSecured"/>
- </port>
- </service>
--->
\ No newline at end of file
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-java-wsdl.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-java-wsdl.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-java-wsdl.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../../../output/classes -config wstools-java-wsdl.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
-
- <global>
- <package-namespace package="org.jboss.test.ws.jaxrpc.samples.serviceref" namespace="http://org.jboss.ws/wsref"/>
- </global>
-
- <java-wsdl>
- <service name="TestEndpointService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint"/>
- <namespaces target-namespace="http://org.jboss.ws/wsref" type-namespace="http://org.jboss.ws/wsref/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TestEndpoint"/>
- </java-wsdl>
-
-</configuration>
\ No newline at end of file
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-wsdl-java.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-wsdl-java.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-wsdl-java.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -config wstools-wsdl-java.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
-
- <global>
- <package-namespace package="org.jboss.test.ws.jaxrpc.samples.serviceref" namespace="http://org.jboss.ws/wsref"/>
- </global>
-
- <wsdl-java location="META-INF/wsdl/TestEndpoint.wsdl">
- <mapping file="jaxrpc-mapping.xml"/>
- </wsdl-java>
-
-</configuration>
\ No newline at end of file
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.swa.Attachment">
- <operation>
- <name>sendMimeImageGIF</name>
- <parameter>
- <java-type>java.lang.String</java-type>
- </parameter>
- <parameter>
- <java-type>java.lang.Object</java-type>
- <xml-name>mimepart</xml-name>
- <mime-type>image/gif</mime-type>
- </parameter>
- </operation>
- <operation>
- <name>sendMimeImageJPEG</name>
- <parameter>
- <java-type>java.lang.String</java-type>
- </parameter>
- <parameter>
- <java-type>java.lang.Object</java-type>
- <xml-name>mimepart</xml-name>
- <mime-type>image/jpeg</mime-type>
- </parameter>
- </operation>
- <operation>
- <name>sendMimeTextPlain</name>
- <parameter>
- <java-type>java.lang.String</java-type>
- </parameter>
- <parameter>
- <java-type>java.lang.Object</java-type>
- <xml-name>mimepart</xml-name>
- <mime-type>text/plain</mime-type>
- </parameter>
- </operation>
- <operation>
- <name>sendMimeMultipart</name>
- <parameter>
- <java-type>java.lang.String</java-type>
- </parameter>
- <parameter>
- <java-type>java.lang.Object</java-type>
- <xml-name>mimepart</xml-name>
- <mime-type>multipart</mime-type>
- </parameter>
- </operation>
- <operation>
- <name>sendMimeTextXML</name>
- <parameter>
- <java-type>java.lang.String</java-type>
- </parameter>
- <parameter>
- <java-type>java.lang.Object</java-type>
- <xml-name>mimepart</xml-name>
- <mime-type>text/xml</mime-type>
- </parameter>
- </operation>
- <operation>
- <name>sendMimeApplicationXML</name>
- <parameter>
- <java-type>java.lang.String</java-type>
- </parameter>
- <parameter>
- <java-type>java.lang.Object</java-type>
- <xml-name>mimepart</xml-name>
- <mime-type>application/xml</mime-type>
- </parameter>
- </operation>
- </service>
- <namespaces target-namespace="http://org.jboss.ws/samples/swa" type-namespace="http://org.jboss.ws/samples/swa/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="TestService"/>
- </java-wsdl>
-</configuration>
\ No newline at end of file
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="HelloService" style="document" endpoint="org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.Hello">
- <operation name="sayHello" one-way="false" return-xml-name="result">
- <parameter type="java.lang.String" xml-name="String_1"/>
- </operation>
- </service>
- <namespaces target-namespace="http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto" type-namespace="http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types"/>
- <mapping file="jaxrpc-mapping.xml"/>
- <webservices servlet-link="HelloService"/>
- </java-wsdl>
-</configuration>
Deleted: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml 2010-02-10 15:27:15 UTC (rev 11564)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -cp ../../../output/classes -config wstools-config.xml
--->
-
-<configuration xmlns="http://www.jboss.org/jbossws-tools"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
- <java-wsdl>
- <service name="ReplyToService" style="document" parameter-style="wrapped" endpoint="org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyTo">
- <operation name="sayHelloResponse" one-way="true">
- <parameter type="java.lang.String" xml-name="result"/>
- </operation>
- <operation name="getLastMessage" one-way="false" return-xml-name="result"/>
- </service>
- <namespaces target-namespace="http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto" type-namespace="http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types"/>
- <mapping file="replyto-jaxrpc-mapping.xml"/>
- <webservices servlet-link="ReplyToService"/>
- </java-wsdl>
-</configuration>
14 years, 4 months
JBossWS SVN: r11563 - in framework/branches/jaxrpc-cxf/testsuite/test: java/org/jboss/test/ws and 127 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-02-10 09:56:59 -0500 (Wed, 10 Feb 2010)
New Revision: 11563
Added:
framework/branches/jaxrpc-cxf/testsuite/test/ant-import/build-samples-jaxrpc.xml
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialEndpointJSE.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialServiceDocBareTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialEndpointJSE.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialServiceDocWrappedTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService_purchase_RequestStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService_purchase_ResponseStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ComplexUserArrayException.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ComplexUserException.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionBeanImpl.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionServiceInterface.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ServerHandler.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/UserException.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/UserMessageException.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/ClientSideHandler.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderClientTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderTestService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderTestServiceBean.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/ServerSideHandler.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderDIITestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestServiceBean.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/DocEJBTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcEJBEndpoint.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_RequestStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_RequestStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_ResponseStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/RpcEJBTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/SimpleUserType.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/DocJSETestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcJSEEndpoint.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_RequestStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_RequestStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_ResponseStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/RpcJSETestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/SimpleUserType.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestServiceBean.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Employee.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecords.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecordsImpl.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/HRService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/MTOMTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Query.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Status.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayServiceBean.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayTestService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialEndpointJSE.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialServiceRpcTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationHome.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationImpl.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationRemote.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/SecureEJBTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ApplicationClient.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBClient.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemote.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemoteHome.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ExampleHandler.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefClientTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefEJBTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefServletTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServletClient.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointImpl.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/Attachment.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentDIITestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentImpl.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentProxyTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/AddressingReplyToTestCase.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_sayHello_RequestStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_sayHello_ResponseStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_getLastMessage_RequestStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_getLastMessage_ResponseStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_sayHelloResponse_RequestStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/wsdl/SampleService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/wsdl/SampleService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/wsdl/TestService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/wsdl/ExceptionService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/fault-envelopes.txt
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/wsdl/TestService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/wsdl/TestService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/ejb-jar.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss-service.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/wsdl/OrganizationService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/ejb-jar.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_RequestStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_RequestStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_ResponseStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/wsdl/TestService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/ejb-jar.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/wsdl/TestService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_RequestStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_RequestStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_ResponseStruct.java
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/wsdl/TestService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/jboss-web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/wsdl/TestService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/wsdl/MessageService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/wsdl/EmployeeService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/wsdl/TestService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/wsdl/SampleService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/ejb-jar.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jboss.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/wsdl/OrganizationService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/ejb-jar.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/servlet-client/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/servlet-client/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/servlet-client/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-java-wsdl.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-wsdl-java.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/wsdl/Attachment.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.gif
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.html
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.jpeg
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.txt
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jboss-web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/wsdl/HelloService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/jboss-web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/replyto-jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/wsdl/ReplyToService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/jaxrpc-mapping.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/webservices.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/wsdl/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/wsdl/HelloService.wsdl
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/keystore.password
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-wsse-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/jboss-wsse-server.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-wsse-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/jboss-wsse-server.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/application-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-wsse-client.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/WEB-INF/
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/WEB-INF/web.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/jboss-wsse-server.xml
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/wsse.keystore
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/wsse.truststore
framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/wstools-config.xml
Log:
[JBWS-2922] Add some basica jaxrpc sample testcases to framework (using standard jaxrpc only, no native extensions)
Added: framework/branches/jaxrpc-cxf/testsuite/test/ant-import/build-samples-jaxrpc.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/ant-import/build-samples-jaxrpc.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/ant-import/build-samples-jaxrpc.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,548 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ============================================================ -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at http://www.gnu.org. -->
+<!-- ============================================================ -->
+
+<project>
+
+ <!-- ================================================================== -->
+ <!-- Building -->
+ <!-- ================================================================== -->
+
+ <target name="build-samples-jaxrpc" description="Build the jaxrpc samples deployments">
+
+ <mkdir dir="${tests.output.dir}/test-libs"/>
+
+ <!-- jaxrpc-samples-docstyle-bare -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-docstyle-bare.war"
+ webxml="${tests.output.dir}/test-resources/jaxrpc/samples/docstyle/bare/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialEndpointJSE.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/docstyle/bare/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-docstyle-bare-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/docstyle/bare/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/docstyle/bare/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-docstyle-wrapped -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-docstyle-wrapped.war"
+ webxml="${tests.output.dir}/test-resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialEndpointJSE.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService*RequestStruct.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService*ResponseStruct.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/docstyle/wrapped/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-docstyle-wrapped-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService*RequestStruct.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService*ResponseStruct.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/docstyle/wrapped/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/docstyle/wrapped/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-exception -->
+ <war destfile="${tests.output.dir}/test-libs/jaxrpc-samples-exception.war" webxml="${tests.output.dir}/test-resources/jaxrpc/samples/exception/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/exception/*Exception.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/exception/ServerHandler.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/exception/ExceptionServiceInterface.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/exception/ExceptionBeanImpl.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/exception/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar destfile="${tests.output.dir}/test-libs/jaxrpc-samples-exception-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/exception/*Exception.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/exception/ExceptionServiceInterface.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/exception/ExceptionService.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/exception/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/exception/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-handler -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-handler.war" webxml="${tests.output.dir}/test-resources/jaxrpc/samples/handler/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/handler/*Service.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/handler/*ServiceBean.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/handler/ServerSideHandler.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/handler/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-handler-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/handler/*Service.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/handler/ClientSideHandler.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/handler/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/handler/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-holder -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-holder.war" webxml="${tests.output.dir}/test-resources/jaxrpc/samples/holder/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/holder/*Service.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/holder/*ServiceBean.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/holder/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-holder-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/holder/*Service.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/holder/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/holder/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-jsr109ejb-rpc -->
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-jsr109ejb-rpc.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Type.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Service.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*EJBEndpoint.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF">
+ <include name="ejb-jar.xml"/>
+ <include name="jboss.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-jsr109ejb-rpc-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Type.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Service.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-jsr109ejb-doc -->
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-jsr109ejb-doc.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Type.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Struct.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Service.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*EJBEndpoint.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/jsr109ejb/doclit/META-INF">
+ <include name="ejb-jar.xml"/>
+ <include name="jboss.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-jsr109ejb-doc-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Type.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Struct.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Service.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/jsr109ejb/doclit/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-jsr109pojo-rpc -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-jsr109pojo-rpc.war"
+ webxml="${tests.output.dir}/test-resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Type.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Service.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*JSEEndpoint.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="jboss-web.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-jsr109pojo-rpc-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Type.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Service.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-jsr109pojo-doc -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-jsr109pojo-doc.war"
+ webxml="${tests.output.dir}/test-resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Type.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Struct.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Service.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*JSEEndpoint.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-jsr109pojo-doc-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Type.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Struct.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Service.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/jsr109pojo/doclit/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-message -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-message.war" webxml="${tests.output.dir}/test-resources/jaxrpc/samples/message/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/message/*Service.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/message/*ServiceBean.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/message/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-message-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/message/*Service.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/message/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/message/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-mtom -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-mtom.war" webxml="${tests.output.dir}/test-resources/jaxrpc/samples/mtom/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/mtom/**"/>
+ <exclude name="org/jboss/test/ws/jaxrpc/samples/mtom/MTOMTestCase.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/mtom/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar destfile="${tests.output.dir}/test-libs/jaxrpc-samples-mtom-client.jar">
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/mtom/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/mtom/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-oneway -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-oneway.war" webxml="${tests.output.dir}/test-resources/jaxrpc/samples/oneway/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/oneway/*Service.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/oneway/*ServiceBean.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/oneway/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-oneway-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/oneway/*Service.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/oneway/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/oneway/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-rpcstyle -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-rpcstyle.war" webxml="${tests.output.dir}/test-resources/jaxrpc/samples/rpcstyle/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialEndpointJSE.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialService.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/rpcstyle/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-rpcstyle-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialService.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/rpcstyle/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/rpcstyle/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-secureejb -->
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-secureejb.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationService.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationHome.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationRemote.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationImpl.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/secureejb/META-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="ejb-jar.xml"/>
+ <include name="jboss.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-secureejb-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationService.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationHome.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationRemote.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/secureejb/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-serviceref -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-serviceref.war" webxml="${tests.output.dir}/test-resources/jaxrpc/samples/serviceref/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointImpl.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/serviceref/META-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/serviceref/WEB-INF">
+ <include name="webservices.xml"/>
+ </webinf>
+ </war>
+ <jar destfile="${tests.output.dir}/test-libs/jaxrpc-samples-serviceref-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/ApplicationClient.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/serviceref/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+ <war destfile="${tests.output.dir}/test-libs/jaxrpc-samples-serviceref-servlet-client.war"
+ webxml="${tests.output.dir}/test-resources/jaxrpc/samples/serviceref/servlet-client/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/ServletClient.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/ExampleHandler.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/serviceref/META-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar destfile="${tests.output.dir}/test-libs/jaxrpc-samples-serviceref-ejb-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/EJBClient.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemote.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemoteHome.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/serviceref/META-INF">
+ <include name="ejb-jar.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-swa -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-swa.war" webxml="${tests.output.dir}/test-resources/jaxrpc/samples/swa/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/swa/AttachmentImpl.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/swa/Attachment.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/swa/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar destfile="${tests.output.dir}/test-libs/jaxrpc-samples-swa-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/swa/Attachment.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/swa/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/swa/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxrpc-samples-wsaddr-hello.war -->
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-wsaddr-hello.war" webxml="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_*.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/hello/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <war warfile="${tests.output.dir}/test-libs/jaxrpc-samples-wsaddr-replyto.war"
+ webxml="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_*.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/replyto/WEB-INF">
+ <include name="replyto-jaxrpc-mapping.xml"/>
+ <include name="webservices.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <jar jarfile="${tests.output.dir}/test-libs/jaxrpc-samples-wsaddr-hello-client.jar">
+ <fileset dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_*.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.class"/>
+ <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_*.class"/>
+ </fileset>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/hello/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/hello/WEB-INF">
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ <metainf dir="${tests.output.dir}/test-resources/jaxrpc/samples/wsaddr/replyto/WEB-INF">
+ <include name="replyto-jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- Please add alphabetically -->
+
+ </target>
+
+</project>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/ant-import/build-samples-jaxrpc.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialEndpointJSE.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialEndpointJSE.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialEndpointJSE.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.docstyle.bare;
+
+import org.jboss.logging.Logger;
+
+/**
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 04-Jun-2005
+ */
+public class TrivialEndpointJSE implements TrivialService
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(TrivialEndpointJSE.class);
+
+ public TrivialOrderResponse purchase(TrivialOrder order)
+ {
+ log.info("purchase: " + order);
+ String person = order.getPerson();
+ String product = order.getProduct();
+ TrivialOrderResponse res = new TrivialOrderResponse("ok" + person + product);
+ return res;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialEndpointJSE.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,88 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.docstyle.bare;
+
+/**
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 04-Jun-2005
+ */
+public class TrivialOrder
+{
+ private String person;
+ private String product;
+
+ public TrivialOrder()
+ {
+ }
+
+ public TrivialOrder(String person, String product)
+ {
+ this.person = person;
+ this.product = product;
+ }
+
+ public String getPerson()
+ {
+ return person;
+ }
+
+ public void setPerson(String person)
+ {
+ this.person = person;
+ }
+
+ public String getProduct()
+ {
+ return product;
+ }
+
+ public void setProduct(String product)
+ {
+ this.product = product;
+ }
+
+ public boolean equals(Object o)
+ {
+ if (this == o) return true;
+ if (!(o instanceof TrivialOrder)) return false;
+
+ final TrivialOrder trivialOrder = (TrivialOrder)o;
+
+ if (person != null ? !person.equals(trivialOrder.person) : trivialOrder.person != null) return false;
+ if (product != null ? !product.equals(trivialOrder.product) : trivialOrder.product != null) return false;
+
+ return true;
+ }
+
+ public int hashCode()
+ {
+ int result;
+ result = (person != null ? person.hashCode() : 0);
+ result = 29 * result + (product != null ? product.hashCode() : 0);
+ return result;
+ }
+
+ public String toString()
+ {
+ return "[person=" + person + ",product=" + product + "]";
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,72 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.docstyle.bare;
+
+/**
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 04-Jun-2005
+ */
+public class TrivialOrderResponse
+{
+ private String result;
+
+ public TrivialOrderResponse()
+ {
+ }
+
+ public TrivialOrderResponse(String status)
+ {
+ this.result = status;
+ }
+
+ public String getResult()
+ {
+ return result;
+ }
+
+ public void setResult(String result)
+ {
+ this.result = result;
+ }
+
+ public boolean equals(Object o)
+ {
+ if (this == o) return true;
+ if (!(o instanceof TrivialOrderResponse)) return false;
+
+ final TrivialOrderResponse trivialOrderResponse = (TrivialOrderResponse)o;
+
+ if (result != null ? !result.equals(trivialOrderResponse.result) : trivialOrderResponse.result != null) return false;
+
+ return true;
+ }
+
+ public int hashCode()
+ {
+ return (result != null ? result.hashCode() : 0);
+ }
+
+ public String toString()
+ {
+ return "[result=" + result + "]";
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.docstyle.bare;
+
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 04-Jun-2005
+ */
+public interface TrivialService extends Remote
+{
+ TrivialOrderResponse purchase(TrivialOrder order) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialServiceDocBareTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialServiceDocBareTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialServiceDocBareTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,68 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.docstyle.bare;
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test JSE test case for an document/literal/bare style service.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 25-Jan-2005
+ */
+public class TrivialServiceDocBareTestCase extends JBossWSTest
+{
+ private static TrivialService port;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(TrivialServiceDocBareTestCase.class, "jaxrpc-samples-docstyle-bare.war, jaxrpc-samples-docstyle-bare-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Object obj = iniCtx.lookup("java:comp/env/service/TrivialService");
+ Service service = (Service)obj;
+ port = (TrivialService)service.getPort(TrivialService.class);
+ }
+ }
+
+ public void testProducPurchase() throws Exception
+ {
+ String person = "Kermit";
+ String product = "Ferrari";
+ TrivialOrder req = new TrivialOrder(person, product);
+ TrivialOrderResponse res = port.purchase(req);
+ assertEquals("ok" + person + product, res.getResult());
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialServiceDocBareTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialEndpointJSE.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialEndpointJSE.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialEndpointJSE.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.docstyle.wrapped;
+
+import org.jboss.logging.Logger;
+
+/**
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 04-Jun-2005
+ */
+public class TrivialEndpointJSE implements TrivialService
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(TrivialEndpointJSE.class);
+
+ public String purchase (String person, String product)
+ {
+ log.info("purchase: " + person + "," + product);
+ return "ok" + person + product;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialEndpointJSE.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.docstyle.wrapped;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 04-Jun-2005
+ */
+public interface TrivialService extends Remote
+{
+ String purchase (String person, String product) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialServiceDocWrappedTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialServiceDocWrappedTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialServiceDocWrappedTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,66 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.docstyle.wrapped;
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test JSE test case for an document/literal/wrapped style service.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 25-Jan-2005
+ */
+public class TrivialServiceDocWrappedTestCase extends JBossWSTest
+{
+ private static TrivialService port;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(TrivialServiceDocWrappedTestCase.class, "jaxrpc-samples-docstyle-wrapped.war, jaxrpc-samples-docstyle-wrapped-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/TrivialService");
+ port = (TrivialService)service.getPort(TrivialService.class);
+ }
+ }
+
+ public void testProducTrivial() throws Exception
+ {
+ String person = "Kermit";
+ String product = "Ferrari";
+ String status = port.purchase(person, product);
+ assertEquals("ok" + person + product, status);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialServiceDocWrappedTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService_purchase_RequestStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService_purchase_RequestStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService_purchase_RequestStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,34 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:54 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped;
+
+
+public class TrivialService_purchase_RequestStruct
+{
+
+protected java.lang.String string_1;
+
+protected java.lang.String string_2;
+public TrivialService_purchase_RequestStruct(){}
+
+public TrivialService_purchase_RequestStruct(java.lang.String string_1, java.lang.String string_2){
+this.string_1=string_1;
+this.string_2=string_2;
+}
+public java.lang.String getString_1() { return string_1 ;}
+
+public void setString_1(java.lang.String string_1){ this.string_1=string_1; }
+
+public java.lang.String getString_2() { return string_2 ;}
+
+public void setString_2(java.lang.String string_2){ this.string_2=string_2; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService_purchase_RequestStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService_purchase_ResponseStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService_purchase_ResponseStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService_purchase_ResponseStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:54 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped;
+
+
+public class TrivialService_purchase_ResponseStruct
+{
+
+protected java.lang.String result;
+public TrivialService_purchase_ResponseStruct(){}
+
+public TrivialService_purchase_ResponseStruct(java.lang.String result){
+this.result=result;
+}
+public java.lang.String getResult() { return result ;}
+
+public void setResult(java.lang.String result){ this.result=result; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService_purchase_ResponseStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ComplexUserArrayException.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ComplexUserArrayException.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ComplexUserArrayException.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.exception;
+
+/**
+ * JAX-RPC 1.1 WSDLFault
+ *
+ * A service specific Java exception (mapped from a wsdl:fault and the corresponding
+ * wsdl:message) extends the class java.lang.Exception directly or indirectly.
+ *
+ * The single message part in the wsdl:message (referenced from the wsdl:fault
+ * element) may be either a type or an element. If the former, it can be either a
+ * xsd:complexType or a simple XML type.
+ *
+ * Each element inside the xsd:complexType is mapped to a getter method and a
+ * parameter in the constructor of the Java exception. Mapping of these elements follows
+ * the standard XML to Java type mapping.
+ *
+ * @author Thomas.Diesler(a)jboss.com
+ */
+public class ComplexUserArrayException extends Exception
+{
+ private int[] errorCodes;
+
+ /** Constructor used by wscompile */
+ public ComplexUserArrayException(String message, int[] errorCodes)
+ {
+ super(message);
+ this.errorCodes = errorCodes;
+ }
+
+ /** Constructor used by the marshalling layer */
+ public ComplexUserArrayException(String message)
+ {
+ super(message);
+ }
+
+ public int[] getErrorCodes()
+ {
+ return errorCodes;
+ }
+
+ /* http://jira.jboss.org/jira/browse/JBWS-714
+ * Read-only array properties not supported for service specific exceptions
+ public void setErrorCodes(int[] errorCodes)
+ {
+ this.errorCodes = errorCodes;
+ }
+ */
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ComplexUserArrayException.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ComplexUserException.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ComplexUserException.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ComplexUserException.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,54 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.exception;
+
+/**
+ * JAX-RPC 1.1 WSDLFault
+ *
+ * A service specific Java exception (mapped from a wsdl:fault and the corresponding
+ * wsdl:message) extends the class java.lang.Exception directly or indirectly.
+ *
+ * The single message part in the wsdl:message (referenced from the wsdl:fault
+ * element) may be either a type or an element. If the former, it can be either a
+ * xsd:complexType or a simple XML type.
+ *
+ * Each element inside the xsd:complexType is mapped to a getter method and a
+ * parameter in the constructor of the Java exception. Mapping of these elements follows
+ * the standard XML to Java type mapping.
+ *
+ * @author Thomas.Diesler(a)jboss.com
+ */
+public class ComplexUserException extends Exception
+{
+ private int errorCode;
+
+ public ComplexUserException(String message, int errorCode)
+ {
+ super(message);
+ this.errorCode = errorCode;
+ }
+
+ public int getErrorCode()
+ {
+ return errorCode;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ComplexUserException.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionBeanImpl.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionBeanImpl.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionBeanImpl.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,48 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.exception;
+
+/** A SLSB that throws custom exceptions
+ */
+public class ExceptionBeanImpl
+{
+ public void throwException() throws UserException
+ {
+ throw new UserException();
+ }
+
+ public void throwExceptionWithMessage(String message) throws UserMessageException
+ {
+ throw new UserMessageException(message);
+ }
+
+ public void throwComplexUserException(String message, int code) throws ComplexUserException
+ {
+ throw new ComplexUserException(message, code);
+ }
+
+ public void throwComplexUserArrayException(String message, int[] codes) throws ComplexUserArrayException
+ {
+ ComplexUserArrayException arrEx = new ComplexUserArrayException(message, codes);
+ throw arrEx;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionBeanImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,27 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.exception;
+
+public interface ExceptionService extends javax.xml.rpc.Service
+{
+ ExceptionServiceInterface getPort() throws javax.xml.rpc.ServiceException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionServiceInterface.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionServiceInterface.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionServiceInterface.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.exception;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+public interface ExceptionServiceInterface extends Remote
+{
+ void throwException() throws UserException, RemoteException;
+
+ void throwExceptionWithMessage(String message) throws UserMessageException, RemoteException;
+
+ void throwComplexUserException(String message, int code) throws ComplexUserException, RemoteException;
+
+ void throwComplexUserArrayException(String message, int[] code) throws ComplexUserArrayException, RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionServiceInterface.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,219 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.exception;
+
+import java.io.ByteArrayInputStream;
+import java.rmi.RemoteException;
+
+import javax.naming.InitialContext;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Call;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceFactory;
+import javax.xml.rpc.soap.SOAPFaultException;
+import javax.xml.soap.Detail;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.Name;
+import javax.xml.soap.SOAPBody;
+import javax.xml.soap.SOAPConnection;
+import javax.xml.soap.SOAPConnectionFactory;
+import javax.xml.soap.SOAPEnvelope;
+import javax.xml.soap.SOAPFault;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.soap.SOAPPart;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test user exception propagation.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 23-Sep-2004
+ */
+public class ExceptionTestCase extends JBossWSTest
+{
+ private static final String TARGET_NAMESPACE = "http://org.jboss.ws/samples/exception";
+
+ public static Test suite() throws Exception
+ {
+ return new JBossWSTestSetup(ExceptionTestCase.class, "jaxrpc-samples-exception.war, jaxrpc-samples-exception-client.jar");
+ }
+
+ private ExceptionServiceInterface getPort() throws Exception
+ {
+ InitialContext iniCtx = getInitialContext();
+ ExceptionService service = (ExceptionService)iniCtx.lookup("java:comp/env/service/ExceptionService");
+ ExceptionServiceInterface port = service.getPort();
+ return port;
+ }
+
+ /** Test creation of a SOAPFault */
+ public void testSOAPFault() throws Exception
+ {
+ MessageFactory msgfactory = MessageFactory.newInstance();
+ SOAPMessage soapMessage = msgfactory.createMessage();
+ SOAPPart soapPart = soapMessage.getSOAPPart();
+ SOAPEnvelope soapEnv = soapPart.getEnvelope();
+ SOAPBody soapBody = soapEnv.getBody();
+ SOAPFault soapFault = soapBody.addFault();
+ Detail detail = soapFault.addDetail();
+ Name name = soapEnv.createName("GetLastTradePrice", "WOMBAT", "http://www.wombat.org/trader");
+ detail.addDetailEntry(name);
+
+ QName faultCode = new QName("http://foo.bar", "faultCode");
+ SOAPFaultException sfex = new SOAPFaultException(faultCode, "faultString", "faultActor", detail);
+ assertEquals("faultString", sfex.getFaultString());
+ assertEquals(faultCode, sfex.getFaultCode());
+ assertEquals("faultActor", sfex.getFaultActor());
+ }
+
+ /** Test simple exception propagation */
+ public void testException() throws Exception
+ {
+ ExceptionServiceInterface port = getPort();
+ try
+ {
+ port.throwException();
+ fail("Should have failed with UserException");
+ }
+ catch (UserException usrex)
+ {
+ // do nothing
+ }
+ catch (Exception e)
+ {
+ fail("Unexpected Exception: " + e);
+ }
+ }
+
+ /** Test exception with message */
+ public void testExceptionWithMessage() throws Exception
+ {
+ ExceptionServiceInterface port = getPort();
+
+ String message = "Don't worry it's just a test";
+ try
+ {
+ port.throwExceptionWithMessage(message);
+ fail("Should have failed with UserException");
+ }
+ catch (UserMessageException usrex)
+ {
+ assertEquals(message, usrex.getMessage());
+ }
+ catch (Exception e)
+ {
+ fail("Unexpected Exception: " + e);
+ }
+ }
+
+ /** Test a complex user exception */
+ public void testComplexUserException() throws Exception
+ {
+ ExceptionServiceInterface port = getPort();
+
+ String message = "Don't worry it's just a test";
+ try
+ {
+ port.throwComplexUserException(message, 200);
+ fail("Should have failed with ComplexUserException");
+ }
+ catch (ComplexUserException usrex)
+ {
+ assertEquals(message, usrex.getMessage());
+ assertEquals(200, usrex.getErrorCode());
+ }
+ catch (Exception e)
+ {
+ fail("Unexpected Exception: " + e);
+ }
+ }
+
+ /** Test a complex user exception that contains an array */
+ public void testComplexUserArrayException() throws Exception
+ {
+ ExceptionServiceInterface port = getPort();
+
+ String message = "Don't worry it's just a test";
+ try
+ {
+ port.throwComplexUserArrayException(message, new int[] { 100, 200 });
+ fail("Should have failed with ComplexUserArrayException");
+ }
+ catch (ComplexUserArrayException usrex)
+ {
+ assertEquals(message, usrex.getMessage());
+ assertEquals(100, usrex.getErrorCodes()[0]);
+ assertEquals(200, usrex.getErrorCodes()[1]);
+ }
+ catch (Exception e)
+ {
+ fail("Unexpected Exception: " + e);
+ }
+ }
+
+ /** Test a fault message for a non existant operation */
+ public void testNonExistantOperation() throws Exception
+ {
+ String reqEnv = "<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>" + " <env:Header/>" + " <env:Body>"
+ + " <ns1:nonExistantOperation xmlns:ns1='http://org.jboss.webservice/exception'/>" + " </env:Body>" + "</env:Envelope>";
+
+ MessageFactory factory = MessageFactory.newInstance();
+ SOAPMessage reqMsg = factory.createMessage(null, new ByteArrayInputStream(reqEnv.getBytes()));
+
+ SOAPConnection con = SOAPConnectionFactory.newInstance().createConnection();
+ String targetAddress = "http://" + getServerHost() + ":8080/jaxrpc-samples-exception/ExceptionBean";
+ SOAPMessage resMsg = con.call(reqMsg, targetAddress);
+
+ SOAPFault soapFault = resMsg.getSOAPBody().getFault();
+ assertNotNull("Expected SOAPFault", soapFault);
+
+ String faultString = soapFault.getFaultString();
+ assertTrue("Unexpected faultString: " + faultString, faultString.indexOf("nonExistantOperation") > 0);
+ }
+
+ /** Test a fault message for a non existant operation */
+ public void testNonExistantOperationDII() throws Exception
+ {
+ ServiceFactory factory = ServiceFactory.newInstance();
+ Service service = factory.createService(new QName(TARGET_NAMESPACE, "ExceptionService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "nonExistantOperation"));
+ String targetAddress = "http://" + getServerHost() + ":8080/jaxrpc-samples-exception/ExceptionBean";
+ call.setTargetEndpointAddress(targetAddress);
+
+ try
+ {
+ call.invoke(new Object[] {});
+ fail("Should have failed with RemoteException");
+ }
+ catch (RemoteException ex)
+ {
+ String faultString = ex.getMessage();
+ assertTrue("Unexpected faultString: " + faultString, faultString.indexOf("nonExistantOperation") > 0);
+ }
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ExceptionTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ServerHandler.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ServerHandler.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ServerHandler.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,62 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.exception;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.JAXRPCException;
+import javax.xml.rpc.handler.GenericHandler;
+import javax.xml.rpc.handler.MessageContext;
+import javax.xml.rpc.handler.soap.SOAPMessageContext;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPFault;
+import javax.xml.soap.SOAPMessage;
+
+public class ServerHandler extends GenericHandler
+{
+
+ public QName[] getHeaders()
+ {
+ return new QName[] {};
+ }
+
+ // http://jira.jboss.org/jira/browse/JBWS-668
+ // Handler.handleFault does not give access to the fault message
+ public boolean handleFault(MessageContext msgContext)
+ {
+ try
+ {
+ SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
+
+ SOAPFault soapFault = soapMessage.getSOAPBody().getFault();
+ String faultString = soapFault.getFaultString();
+ if (!faultString.equals("Don't worry it's just a test") && !faultString.equals("org.jboss.test.ws.jaxrpc.samples.exception.UserException"))
+ throw new JAXRPCException("Unexpected fault string: " + faultString);
+
+ return true;
+
+ }
+ catch (SOAPException e)
+ {
+ throw new JAXRPCException(e.toString(), e);
+ }
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/ServerHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/UserException.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/UserException.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/UserException.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.exception;
+
+/**
+ * JAX-RPC 1.1 WSDLFault
+ *
+ * A service specific Java exception (mapped from a wsdl:fault and the corresponding
+ * wsdl:message) extends the class java.lang.Exception directly or indirectly.
+ *
+ * The single message part in the wsdl:message (referenced from the wsdl:fault
+ * element) may be either a type or an element. If the former, it can be either a
+ * xsd:complexType or a simple XML type.
+ *
+ * Each element inside the xsd:complexType is mapped to a getter method and a
+ * parameter in the constructor of the Java exception. Mapping of these elements follows
+ * the standard XML to Java type mapping.
+ *
+ * @author Thomas.Diesler(a)jboss.com
+ */
+public class UserException extends Exception
+{
+
+ public UserException()
+ {
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/UserException.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/UserMessageException.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/UserMessageException.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/UserMessageException.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,47 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.exception;
+
+/**
+ * JAX-RPC 1.1 WSDLFault
+ *
+ * A service specific Java exception (mapped from a wsdl:fault and the corresponding
+ * wsdl:message) extends the class java.lang.Exception directly or indirectly.
+ *
+ * The single message part in the wsdl:message (referenced from the wsdl:fault
+ * element) may be either a type or an element. If the former, it can be either a
+ * xsd:complexType or a simple XML type.
+ *
+ * Each element inside the xsd:complexType is mapped to a getter method and a
+ * parameter in the constructor of the Java exception. Mapping of these elements follows
+ * the standard XML to Java type mapping.
+ *
+ * @author Thomas.Diesler(a)jboss.com
+ */
+public class UserMessageException extends Exception
+{
+
+ public UserMessageException(String message)
+ {
+ super(message);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/exception/UserMessageException.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/ClientSideHandler.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/ClientSideHandler.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/ClientSideHandler.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,136 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.handler;
+
+import java.util.Map;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.JAXRPCException;
+import javax.xml.rpc.handler.GenericHandler;
+import javax.xml.rpc.handler.HandlerInfo;
+import javax.xml.rpc.handler.MessageContext;
+import javax.xml.rpc.handler.soap.SOAPMessageContext;
+import javax.xml.soap.MimeHeaders;
+import javax.xml.soap.SOAPBody;
+import javax.xml.soap.SOAPBodyElement;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPHeader;
+import javax.xml.soap.SOAPHeaderElement;
+import javax.xml.soap.SOAPMessage;
+
+import org.jboss.logging.Logger;
+
+public class ClientSideHandler extends GenericHandler
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(ClientSideHandler.class);
+
+ protected QName[] headers;
+
+ public QName[] getHeaders()
+ {
+ return headers;
+ }
+
+ public void init(HandlerInfo info)
+ {
+ log.info("init: " + info);
+ headers = info.getHeaders();
+
+ Map configMap = info.getHandlerConfig();
+ String value1 = (String)configMap.get("ClientParam1");
+ String value2 = (String)configMap.get("ClientParam2");
+ if (!"value1".equals(value1) || !"value2".equals(value2))
+ throw new IllegalStateException("Invalid handler config: " + configMap);
+ }
+
+ public boolean handleRequest(MessageContext msgContext)
+ {
+ log.info("handleRequest");
+
+ QName[] headers = getHeaders();
+ if (headers == null || headers.length != 3)
+ throw new IllegalStateException("Invalid number of headers");
+
+ try
+ {
+ SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
+ SOAPHeader soapHeader = soapMessage.getSOAPHeader();
+
+ SOAPBody soapBody = soapMessage.getSOAPBody();
+ SOAPBodyElement soapBodyElement = (SOAPBodyElement)soapBody.getChildElements().next();
+ String rpcName = soapBodyElement.getElementName().getLocalName();
+
+ MimeHeaders mimeHeaders = soapMessage.getMimeHeaders();
+ mimeHeaders.setHeader("Cookie", "client-cookie=true");
+
+ // testInHeader
+ if (rpcName.equals("testInHeader"))
+ {
+ SOAPHeaderElement she = (SOAPHeaderElement)soapHeader.examineAllHeaderElements().next();
+ String headerValue = she.getValue();
+ if ("IN header message".equals(headerValue) == false)
+ throw new JAXRPCException("Unexpected header value: " + headerValue);
+ }
+
+ // testOutHeader
+ else if (rpcName.equals("testOutHeader"))
+ {
+ if (soapHeader.examineAllHeaderElements().hasNext())
+ throw new JAXRPCException("Unexpected header element");
+ }
+
+ // testInOutHeader
+ else if (rpcName.equals("testInOutHeader"))
+ {
+ SOAPHeaderElement she = (SOAPHeaderElement)soapHeader.examineAllHeaderElements().next();
+ String headerValue = she.getValue();
+ if ("INOUT header message".equals(headerValue) == false)
+ throw new JAXRPCException("Unexpected header value: " + headerValue);
+ }
+ else
+ {
+ throw new JAXRPCException("Unexpected RPC name: " + rpcName);
+ }
+ }
+ catch (SOAPException e)
+ {
+ throw new JAXRPCException(e);
+ }
+
+ return true;
+ }
+
+ public boolean handleResponse(MessageContext msgContext)
+ {
+ log.info("handleResponse");
+
+ SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
+ MimeHeaders mimeHeaders = soapMessage.getMimeHeaders();
+
+ String[] cookies = mimeHeaders.getHeader("Set-Cookie");
+ if (cookies == null || cookies.length != 1 || !cookies[0].equals("server-cookie=true"))
+ throw new IllegalStateException("Unexpected cookie list: " + mimeHeaders);
+
+ return true;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/ClientSideHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderClientTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderClientTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderClientTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,80 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.handler;
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.holders.StringHolder;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test bound and unbound headers
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 27-Jan-2005
+ */
+public class HeaderClientTestCase extends JBossWSTest
+{
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-samples-handler";
+
+ private static HeaderTestService port;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(HeaderClientTestCase.class, "jaxrpc-samples-handler.war, jaxrpc-samples-handler-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/TestService");
+ port = (HeaderTestService)service.getPort(HeaderTestService.class);
+ }
+ }
+
+ public void testBoundInHeader() throws Exception
+ {
+ port.testInHeader("Hello world!", "IN header message");
+ }
+
+ public void testBoundInOutHeader() throws Exception
+ {
+ StringHolder holder = new StringHolder("INOUT header message");
+ port.testInOutHeader("Hello world!", holder);
+ assertEquals("INOUT header message - response", holder.value);
+ }
+
+ public void testBoundOutHeader() throws Exception
+ {
+ StringHolder holder = new StringHolder();
+ port.testOutHeader("Hello world!", holder);
+ assertEquals("OUT header message", holder.value);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderClientTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderTestService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderTestService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderTestService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.handler;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+import javax.xml.rpc.holders.StringHolder;
+
+/**
+ * A service endpoint interface for the HeaderTestCase
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 04-Jan-2005
+ */
+public interface HeaderTestService extends Remote
+{
+ void testInHeader(String bodyMsg, String headerMsg) throws RemoteException;
+
+ void testInOutHeader(String bodyMsg, StringHolder headerMsg) throws RemoteException;
+
+ void testOutHeader(String bodyMsg, StringHolder headerMsg) throws RemoteException;
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderTestService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderTestServiceBean.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderTestServiceBean.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderTestServiceBean.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,55 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.handler;
+
+import javax.xml.rpc.holders.StringHolder;
+
+import org.jboss.logging.Logger;
+
+/**
+ * A service endpoint for the HeaderTestCase
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 04-Jan-2005
+ */
+public class HeaderTestServiceBean implements HeaderTestService
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(HeaderTestServiceBean.class);
+
+ public void testInHeader(String bodyMsg, String headerMsg)
+ {
+ log.info("testInHeader: " + bodyMsg + "," + headerMsg);
+ }
+
+ public void testInOutHeader(String bodyMsg, StringHolder headerMsg)
+ {
+ log.info("testInOutHeader: " + bodyMsg + "," + headerMsg.value);
+ headerMsg.value += " - response";
+ }
+
+ public void testOutHeader(String bodyMsg, StringHolder headerMsg)
+ {
+ log.info("testOutHeader: " + bodyMsg + "," + headerMsg.value);
+ headerMsg.value = "OUT header message";
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/HeaderTestServiceBean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/ServerSideHandler.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/ServerSideHandler.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/ServerSideHandler.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,181 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.handler;
+
+import java.util.Map;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.JAXRPCException;
+import javax.xml.rpc.handler.GenericHandler;
+import javax.xml.rpc.handler.HandlerInfo;
+import javax.xml.rpc.handler.MessageContext;
+import javax.xml.rpc.handler.soap.SOAPMessageContext;
+import javax.xml.soap.MimeHeaders;
+import javax.xml.soap.Name;
+import javax.xml.soap.SOAPBody;
+import javax.xml.soap.SOAPBodyElement;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPFactory;
+import javax.xml.soap.SOAPHeader;
+import javax.xml.soap.SOAPHeaderElement;
+import javax.xml.soap.SOAPMessage;
+
+import org.jboss.logging.Logger;
+
+public class ServerSideHandler extends GenericHandler
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(ServerSideHandler.class);
+
+ protected QName[] headers;
+
+ private boolean setCookieOnResponse;
+
+ public QName[] getHeaders()
+ {
+ return headers;
+ }
+
+ public void init(HandlerInfo info)
+ {
+ log.info("init: " + info);
+ headers = info.getHeaders();
+ Map configMap = info.getHandlerConfig();
+ String value1 = (String)configMap.get("ServerParam1");
+ String value2 = (String)configMap.get("ServerParam2");
+ if (!"value1".equals(value1) || !"value2".equals(value2))
+ throw new IllegalStateException("Invalid handler config: " + configMap);
+ }
+
+ public boolean handleRequest(MessageContext msgContext)
+ {
+ log.info("handleRequest");
+
+ QName[] headers = getHeaders();
+ if (headers == null || headers.length != 3)
+ throw new IllegalStateException("Invalid number of headers");
+
+ try
+ {
+ SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
+ SOAPHeader soapHeader = soapMessage.getSOAPHeader();
+
+ SOAPBody soapBody = soapMessage.getSOAPBody();
+ SOAPBodyElement soapBodyElement = (SOAPBodyElement)soapBody.getChildElements().next();
+ String rpcName = soapBodyElement.getElementName().getLocalName();
+
+ MimeHeaders mimeHeaders = soapMessage.getMimeHeaders();
+ String[] cookies = mimeHeaders.getHeader("Cookie");
+ if (cookies != null && cookies.length == 1 && cookies[0].equals("client-cookie=true"))
+ setCookieOnResponse = true;
+
+ // testInHeader
+ if (rpcName.equals("testInHeader"))
+ {
+ SOAPHeaderElement she = (SOAPHeaderElement)soapHeader.examineAllHeaderElements().next();
+ String headerValue = she.getValue();
+ if ("IN header message".equals(headerValue) == false)
+ throw new JAXRPCException("Unexpected header value: " + headerValue);
+ }
+
+ // testOutHeader
+ else if (rpcName.equals("testOutHeader"))
+ {
+ if (soapHeader.examineAllHeaderElements().hasNext())
+ throw new JAXRPCException("Unexpected header element");
+ }
+
+ // testInOutHeader
+ else if (rpcName.equals("testInOutHeader"))
+ {
+ SOAPHeaderElement she = (SOAPHeaderElement)soapHeader.examineAllHeaderElements().next();
+ String headerValue = she.getValue();
+ if ("INOUT header message".equals(headerValue) == false)
+ throw new JAXRPCException("Unexpected header value: " + headerValue);
+ }
+ else
+ {
+ throw new JAXRPCException("Unexpected RPC name: " + rpcName);
+ }
+ }
+ catch (SOAPException e)
+ {
+ throw new JAXRPCException(e);
+ }
+
+ return true;
+ }
+
+ public boolean handleResponse(MessageContext msgContext)
+ {
+ log.info("handleResponse");
+
+ try
+ {
+ SOAPMessage soapMessage = ((SOAPMessageContext)msgContext).getMessage();
+ SOAPHeader soapHeader = soapMessage.getSOAPHeader();
+
+ SOAPBody soapBody = soapMessage.getSOAPBody();
+ SOAPBodyElement soapBodyElement = (SOAPBodyElement)soapBody.getChildElements().next();
+ String rpcName = soapBodyElement.getElementName().getLocalName();
+
+ if (setCookieOnResponse)
+ {
+ MimeHeaders mimeHeaders = soapMessage.getMimeHeaders();
+ mimeHeaders.setHeader("Set-Cookie", "server-cookie=true");
+ setCookieOnResponse = false;
+ }
+
+ if (rpcName.equals("testInHeaderResponse"))
+ {
+ SOAPFactory soapFactory = SOAPFactory.newInstance();
+ Name headerName = soapFactory.createName("HeaderValue", "ns2", "http://otherns");
+ SOAPHeaderElement she = soapHeader.addHeaderElement(headerName);
+ she.setValue("Unbound OUT header message");
+ }
+ else if (rpcName.equals("testOutHeaderResponse"))
+ {
+ SOAPFactory soapFactory = SOAPFactory.newInstance();
+ Name headerName = soapFactory.createName("HeaderValue", "ns2", "http://otherns");
+ SOAPHeaderElement she = soapHeader.addHeaderElement(headerName);
+ she.setValue("Unbound OUT header message");
+ }
+ else if (rpcName.equals("testInOutHeaderResponse"))
+ {
+ SOAPFactory soapFactory = SOAPFactory.newInstance();
+ Name headerName = soapFactory.createName("HeaderValue", "ns2", "http://otherns");
+ SOAPHeaderElement she = soapHeader.addHeaderElement(headerName);
+ she.setValue("Unbound OUT header message");
+ }
+ else
+ {
+ throw new JAXRPCException("Unexpected RPC name: " + rpcName);
+ }
+ }
+ catch (SOAPException e)
+ {
+ throw new JAXRPCException(e);
+ }
+
+ return true;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/handler/ServerSideHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderDIITestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderDIITestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderDIITestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,376 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.holder;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.GregorianCalendar;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Call;
+import javax.xml.rpc.ParameterMode;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceFactory;
+import javax.xml.rpc.holders.BigDecimalHolder;
+import javax.xml.rpc.holders.BigIntegerHolder;
+import javax.xml.rpc.holders.BooleanHolder;
+import javax.xml.rpc.holders.BooleanWrapperHolder;
+import javax.xml.rpc.holders.ByteArrayHolder;
+import javax.xml.rpc.holders.ByteHolder;
+import javax.xml.rpc.holders.ByteWrapperHolder;
+import javax.xml.rpc.holders.CalendarHolder;
+import javax.xml.rpc.holders.DoubleHolder;
+import javax.xml.rpc.holders.DoubleWrapperHolder;
+import javax.xml.rpc.holders.FloatHolder;
+import javax.xml.rpc.holders.FloatWrapperHolder;
+import javax.xml.rpc.holders.IntHolder;
+import javax.xml.rpc.holders.IntegerWrapperHolder;
+import javax.xml.rpc.holders.LongHolder;
+import javax.xml.rpc.holders.LongWrapperHolder;
+import javax.xml.rpc.holders.QNameHolder;
+import javax.xml.rpc.holders.ShortHolder;
+import javax.xml.rpc.holders.ShortWrapperHolder;
+import javax.xml.rpc.holders.StringHolder;
+
+import junit.framework.Test;
+
+import org.jboss.ws.Constants;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test DII with Holders
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 22-Dec-2004
+ */
+public class HolderDIITestCase extends JBossWSTest
+{
+ private final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-samples-holder";
+ private static final String TARGET_NAMESPACE = "http://org.jboss.ws/samples/holder";
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(HolderDIITestCase.class, "jaxrpc-samples-holder.war");
+ }
+
+ public void testEchoBigDecimal() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoBigDecimal"));
+ call.addParameter("BigDecimal_1", Constants.TYPE_LITERAL_DECIMAL, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ BigDecimalHolder holder = new BigDecimalHolder(new BigDecimal("1000"));
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(new BigDecimal("1001"), holder.value);
+ }
+
+ public void testEchoBigInteger() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoBigInteger"));
+ call.addParameter("BigInteger_1", Constants.TYPE_LITERAL_INTEGER, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ BigIntegerHolder holder = new BigIntegerHolder(new BigInteger("1000"));
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(new BigInteger("1001"), holder.value);
+ }
+
+ public void testEchoBoolean() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoBoolean"));
+ call.addParameter("boolean_1", Constants.TYPE_LITERAL_BOOLEAN, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ BooleanHolder holder = new BooleanHolder(false);
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(true, holder.value);
+ }
+
+ public void testEchoBooleanWrapper() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoBooleanWrapper"));
+ call.addParameter("Boolean_1", Constants.TYPE_LITERAL_BOOLEAN, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ BooleanWrapperHolder holder = new BooleanWrapperHolder(new Boolean(false));
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(new Boolean(true), holder.value);
+ }
+
+ public void testEchoByteArray() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoByteArray"));
+ call.addParameter("arrayOfbyte_1", Constants.TYPE_LITERAL_BASE64BINARY, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ ByteArrayHolder holder = new ByteArrayHolder(new String("Some base64 msg").getBytes());
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals("Some base64 msgResponse", new String(holder.value));
+ }
+
+ public void testEchoByte() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoByte"));
+ call.addParameter("byte_1", Constants.TYPE_LITERAL_BYTE, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ ByteHolder holder = new ByteHolder((byte)0x45);
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals((byte)0x46, holder.value);
+ }
+
+ public void testEchoByteWrapper() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoByteWrapper"));
+ call.addParameter("Byte_1", Constants.TYPE_LITERAL_BYTE, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ ByteWrapperHolder holder = new ByteWrapperHolder(new Byte((byte)0x45));
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(new Byte((byte)0x46), holder.value);
+ }
+
+ public void testEchoCalendar() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoCalendar"));
+ call.addParameter("Calendar_1", Constants.TYPE_LITERAL_DATETIME, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ GregorianCalendar value = new GregorianCalendar(2004, 11, 23, 11, 58, 23);
+ CalendarHolder holder = new CalendarHolder(value);
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(value.getTime().getTime(), holder.value.getTime().getTime());
+ }
+
+ public void testEchoDouble() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoDouble"));
+ call.addParameter("double_1", Constants.TYPE_LITERAL_DOUBLE, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ DoubleHolder holder = new DoubleHolder(1.2);
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(2.2, holder.value, 0.01);
+ }
+
+ public void testEchoDoubleWrapper() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoDoubleWrapper"));
+ call.addParameter("Double_1", Constants.TYPE_LITERAL_DOUBLE, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ DoubleWrapperHolder holder = new DoubleWrapperHolder(new Double(1.2));
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(2.2, holder.value.doubleValue(), 0.01);
+ }
+
+ public void testEchoFloat() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoFloat"));
+ call.addParameter("float_1", Constants.TYPE_LITERAL_FLOAT, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ FloatHolder holder = new FloatHolder(1.2f);
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(2.2f, holder.value, 0.01);
+ }
+
+ public void testEchoFloatWrapper() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoFloatWrapper"));
+ call.addParameter("Float_1", Constants.TYPE_LITERAL_FLOAT, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ FloatWrapperHolder holder = new FloatWrapperHolder(new Float(1.2));
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(2.2, holder.value.floatValue(), 0.01);
+ }
+
+ public void testEchoIntegerWrapper() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoIntegerWrapper"));
+ call.addParameter("Integer_1", Constants.TYPE_LITERAL_INT, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ IntegerWrapperHolder holder = new IntegerWrapperHolder(new Integer(1));
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(2, holder.value.intValue());
+ }
+
+ public void testEchoInt() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoInt"));
+ call.addParameter("int_1", Constants.TYPE_LITERAL_INT, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ IntHolder holder = new IntHolder(1);
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(2, holder.value, 0.01);
+ }
+
+ public void testEchoLong() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoLong"));
+ call.addParameter("long_1", Constants.TYPE_LITERAL_LONG, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ LongHolder holder = new LongHolder(1);
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(2, holder.value);
+ }
+
+ public void testEchoLongWrapper() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoLongWrapper"));
+ call.addParameter("Long_1", Constants.TYPE_LITERAL_LONG, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ LongWrapperHolder holder = new LongWrapperHolder(new Long(1));
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(2, holder.value.longValue());
+ }
+
+ public void testEchoQName() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoQName"));
+ call.addParameter("QName_1", Constants.TYPE_LITERAL_QNAME, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ QNameHolder holder = new QNameHolder(new QName("http://somens", "localPart", "ns1"));
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals("{http://somens}localPartResponse", holder.value.toString());
+ }
+
+ public void testEchoShort() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoShort"));
+ call.addParameter("short_1", Constants.TYPE_LITERAL_SHORT, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ ShortHolder holder = new ShortHolder((short)1);
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(2, holder.value);
+ }
+
+ public void testEchoShortWrapper() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoShortWrapper"));
+ call.addParameter("Short_1", Constants.TYPE_LITERAL_SHORT, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ ShortWrapperHolder holder = new ShortWrapperHolder(new Short((short)1));
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals(2, holder.value.shortValue());
+ }
+
+ public void testEchoString() throws Exception
+ {
+ Service service = ServiceFactory.newInstance().createService(new QName("testService"));
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, "echoString"));
+ call.addParameter("String_1", Constants.TYPE_LITERAL_STRING, ParameterMode.INOUT);
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ StringHolder holder = new StringHolder("Hello world!");
+ Object retObj = call.invoke(new Object[]{holder});
+ assertNull(retObj);
+ assertEquals("Hello world!Response", holder.value);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderDIITestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,224 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.holder;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.GregorianCalendar;
+
+import javax.naming.InitialContext;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.holders.BigDecimalHolder;
+import javax.xml.rpc.holders.BigIntegerHolder;
+import javax.xml.rpc.holders.BooleanHolder;
+import javax.xml.rpc.holders.BooleanWrapperHolder;
+import javax.xml.rpc.holders.ByteArrayHolder;
+import javax.xml.rpc.holders.ByteHolder;
+import javax.xml.rpc.holders.ByteWrapperHolder;
+import javax.xml.rpc.holders.CalendarHolder;
+import javax.xml.rpc.holders.DoubleHolder;
+import javax.xml.rpc.holders.DoubleWrapperHolder;
+import javax.xml.rpc.holders.FloatHolder;
+import javax.xml.rpc.holders.FloatWrapperHolder;
+import javax.xml.rpc.holders.IntHolder;
+import javax.xml.rpc.holders.IntegerWrapperHolder;
+import javax.xml.rpc.holders.LongHolder;
+import javax.xml.rpc.holders.LongWrapperHolder;
+import javax.xml.rpc.holders.QNameHolder;
+import javax.xml.rpc.holders.ShortHolder;
+import javax.xml.rpc.holders.ShortWrapperHolder;
+import javax.xml.rpc.holders.StringHolder;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test Holders
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 22-Dec-2004
+ */
+public class HolderTestCase extends JBossWSTest
+{
+ private static HolderTestService port;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(HolderDIITestCase.class, "jaxrpc-samples-holder.war, jaxrpc-samples-holder-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/TestService");
+ port = (HolderTestService)service.getPort(HolderTestService.class);
+ }
+ }
+
+ public void testEchoBigDecimal() throws Exception
+ {
+ BigDecimalHolder holder = new BigDecimalHolder(new BigDecimal("1000"));
+ port.echoBigDecimal(holder);
+ assertEquals(new BigDecimal("1001"), holder.value);
+ }
+
+ public void testEchoBigInteger() throws Exception
+ {
+ BigIntegerHolder holder = new BigIntegerHolder(new BigInteger("1000"));
+ port.echoBigInteger(holder);
+ assertEquals(new BigInteger("1001"), holder.value);
+ }
+
+ public void testEchoBoolean() throws Exception
+ {
+ BooleanHolder holder = new BooleanHolder(false);
+ port.echoBoolean(holder);
+ assertEquals(true, holder.value);
+ }
+
+ public void testEchoBooleanWrapper() throws Exception
+ {
+ BooleanWrapperHolder holder = new BooleanWrapperHolder(new Boolean(false));
+ port.echoBooleanWrapper(holder);
+ assertEquals(new Boolean(true), holder.value);
+ }
+
+ public void testEchoByteArray() throws Exception
+ {
+ ByteArrayHolder holder = new ByteArrayHolder(new String("Some base64 msg").getBytes());
+ port.echoByteArray(holder);
+ assertEquals("Some base64 msgResponse", new String(holder.value));
+ }
+
+ public void testEchoByte() throws Exception
+ {
+ ByteHolder holder = new ByteHolder((byte)0x45);
+ port.echoByte(holder);
+ assertEquals((byte)0x46, holder.value);
+ }
+
+ public void testEchoByteWrapper() throws Exception
+ {
+ ByteWrapperHolder holder = new ByteWrapperHolder(new Byte((byte)0x45));
+ port.echoByteWrapper(holder);
+ assertEquals(new Byte((byte)0x46), holder.value);
+ }
+
+ public void testEchoCalendar() throws Exception
+ {
+ GregorianCalendar value = new GregorianCalendar(2004, 11, 23, 11, 58, 23);
+ CalendarHolder holder = new CalendarHolder(value);
+ port.echoCalendar(holder);
+ assertEquals(value.getTime().getTime(), holder.value.getTime().getTime());
+ }
+
+ public void testEchoDouble() throws Exception
+ {
+ DoubleHolder holder = new DoubleHolder(1.2);
+ port.echoDouble(holder);
+ assertEquals(2.2, holder.value, 0.01);
+ }
+
+ public void testEchoDoubleWrapper() throws Exception
+ {
+ DoubleWrapperHolder holder = new DoubleWrapperHolder(new Double(1.2));
+ port.echoDoubleWrapper(holder);
+ assertEquals(2.2, holder.value.doubleValue(), 0.01);
+ }
+
+ public void testEchoFloat() throws Exception
+ {
+ FloatHolder holder = new FloatHolder(1.2f);
+ port.echoFloat(holder);
+ assertEquals(2.2f, holder.value, 0.01);
+ }
+
+ public void testEchoFloatWrapper() throws Exception
+ {
+ FloatWrapperHolder holder = new FloatWrapperHolder(new Float(1.2));
+ port.echoFloatWrapper(holder);
+ assertEquals(2.2, holder.value.floatValue(), 0.01);
+ }
+
+ public void testEchoIntegerWrapper() throws Exception
+ {
+ IntegerWrapperHolder holder = new IntegerWrapperHolder(new Integer(1));
+ port.echoIntegerWrapper(holder);
+ assertEquals(2, holder.value.intValue());
+ }
+
+ public void testEchoInt() throws Exception
+ {
+ IntHolder holder = new IntHolder(1);
+ port.echoInt(holder);
+ assertEquals(2, holder.value, 0.01);
+ }
+
+ public void testEchoLong() throws Exception
+ {
+ LongHolder holder = new LongHolder(1);
+ port.echoLong(holder);
+ assertEquals(2, holder.value);
+ }
+
+ public void testEchoLongWrapper() throws Exception
+ {
+ LongWrapperHolder holder = new LongWrapperHolder(new Long(1));
+ port.echoLongWrapper(holder);
+ assertEquals(2, holder.value.longValue());
+ }
+
+ public void testEchoQName() throws Exception
+ {
+ QNameHolder holder = new QNameHolder(new QName("http://somens", "localPart", "ns1"));
+ port.echoQName(holder);
+ assertEquals("{http://somens}localPartResponse", holder.value.toString());
+ }
+
+ public void testEchoShort() throws Exception
+ {
+ ShortHolder holder = new ShortHolder((short)1);
+ port.echoShort(holder);
+ assertEquals(2, holder.value);
+ }
+
+ public void testEchoShortWrapper() throws Exception
+ {
+ ShortWrapperHolder holder = new ShortWrapperHolder(new Short((short)1));
+ port.echoShortWrapper(holder);
+ assertEquals(2, holder.value.shortValue());
+ }
+
+ public void testEchoString() throws Exception
+ {
+ StringHolder holder = new StringHolder("Hello world!");
+ port.echoString(holder);
+ assertEquals("Hello world!Response", holder.value);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,99 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.holder;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+import javax.xml.rpc.holders.BigDecimalHolder;
+import javax.xml.rpc.holders.BigIntegerHolder;
+import javax.xml.rpc.holders.BooleanHolder;
+import javax.xml.rpc.holders.BooleanWrapperHolder;
+import javax.xml.rpc.holders.ByteArrayHolder;
+import javax.xml.rpc.holders.ByteHolder;
+import javax.xml.rpc.holders.ByteWrapperHolder;
+import javax.xml.rpc.holders.CalendarHolder;
+import javax.xml.rpc.holders.DoubleHolder;
+import javax.xml.rpc.holders.DoubleWrapperHolder;
+import javax.xml.rpc.holders.FloatHolder;
+import javax.xml.rpc.holders.FloatWrapperHolder;
+import javax.xml.rpc.holders.IntHolder;
+import javax.xml.rpc.holders.IntegerWrapperHolder;
+import javax.xml.rpc.holders.LongHolder;
+import javax.xml.rpc.holders.LongWrapperHolder;
+import javax.xml.rpc.holders.QNameHolder;
+import javax.xml.rpc.holders.ShortHolder;
+import javax.xml.rpc.holders.ShortWrapperHolder;
+import javax.xml.rpc.holders.StringHolder;
+
+/**
+ * A service endpoint interface for the HolderTestCase
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 22-Dec-2004
+ */
+public interface HolderTestService extends Remote
+{
+ void echoBigDecimal(BigDecimalHolder val) throws RemoteException;
+
+ void echoBigInteger(BigIntegerHolder val) throws RemoteException;
+
+ void echoBoolean(BooleanHolder val) throws RemoteException;
+
+ void echoBooleanWrapper(BooleanWrapperHolder val) throws RemoteException;
+
+ void echoByteArray(ByteArrayHolder val) throws RemoteException;
+
+ void echoByte(ByteHolder val) throws RemoteException;
+
+ void echoByteWrapper(ByteWrapperHolder val) throws RemoteException;
+
+ void echoCalendar(CalendarHolder val) throws RemoteException;
+
+ void echoDouble(DoubleHolder val) throws RemoteException;
+
+ void echoDoubleWrapper(DoubleWrapperHolder val) throws RemoteException;
+
+ void echoFloat(FloatHolder val) throws RemoteException;
+
+ void echoFloatWrapper(FloatWrapperHolder val) throws RemoteException;
+
+ void echoIntegerWrapper(IntegerWrapperHolder val) throws RemoteException;
+
+ void echoInt(IntHolder val) throws RemoteException;
+
+ void echoLong(LongHolder val) throws RemoteException;
+
+ void echoLongWrapper(LongWrapperHolder val) throws RemoteException;
+
+ /*
+ void echoObject(ObjectHolder val) throws RemoteException;
+ */
+
+ void echoQName(QNameHolder val) throws RemoteException;
+
+ void echoShort(ShortHolder val) throws RemoteException;
+
+ void echoShortWrapper(ShortWrapperHolder val) throws RemoteException;
+
+ void echoString(StringHolder val) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestServiceBean.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestServiceBean.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestServiceBean.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,190 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.holder;
+
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.Date;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.holders.BigDecimalHolder;
+import javax.xml.rpc.holders.BigIntegerHolder;
+import javax.xml.rpc.holders.BooleanHolder;
+import javax.xml.rpc.holders.BooleanWrapperHolder;
+import javax.xml.rpc.holders.ByteArrayHolder;
+import javax.xml.rpc.holders.ByteHolder;
+import javax.xml.rpc.holders.ByteWrapperHolder;
+import javax.xml.rpc.holders.CalendarHolder;
+import javax.xml.rpc.holders.DoubleHolder;
+import javax.xml.rpc.holders.DoubleWrapperHolder;
+import javax.xml.rpc.holders.FloatHolder;
+import javax.xml.rpc.holders.FloatWrapperHolder;
+import javax.xml.rpc.holders.IntHolder;
+import javax.xml.rpc.holders.IntegerWrapperHolder;
+import javax.xml.rpc.holders.LongHolder;
+import javax.xml.rpc.holders.LongWrapperHolder;
+import javax.xml.rpc.holders.QNameHolder;
+import javax.xml.rpc.holders.ShortHolder;
+import javax.xml.rpc.holders.ShortWrapperHolder;
+import javax.xml.rpc.holders.StringHolder;
+
+import org.jboss.logging.Logger;
+
+/**
+ * A service endpoint for the HolderTestCase
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 22-Dec-2004
+ */
+public class HolderTestServiceBean
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(HolderTestServiceBean.class);
+
+ public void echoBigDecimal(BigDecimalHolder val)
+ {
+ log.info("echoBigDecimal: " + val.value);
+ val.value = val.value.add(new BigDecimal("1"));
+ }
+
+ public void echoBigInteger(BigIntegerHolder val)
+ {
+ log.info("echoBigInteger: " + val.value);
+ val.value = val.value.add(new BigInteger("1"));
+ }
+
+ public void echoBoolean(BooleanHolder val)
+ {
+ log.info("echoBoolean: " + val.value);
+ val.value = !val.value;
+ }
+
+ public void echoBooleanWrapper(BooleanWrapperHolder val)
+ {
+ log.info("echoBooleanWrapper: " + val.value);
+ val.value = new Boolean(!val.value.booleanValue());
+ }
+
+ public void echoByteArray(ByteArrayHolder val)
+ {
+ log.info("echoByteArray: " + new String(val.value));
+ val.value = new String(new String(val.value) + "Response").getBytes();
+ }
+
+ public void echoByte(ByteHolder val)
+ {
+ log.info("echoByte: " + val.value);
+ val.value = (byte)(val.value + 1);
+ }
+
+ public void echoByteWrapper(ByteWrapperHolder val)
+ {
+ log.info("echoByteWrapper: " + val.value);
+ val.value = new Byte((byte)(val.value.byteValue() + 1));
+ }
+
+ public void echoCalendar(CalendarHolder val)
+ {
+ log.info("echoCalendar: " + val.value.getTime());
+ val.value.setTime(new Date(val.value.getTime().getTime()));
+ }
+
+ public void echoDouble(DoubleHolder val)
+ {
+ log.info("echoDouble: " + val.value);
+ val.value = val.value + 1;
+ }
+
+ public void echoDoubleWrapper(DoubleWrapperHolder val)
+ {
+ log.info("echoDoubleWrapper: " + val.value);
+ val.value = new Double(val.value.doubleValue() + 1);
+ }
+
+ public void echoFloat(FloatHolder val)
+ {
+ log.info("echoFloat: " + val.value);
+ val.value = val.value + 1;
+ }
+
+ public void echoFloatWrapper(FloatWrapperHolder val)
+ {
+ log.info("echoFloatWrapper: " + val.value);
+ val.value = new Float(val.value.floatValue() + 1);
+ }
+
+ public void echoIntegerWrapper(IntegerWrapperHolder val)
+ {
+ log.info("echoIntegerWrapper: " + val.value);
+ val.value = new Integer(val.value.intValue() + 1);
+ }
+
+ public void echoInt(IntHolder val)
+ {
+ log.info("echoInt: " + val.value);
+ val.value = val.value + 1;
+ }
+
+ public void echoLong(LongHolder val)
+ {
+ log.info("echoLong: " + val.value);
+ val.value = val.value + 1;
+ }
+
+ public void echoLongWrapper(LongWrapperHolder val)
+ {
+ log.info("echoLongWrapper: " + val.value);
+ val.value = new Long(val.value.longValue() + 1);
+ }
+
+ /*
+ public void echoObject(ObjectHolder val)
+ {
+ log.info("echoObject: " + val.value);
+ }
+ */
+
+ public void echoQName(QNameHolder val)
+ {
+ log.info("echoQName: " + val.value);
+ QName qn = val.value;
+ val.value = new QName(qn.getNamespaceURI(), qn.getLocalPart() + "Response", qn.getPrefix());
+ }
+
+ public void echoShort(ShortHolder val)
+ {
+ log.info("echoShort: " + val.value);
+ val.value = (short)(val.value + 1);
+ }
+
+ public void echoShortWrapper(ShortWrapperHolder val)
+ {
+ log.info("echoShortWrapper: " + val.value);
+ val.value = new Short((short)(val.value.shortValue() + 1));
+ }
+
+ public void echoString(StringHolder val)
+ {
+ log.info("echoString: " + val.value);
+ val.value = val.value + "Response";
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/holder/HolderTestServiceBean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/DocEJBTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/DocEJBTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/DocEJBTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.jsr109ejb;
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test EJB endpoint for a document style service.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 02-Jun-2005
+ */
+public class DocEJBTestCase extends JBossWSTest
+{
+ private static JaxRpcTestService endpoint;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(DocEJBTestCase.class, "jaxrpc-samples-jsr109ejb-doc.jar, jaxrpc-samples-jsr109ejb-doc-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (endpoint == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/TestServiceEJB");
+ endpoint = (JaxRpcTestService)service.getPort(JaxRpcTestService.class);
+ }
+ }
+
+ public void testEchoString() throws Exception
+ {
+ String hello = "Hello";
+ String world = "world!";
+ Object retObj = endpoint.echoString(hello, world);
+ assertEquals(hello + world, retObj);
+ }
+
+ public void testEchoSimpleUserType() throws Exception
+ {
+ String hello = "Hello";
+ SimpleUserType userType = new SimpleUserType(1, 2);
+
+ Object retObj = endpoint.echoSimpleUserType(hello, userType);
+ assertEquals(userType, retObj);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/DocEJBTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcEJBEndpoint.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcEJBEndpoint.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcEJBEndpoint.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,81 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.jsr109ejb;
+
+import java.rmi.RemoteException;
+
+import javax.ejb.EJBException;
+import javax.ejb.SessionBean;
+import javax.ejb.SessionContext;
+
+import org.jboss.logging.Logger;
+
+/**
+ * An EJB service endpoint
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 05-Feb-2005
+ */
+public class JaxRpcEJBEndpoint implements SessionBean
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(JaxRpcEJBEndpoint.class);
+
+ private SessionContext context;
+
+ public String echoString(String str1, String str2)
+ {
+ log.info("echoString: " + str1 + "," + str2);
+ log.info("callerPricipal: " + context.getCallerPrincipal());
+ return str1 + str2;
+ }
+
+ public SimpleUserType echoSimpleUserType(String str1, SimpleUserType usr)
+ {
+ log.info("echoSimpleUserType: " + str1 + "," + usr);
+ log.info("callerPricipal: " + context.getCallerPrincipal());
+ return usr;
+ }
+
+ // EJB Lifecycle ----------------------------------------------------------------------
+
+ public void setSessionContext(SessionContext context) throws EJBException, RemoteException
+ {
+ this.context = context;
+ }
+
+ public void ejbCreate()
+ {
+ }
+
+ public void ejbRemove()
+ {
+ }
+
+ public void ejbActivate()
+ {
+ }
+
+ public void ejbPassivate()
+ {
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcEJBEndpoint.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.jsr109ejb;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * A service endpoint interface for basic JAXRPC tests
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 14-Oct-2004
+ */
+public interface JaxRpcTestService extends Remote
+{
+ String echoString(String str1, String str2) throws RemoteException;
+
+ SimpleUserType echoSimpleUserType(String str1, SimpleUserType msg) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_RequestStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_RequestStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_RequestStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.
+ */
+//Auto Generated by jbossws - Please do not edit!!!
+package org.jboss.test.ws.jaxrpc.samples.jsr109ejb;
+
+
+public class JaxRpcTestService_echoSimpleUserType_RequestStruct
+{
+
+protected java.lang.String String_1;
+
+protected org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType SimpleUserType_2;
+public JaxRpcTestService_echoSimpleUserType_RequestStruct(){}
+
+public JaxRpcTestService_echoSimpleUserType_RequestStruct(java.lang.String String_1,org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType SimpleUserType_2){
+this.String_1=String_1;
+this.SimpleUserType_2=SimpleUserType_2;
+}
+public java.lang.String getString_1() { return String_1 ;}
+
+public void setString_1(java.lang.String myvar ){ String_1=myvar ;}
+
+public org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType getSimpleUserType_2() { return SimpleUserType_2 ;}
+
+public void setSimpleUserType_2(org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType myvar ){ SimpleUserType_2=myvar ;}
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_RequestStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.
+ */
+//Auto Generated by jbossws - Please do not edit!!!
+package org.jboss.test.ws.jaxrpc.samples.jsr109ejb;
+
+
+public class JaxRpcTestService_echoSimpleUserType_ResponseStruct
+{
+
+protected org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType result;
+public JaxRpcTestService_echoSimpleUserType_ResponseStruct(){}
+
+public JaxRpcTestService_echoSimpleUserType_ResponseStruct(org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType result){
+this.result=result;
+}
+public org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType getResult() { return result ;}
+
+public void setResult(org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType myvar ){ result=myvar ;}
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_RequestStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_RequestStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_RequestStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.
+ */
+//Auto Generated by jbossws - Please do not edit!!!
+package org.jboss.test.ws.jaxrpc.samples.jsr109ejb;
+
+
+public class JaxRpcTestService_echoString_RequestStruct
+{
+
+protected java.lang.String String_1;
+
+protected java.lang.String String_2;
+public JaxRpcTestService_echoString_RequestStruct(){}
+
+public JaxRpcTestService_echoString_RequestStruct(java.lang.String String_1,java.lang.String String_2){
+this.String_1=String_1;
+this.String_2=String_2;
+}
+public java.lang.String getString_1() { return String_1 ;}
+
+public void setString_1(java.lang.String myvar ){ String_1=myvar ;}
+
+public java.lang.String getString_2() { return String_2 ;}
+
+public void setString_2(java.lang.String myvar ){ String_2=myvar ;}
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_RequestStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_ResponseStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_ResponseStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_ResponseStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.
+ */
+//Auto Generated by jbossws - Please do not edit!!!
+package org.jboss.test.ws.jaxrpc.samples.jsr109ejb;
+
+
+public class JaxRpcTestService_echoString_ResponseStruct
+{
+
+protected java.lang.String result;
+public JaxRpcTestService_echoString_ResponseStruct(){}
+
+public JaxRpcTestService_echoString_ResponseStruct(java.lang.String result){
+this.result=result;
+}
+public java.lang.String getResult() { return result ;}
+
+public void setResult(java.lang.String myvar ){ result=myvar ;}
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_ResponseStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/RpcEJBTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/RpcEJBTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/RpcEJBTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,76 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.jsr109ejb;
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test EJB Service
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 25-Jan-2005
+ */
+public class RpcEJBTestCase extends JBossWSTest
+{
+ private static JaxRpcTestService port;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(RpcEJBTestCase.class, "jaxrpc-samples-jsr109ejb-rpc.jar, jaxrpc-samples-jsr109ejb-rpc-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/TestServiceEJB");
+ port = (JaxRpcTestService)service.getPort(JaxRpcTestService.class);
+ }
+ }
+
+ public void testEchoString() throws Exception
+ {
+ String hello = "Hello";
+ String world = "world!";
+
+ Object retObj = port.echoString(hello, world);
+ assertEquals(hello + world, retObj);
+ }
+
+ public void testEchoSimpleUserType() throws Exception
+ {
+ String hello = "Hello";
+ SimpleUserType userType = new SimpleUserType(1, 2);
+
+ Object retObj = port.echoSimpleUserType(hello, userType);
+ assertEquals(userType, retObj);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/RpcEJBTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/SimpleUserType.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/SimpleUserType.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/SimpleUserType.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,78 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.jsr109ejb;
+
+/**
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 23-Jan-2005
+ */
+public class SimpleUserType
+{
+ public int a;
+ private int b;
+
+ public SimpleUserType()
+ {
+ }
+
+ public SimpleUserType(int a, int b)
+ {
+ this.a = a;
+ this.b = b;
+ }
+
+ public int getB()
+ {
+ return b;
+ }
+
+ public void setB(int b)
+ {
+ this.b = b;
+ }
+
+ public boolean equals(Object o)
+ {
+ if (this == o) return true;
+ if (!(o instanceof SimpleUserType)) return false;
+
+ final SimpleUserType simpleUserType = (SimpleUserType)o;
+
+ if (a != simpleUserType.a) return false;
+ if (b != simpleUserType.b) return false;
+
+ return true;
+ }
+
+ public int hashCode()
+ {
+ int result;
+ result = a;
+ result = 29 * result + b;
+ return result;
+ }
+
+ public String toString()
+ {
+ return "[a=" + a + ",b=" + b + "]";
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/SimpleUserType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/DocJSETestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/DocJSETestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/DocJSETestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,74 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.jsr109pojo;
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test JSE endpoint for a document style service.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 02-Jun-2005
+ */
+public class DocJSETestCase extends JBossWSTest
+{
+ private static JaxRpcTestService port;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(DocJSETestCase.class, "jaxrpc-samples-jsr109pojo-doc.war, jaxrpc-samples-jsr109pojo-doc-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/TestServiceJSE");
+ port = (JaxRpcTestService)service.getPort(JaxRpcTestService.class);
+ }
+ }
+
+ public void testEchoString() throws Exception
+ {
+ String hello = "Hello";
+ String world = "world!";
+ Object retObj = port.echoString(hello, world);
+ assertEquals(hello + world, retObj);
+ }
+
+ public void testEchoSimpleUserType() throws Exception
+ {
+ String hello = "Hello";
+ SimpleUserType userType = new SimpleUserType(1, 2);
+ Object retObj = port.echoSimpleUserType(hello, userType);
+ assertEquals(userType, retObj);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/DocJSETestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcJSEEndpoint.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcJSEEndpoint.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcJSEEndpoint.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.jsr109pojo;
+
+import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.server.ServiceLifecycle;
+import javax.xml.rpc.server.ServletEndpointContext;
+
+import org.jboss.logging.Logger;
+
+/**
+ * An JSE service endpoint
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 14-Oct-2004
+ */
+public class JaxRpcJSEEndpoint implements JaxRpcTestService, ServiceLifecycle
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(JaxRpcJSEEndpoint.class);
+
+ private ServletEndpointContext context;
+
+ public String echoString(String str1, String str2)
+ {
+ log.info("echoString: " + str1 + "," + str2);
+ log.info("userPricipal: " + context.getUserPrincipal());
+ return str1 + str2;
+ }
+
+ public SimpleUserType echoSimpleUserType(String str1, SimpleUserType usr)
+ {
+ log.info("echoSimpleUserType: " + str1 + "," + usr);
+ log.info("userPricipal: " + context.getUserPrincipal());
+ return usr;
+ }
+
+ public void init(Object context) throws ServiceException
+ {
+ this.context = (ServletEndpointContext)context;
+ }
+
+ public void destroy()
+ {
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcJSEEndpoint.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.jsr109pojo;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * A service endpoint interface for basic JAXRPC tests
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 14-Oct-2004
+ */
+public interface JaxRpcTestService extends Remote
+{
+ String echoString(String str1, String str2) throws RemoteException;
+
+ SimpleUserType echoSimpleUserType(String str1, SimpleUserType msg) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_RequestStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_RequestStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_RequestStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.
+ */
+//Auto Generated by jbossws - Please do not edit!!!
+package org.jboss.test.ws.jaxrpc.samples.jsr109pojo;
+
+
+public class JaxRpcTestService_echoSimpleUserType_RequestStruct
+{
+
+protected java.lang.String String_1;
+
+protected org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType SimpleUserType_2;
+public JaxRpcTestService_echoSimpleUserType_RequestStruct(){}
+
+public JaxRpcTestService_echoSimpleUserType_RequestStruct(java.lang.String String_1,org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType SimpleUserType_2){
+this.String_1=String_1;
+this.SimpleUserType_2=SimpleUserType_2;
+}
+public java.lang.String getString_1() { return String_1 ;}
+
+public void setString_1(java.lang.String myvar ){ String_1=myvar ;}
+
+public org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType getSimpleUserType_2() { return SimpleUserType_2 ;}
+
+public void setSimpleUserType_2(org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType myvar ){ SimpleUserType_2=myvar ;}
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_RequestStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.
+ */
+//Auto Generated by jbossws - Please do not edit!!!
+package org.jboss.test.ws.jaxrpc.samples.jsr109pojo;
+
+
+public class JaxRpcTestService_echoSimpleUserType_ResponseStruct
+{
+
+protected org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType result;
+public JaxRpcTestService_echoSimpleUserType_ResponseStruct(){}
+
+public JaxRpcTestService_echoSimpleUserType_ResponseStruct(org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType result){
+this.result=result;
+}
+public org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType getResult() { return result ;}
+
+public void setResult(org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType myvar ){ result=myvar ;}
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_RequestStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_RequestStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_RequestStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.
+ */
+//Auto Generated by jbossws - Please do not edit!!!
+package org.jboss.test.ws.jaxrpc.samples.jsr109pojo;
+
+
+public class JaxRpcTestService_echoString_RequestStruct
+{
+
+protected java.lang.String String_1;
+
+protected java.lang.String String_2;
+public JaxRpcTestService_echoString_RequestStruct(){}
+
+public JaxRpcTestService_echoString_RequestStruct(java.lang.String String_1,java.lang.String String_2){
+this.String_1=String_1;
+this.String_2=String_2;
+}
+public java.lang.String getString_1() { return String_1 ;}
+
+public void setString_1(java.lang.String myvar ){ String_1=myvar ;}
+
+public java.lang.String getString_2() { return String_2 ;}
+
+public void setString_2(java.lang.String myvar ){ String_2=myvar ;}
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_RequestStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_ResponseStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_ResponseStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_ResponseStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.
+ */
+//Auto Generated by jbossws - Please do not edit!!!
+package org.jboss.test.ws.jaxrpc.samples.jsr109pojo;
+
+
+public class JaxRpcTestService_echoString_ResponseStruct
+{
+
+protected java.lang.String result;
+public JaxRpcTestService_echoString_ResponseStruct(){}
+
+public JaxRpcTestService_echoString_ResponseStruct(java.lang.String result){
+this.result=result;
+}
+public java.lang.String getResult() { return result ;}
+
+public void setResult(java.lang.String myvar ){ result=myvar ;}
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_ResponseStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/RpcJSETestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/RpcJSETestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/RpcJSETestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,74 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.jsr109pojo;
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test JSE test case for an rpc style service.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 25-Jan-2005
+ */
+public class RpcJSETestCase extends JBossWSTest
+{
+ private static JaxRpcTestService port;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(RpcJSETestCase.class, "jaxrpc-samples-jsr109pojo-rpc.war, jaxrpc-samples-jsr109pojo-rpc-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/TestServiceJSE");
+ port = (JaxRpcTestService)service.getPort(JaxRpcTestService.class);
+ }
+ }
+
+ public void testEchoString() throws Exception
+ {
+ String hello = "Hello";
+ String world = "world!";
+ Object retObj = port.echoString(hello, world);
+ assertEquals(hello + world, retObj);
+ }
+
+ public void testEchoSimpleUserType() throws Exception
+ {
+ String hello = "Hello";
+ SimpleUserType userType = new SimpleUserType(1, 2);
+ Object retObj = port.echoSimpleUserType(hello, userType);
+ assertEquals(userType, retObj);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/RpcJSETestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/SimpleUserType.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/SimpleUserType.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/SimpleUserType.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,78 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.jsr109pojo;
+
+/**
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 23-Jan-2005
+ */
+public class SimpleUserType
+{
+ public int a;
+ private int b;
+
+ public SimpleUserType()
+ {
+ }
+
+ public SimpleUserType(int a, int b)
+ {
+ this.a = a;
+ this.b = b;
+ }
+
+ public int getB()
+ {
+ return b;
+ }
+
+ public void setB(int b)
+ {
+ this.b = b;
+ }
+
+ public boolean equals(Object o)
+ {
+ if (this == o) return true;
+ if (!(o instanceof SimpleUserType)) return false;
+
+ final SimpleUserType simpleUserType = (SimpleUserType)o;
+
+ if (a != simpleUserType.a) return false;
+ if (b != simpleUserType.b) return false;
+
+ return true;
+ }
+
+ public int hashCode()
+ {
+ int result;
+ result = a;
+ result = 29 * result + b;
+ return result;
+ }
+
+ public String toString()
+ {
+ return "[a=" + a + ",b=" + b + "]";
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/SimpleUserType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,179 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.message;
+
+import java.io.ByteArrayInputStream;
+import java.net.URL;
+
+import javax.naming.InitialContext;
+import javax.xml.namespace.QName;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.rpc.Service;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.SOAPBody;
+import javax.xml.soap.SOAPConnection;
+import javax.xml.soap.SOAPConnectionFactory;
+import javax.xml.soap.SOAPElement;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPFactory;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.dom.DOMSource;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+import org.jboss.wsf.common.DOMUtils;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
+/**
+ * Test unstructured message processing
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 26-Nov-2004
+ */
+public class MessageTestCase extends JBossWSTest
+{
+ private final String TARGET_ENDPOINT = "http://" + getServerHost() + ":8080/jaxrpc-samples-message";
+
+ /** Deploy the test ear */
+ public static Test suite() throws Exception
+ {
+ return new JBossWSTestSetup(MessageTestCase.class, "jaxrpc-samples-message.war, jaxrpc-samples-message-client.jar");
+ }
+
+ /** Use the SAAJ API to send the SOAP message.
+ * This simulates an external client and tests server side message handling.
+ */
+ public void testSAAJClientFromEnvelope() throws Exception
+ {
+ MessageFactory mf = MessageFactory.newInstance();
+ SOAPMessage reqMsg = mf.createMessage();
+
+ DocumentBuilder builder = getDocumentBuilder();
+ Document doc = builder.parse(new ByteArrayInputStream(MessageTestService.request.getBytes()));
+ reqMsg.getSOAPBody().addDocument(doc);
+
+ SOAPConnectionFactory conFactory = SOAPConnectionFactory.newInstance();
+ SOAPConnection con = conFactory.createConnection();
+ SOAPMessage resMsg = con.call(reqMsg, new URL(TARGET_ENDPOINT));
+
+ SOAPBody soapBody = resMsg.getSOAPBody();
+ SOAPElement soapElement = (SOAPElement)soapBody.getChildElements().next();
+
+ validateResponse(soapElement);
+ }
+
+ /** Use the SAAJ API to send the SOAP message.
+ * This simulates an external client and tests server side message handling.
+ */
+ public void testSAAJClientFromBody() throws Exception
+ {
+ MessageFactory mf = MessageFactory.newInstance();
+ SOAPMessage reqMsg = mf.createMessage();
+
+ DocumentBuilder builder = getDocumentBuilder();
+ Document doc = builder.parse(new ByteArrayInputStream(MessageTestService.request.getBytes()));
+ reqMsg.getSOAPBody().addDocument(doc);
+
+ SOAPConnectionFactory conFactory = SOAPConnectionFactory.newInstance();
+ SOAPConnection con = conFactory.createConnection();
+ SOAPMessage resMsg = con.call(reqMsg, new URL(TARGET_ENDPOINT));
+
+ SOAPBody soapBody = resMsg.getSOAPBody();
+ SOAPElement soapElement = (SOAPElement)soapBody.getChildElements().next();
+
+ validateResponse(soapElement);
+ }
+
+ /** Use the JBoss generated dynamic proxy send the SOAP message.
+ * This tests server/client side message handling.
+ */
+ public void testProcessElement() throws Exception
+ {
+ MessageTestService port = getPort();
+
+ DocumentBuilder builder = getDocumentBuilder();
+ Document doc = builder.parse(new ByteArrayInputStream(MessageTestService.request.getBytes()));
+ Element reqElement = doc.getDocumentElement();
+
+ Element resElement = port.processElement(convertToSOAPElement(reqElement));
+ validateResponse(resElement);
+ }
+
+ private MessageTestService getPort() throws Exception
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/MessageService");
+ MessageTestService port = (MessageTestService)service.getPort(MessageTestService.class);
+ return port;
+ }
+
+ private SOAPElement convertToSOAPElement(Element reqElement) throws TransformerException, SOAPException
+ {
+ SOAPElement parent = SOAPFactory.newInstance().createElement("dummy");
+ TransformerFactory factory = TransformerFactory.newInstance();
+ Transformer transformer = factory.newTransformer();
+ transformer.transform(new DOMSource(reqElement), new DOMResult(parent));
+ return (SOAPElement)parent.getChildElements().next();
+ }
+
+ private DocumentBuilder getDocumentBuilder() throws ParserConfigurationException
+ {
+ // Setup document builder
+ DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
+ docBuilderFactory.setNamespaceAware(true);
+
+ DocumentBuilder builder = docBuilderFactory.newDocumentBuilder();
+ return builder;
+ }
+
+ private void validateResponse(Element resEl) throws Exception
+ {
+ QName expName = new QName(MessageTestService.TARGET_NAMESPACE, "Response", MessageTestService.PREFIX_1);
+ QName elementName = new QName(resEl.getNamespaceURI(), resEl.getLocalName(), resEl.getPrefix());
+ assertEquals(expName, elementName);
+
+ expName = new QName("POID");
+ Element poidEl = DOMUtils.getFirstChildElement(resEl, expName);
+ elementName = new QName(poidEl.getLocalName());
+ assertEquals(expName, elementName);
+
+ String elementValue = DOMUtils.getTextContent(poidEl);
+ assertEquals("12345", elementValue);
+
+ expName = new QName("Status");
+ Element statusEl = DOMUtils.getFirstChildElement(resEl, expName);
+ elementName = new QName(statusEl.getLocalName());
+ assertEquals(expName, elementName);
+
+ elementValue = DOMUtils.getTextContent(statusEl);
+ assertEquals("ok", elementValue);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,54 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.message;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+import javax.xml.soap.SOAPElement;
+
+/**
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 26-Nov-2004
+ */
+public interface MessageTestService extends Remote
+{
+ static final String TARGET_NAMESPACE = "http://org.jboss.ws/samples/message/types";
+ static final String PREFIX_1 = "ns1";
+
+ static final String NSURI_2 = "http://somens";
+ static final String PREFIX_2 = "ns2";
+
+ String request =
+ "<ns1:Order xmlns:ns1='" + TARGET_NAMESPACE + "' xmlns:ns2='http://somens' attrval='somevalue'>" +
+ " <ns2:Customer>Kermit</ns2:Customer>" +
+ " <Item>Ferrari</Item>" +
+ "</ns1:Order>";
+
+ String response =
+ "<ns1:Response xmlns:ns1='" + TARGET_NAMESPACE + "'>" +
+ " <POID>12345</POID>" +
+ " <Status>ok</Status>" +
+ "</ns1:Response>";
+
+ public SOAPElement processElement(SOAPElement msg) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestServiceBean.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestServiceBean.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestServiceBean.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.message;
+
+import java.io.ByteArrayInputStream;
+import java.rmi.RemoteException;
+
+import javax.xml.namespace.QName;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.soap.SOAPElement;
+import javax.xml.soap.SOAPFactory;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerFactory;
+import javax.xml.transform.dom.DOMResult;
+import javax.xml.transform.dom.DOMSource;
+
+import org.jboss.logging.Logger;
+import org.jboss.wsf.common.DOMUtils;
+import org.jboss.wsf.common.DOMWriter;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NodeList;
+
+/**
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 26-Nov-2004
+ */
+public class MessageTestServiceBean implements MessageTestService
+{
+ // provide logging
+ private final Logger log = Logger.getLogger(MessageTestServiceBean.class);
+
+ /** org.w3c.dom.Element
+ */
+ public SOAPElement processElement(SOAPElement msg) throws RemoteException
+ {
+ String msgStr = DOMWriter.printNode(msg, true);
+ log.info("processElement: " + msgStr);
+
+ try
+ {
+ Element reqEl = (Element)msg;
+
+ // verify order element
+ QName qname = new QName(TARGET_NAMESPACE, "Order", PREFIX_1);
+ QName elementName = new QName(reqEl.getNamespaceURI(), reqEl.getLocalName(), reqEl.getPrefix());
+ if (qname.equals(elementName) == false)
+ throw new IllegalArgumentException("Unexpected element: " + elementName);
+
+ // Verify the custom attribute
+ String attrVal = reqEl.getAttribute("attrval");
+ if ("somevalue".equals(attrVal) == false)
+ throw new IllegalArgumentException("Unexpected attribute value: " + attrVal);
+
+ // Verify NS declarations
+ String nsURI_1 = reqEl.getAttribute("xmlns:" + PREFIX_1);
+ if (TARGET_NAMESPACE.equals(nsURI_1) == false)
+ throw new IllegalArgumentException("Unexpected namespace URI: " + nsURI_1);
+
+ String nsURI_2 = reqEl.getAttribute("xmlns:" + PREFIX_2);
+ if (NSURI_2.equals(nsURI_2) == false)
+ throw new IllegalArgumentException("Unexpected namespace URI: " + nsURI_2);
+
+ // Test getElementsByTagNameNS
+ // http://jira.jboss.com/jira/browse/JBWS-99
+ NodeList nodeList1 = reqEl.getElementsByTagNameNS(NSURI_2, "Customer");
+ if (nodeList1.getLength() != 1)
+ throw new IllegalArgumentException("Cannot getElementsByTagNameNS");
+
+ // Test getElementsByTagName
+ // http://jira.jboss.com/jira/browse/JBWS-99
+ NodeList nodeList2 = reqEl.getElementsByTagName("Item");
+ if (nodeList2.getLength() != 1)
+ throw new IllegalArgumentException("Cannot getElementsByTagName");
+
+ // verify customer element
+ qname = new QName(NSURI_2, "Customer", PREFIX_2);
+ Element custEl = DOMUtils.getFirstChildElement(reqEl, qname);
+ String elementValue = DOMUtils.getTextContent(custEl);
+ if ("Customer".equals(custEl.getLocalName()) == false || "Kermit".equals(elementValue) == false)
+ throw new IllegalArgumentException("Unexpected element value: " + elementValue);
+
+ // verify item element
+ qname = new QName("Item");
+ Element itemEl = DOMUtils.getFirstChildElement(reqEl, qname);
+ elementValue = DOMUtils.getTextContent(itemEl);
+ if ("Item".equals(itemEl.getLocalName()) == false || "Ferrari".equals(elementValue) == false)
+ throw new IllegalArgumentException("Unexpected element value: " + elementValue);
+
+ // Setup document builder
+ DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
+ docBuilderFactory.setNamespaceAware(true);
+
+ // Prepare response
+ DocumentBuilder builder = docBuilderFactory.newDocumentBuilder();
+ Document doc = builder.parse(new ByteArrayInputStream(response.getBytes()));
+
+ SOAPElement parent = SOAPFactory.newInstance().createElement("dummy");
+ TransformerFactory factory = TransformerFactory.newInstance();
+ Transformer transformer = factory.newTransformer();
+ transformer.transform(new DOMSource(doc), new DOMResult(parent));
+ return (SOAPElement)parent.getChildElements().next();
+ }
+ catch (RuntimeException e)
+ {
+ throw e;
+ }
+ catch (Exception e)
+ {
+ throw new RemoteException(e.toString(), e);
+ }
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/message/MessageTestServiceBean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Employee.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Employee.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Employee.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,59 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.mtom;
+
+import javax.activation.DataHandler;
+
+/**
+ * @author Heiko Braun <heiko.braun(a)jboss.com>
+ * @since Oct 27, 2006
+ */
+public class Employee {
+
+ private String firstname;
+ private String lastname;
+ private DataHandler legacyData;
+
+ public String getFirstname() {
+ return firstname;
+ }
+
+ public void setFirstname(String firstname) {
+ this.firstname = firstname;
+ }
+
+ public String getLastname() {
+ return lastname;
+ }
+
+ public void setLastname(String lastname) {
+ this.lastname = lastname;
+ }
+
+ public DataHandler getLegacyData() {
+ return legacyData;
+ }
+
+ public void setLegacyData(DataHandler legacyData) {
+ this.legacyData = legacyData;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Employee.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecords.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecords.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecords.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.mtom;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * Service Endpoint Interface for XOP
+ *
+ * image/gif java.awt.Image
+ * image/jpeg java.awt.Image
+ * text/plain java.lang.String
+ * multipart/* javax.mail.internet.MimeMultipart
+ * text/xml javax.xml.transform.Source
+ * application/xml javax.xml.transform.Source
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 18-Jan-2006
+ */
+public interface EmployeeRecords extends Remote
+{
+ public Status updateEmployee(Employee employee) throws RemoteException;
+ public Employee queryEmployee(Query query) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecords.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecordsImpl.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecordsImpl.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecordsImpl.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,91 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.mtom;
+
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+import java.rmi.RemoteException;
+
+import javax.activation.DataHandler;
+import javax.xml.transform.stream.StreamSource;
+
+import org.jboss.wsf.common.IOUtils;
+
+/**
+ * EmployeeRecords service endpoint
+ *
+ * @author Heiko.Braun(a)jboss.org
+ */
+public class EmployeeRecordsImpl implements EmployeeRecords
+{
+ public Status updateEmployee(Employee employee) throws RemoteException
+ {
+ try
+ {
+ DataHandler dataHandler = employee.getLegacyData();
+ String contentType = dataHandler.getContentType();
+
+ // Note: An MTOM request is ambiguous.
+ // Some vendors do XOP encoding dpending on a threshold.
+ // In that case you might receive an inlined request for
+ // an MTOM capable endpoint. The example below shows how deal with it.
+
+ if ("text/xml".equals(contentType))
+ {
+ StreamSource xmlStream = (StreamSource)dataHandler.getContent();
+ IOUtils.copyStream(System.out, xmlStream.getInputStream());
+ }
+ else if ("application/octet-stream".equals(contentType))
+ {
+ IOUtils.copyStream(System.out, dataHandler.getInputStream());
+ }
+
+ return new Status("OK");
+ }
+ catch (IOException e)
+ {
+ throw new RemoteException(e.getMessage());
+ }
+ }
+
+ public Employee queryEmployee(Query query) throws RemoteException
+ {
+ Employee employee = new Employee();
+ employee.setFirstname("Peter");
+ employee.setLastname("Pan");
+ employee.setLegacyData(getLegacyData());
+
+ return employee;
+ }
+
+ private DataHandler getLegacyData()
+ {
+ try
+ {
+ return new DataHandler(new StreamSource(new ByteArrayInputStream("<Payroll><Data/></Payroll>".getBytes())), "application/xml");
+ }
+ catch (Exception e)
+ {
+ throw new RuntimeException(e);
+ }
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/EmployeeRecordsImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/HRService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/HRService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/HRService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,32 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.mtom;
+
+import javax.xml.rpc.ServiceException;
+
+/**
+ * @author Heiko Braun <heiko.braun(a)jboss.com>
+ * @since Oct 27, 2006
+ */
+public interface HRService extends javax.xml.rpc.Service{
+ public EmployeeRecords getEmployeeRecordsPort() throws ServiceException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/HRService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/MTOMTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/MTOMTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/MTOMTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,106 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.mtom;
+
+import java.io.BufferedReader;
+import java.io.ByteArrayInputStream;
+import java.io.InputStreamReader;
+
+import javax.activation.DataHandler;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+import javax.xml.transform.stream.StreamSource;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test SOAP with XOP through the JAXRPC dynamic proxy layer.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @author Heiko.Braun(a)jboss.org
+ * @since 18-Jan-2006
+ */
+public class MTOMTestCase extends JBossWSTest
+{
+ private static EmployeeRecords port;
+
+ /** Deploy the test ear */
+ public static Test suite() throws Exception
+ {
+ return new JBossWSTestSetup(MTOMTestCase.class, "jaxrpc-samples-mtom.war, jaxrpc-samples-mtom-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/XOPTestService");
+ port = (EmployeeRecords)service.getPort(EmployeeRecords.class);
+ }
+ }
+
+ public void testUpdate() throws Exception
+ {
+ Employee employee = new Employee();
+ employee.setFirstname("Peter");
+ employee.setLastname("Pan");
+ employee.setLegacyData(getLegacyData());
+
+ Status status = port.updateEmployee(employee);
+ assertEquals("OK", status.getCode());
+ }
+
+ public void testUpdateMTOMDisabled() throws Exception
+ {
+ setMTOMEnabled(Boolean.FALSE);
+ testUpdate();
+ }
+
+ public void testQuery() throws Exception
+ {
+ Query query = new Query("Peter", "Pan");
+ Employee employee = port.queryEmployee(query);
+ assertNotNull(employee);
+ assertNotNull(employee.getLegacyData());
+
+ StreamSource xmlStream = (StreamSource)employee.getLegacyData().getContent();
+ String content = new BufferedReader(new InputStreamReader(xmlStream.getInputStream())).readLine();
+ assertEquals("<Payroll><Data/></Payroll>", content);
+ }
+
+ private DataHandler getLegacyData()
+ {
+ return new DataHandler(new StreamSource(new ByteArrayInputStream("<Payroll><Data/></Payroll>".getBytes())), "application/xml");
+ }
+
+ private void setMTOMEnabled(Boolean b)
+ {
+ ((Stub)port)._setProperty("org.jboss.ws.mtom.enabled", b);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/MTOMTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Query.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Query.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Query.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,56 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.mtom;
+
+/**
+ * @author Heiko Braun <heiko.braun(a)jboss.com>
+ * @since Oct 27, 2006
+ */
+public class Query {
+
+ private String firstname;
+ private String lastname;
+
+ public Query() {
+ }
+
+ public Query(String firstname, String lastname) {
+ this.firstname = firstname;
+ this.lastname = lastname;
+ }
+
+ public String getFirstname() {
+ return firstname;
+ }
+
+ public void setFirstname(String firstname) {
+ this.firstname = firstname;
+ }
+
+ public String getLastname() {
+ return lastname;
+ }
+
+ public void setLastname(String lastname) {
+ this.lastname = lastname;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Query.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Status.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Status.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Status.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.mtom;
+
+/**
+ * @author Heiko Braun <heiko.braun(a)jboss.com>
+ * @since Oct 27, 2006
+ */
+public class Status {
+ private String code;
+
+ public Status() {
+ }
+
+ public Status(String code) {
+ this.code = code;
+ }
+
+ public String getCode() {
+ return code;
+ }
+
+ public void setCode(String code) {
+ this.code = code;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/Status.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayServiceBean.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayServiceBean.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayServiceBean.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.oneway;
+
+import org.jboss.logging.Logger;
+
+/**
+ * A service endpoint for one-way invocation
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 09-Sep-2005
+ */
+public class OneWayServiceBean implements OneWayTestService
+{
+ // provide logging
+ protected Logger log = Logger.getLogger(OneWayServiceBean.class);
+
+ public void noOneWay(String str1)
+ {
+ log.info("noOneWay: " + str1);
+ }
+
+ public void oneWay(String str1)
+ {
+ log.info("oneWay: " + str1);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayServiceBean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,68 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.oneway;
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test JSE test case for onway operations.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 09-Sep-2005
+ */
+public class OneWayTestCase extends JBossWSTest
+{
+ private static OneWayTestService port;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(OneWayTestCase.class, "jaxrpc-samples-oneway.war, jaxrpc-samples-oneway-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/TestService");
+ port = (OneWayTestService)service.getPort(OneWayTestService.class);
+ }
+ }
+
+ public void testOneWay() throws Exception
+ {
+ port.oneWay("Hello");
+ }
+
+ public void testNoOneWay() throws Exception
+ {
+ port.noOneWay("Hello");
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayTestService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayTestService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayTestService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.oneway;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * A service endpoint interface for one-way invocation
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 09-Sep-2005
+ */
+public interface OneWayTestService extends Remote
+{
+ void noOneWay(String str1) throws RemoteException;
+
+ void oneWay(String str1) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/oneway/OneWayTestService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialEndpointJSE.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialEndpointJSE.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialEndpointJSE.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.rpcstyle;
+
+import org.jboss.logging.Logger;
+
+/**
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 04-Jun-2005
+ */
+public class TrivialEndpointJSE implements TrivialService
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(TrivialEndpointJSE.class);
+
+ public String purchase (String person, String product)
+ {
+ log.info("purchase: " + person + "," + product);
+ return "ok" + person + product;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialEndpointJSE.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.rpcstyle;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 04-Jun-2005
+ */
+public interface TrivialService extends Remote
+{
+ String purchase (String person, String product) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialServiceRpcTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialServiceRpcTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialServiceRpcTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,66 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.rpcstyle;
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test JSE test case for an rpc style service.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 25-Jan-2005
+ */
+public class TrivialServiceRpcTestCase extends JBossWSTest
+{
+ private static TrivialService port;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(TrivialServiceRpcTestCase.class, "jaxrpc-samples-rpcstyle.war, jaxrpc-samples-rpcstyle-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/TrivialService");
+ port = (TrivialService)service.getPort(TrivialService.class);
+ }
+ }
+
+ public void testTrivialAccess() throws Exception
+ {
+ String person = "Kermit";
+ String product = "Ferrari";
+ String status = port.purchase(person, product);
+ assertEquals("ok" + person + product, status);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialServiceRpcTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationHome.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationHome.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationHome.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.secureejb;
+
+import java.rmi.RemoteException;
+
+import javax.ejb.CreateException;
+import javax.ejb.EJBHome;
+
+/**
+ * An example of a remote home interface
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 26-Apr-2004
+ */
+public interface OrganizationHome extends EJBHome
+{
+ public OrganizationRemote create() throws CreateException, RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationHome.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationImpl.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationImpl.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationImpl.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,70 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.secureejb;
+
+import java.rmi.RemoteException;
+
+import javax.ejb.EJBException;
+import javax.ejb.SessionBean;
+import javax.ejb.SessionContext;
+
+import org.jboss.logging.Logger;
+
+/**
+ * An example of an EJB service endpoint.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 26-Apr-2004
+ */
+public class OrganizationImpl implements SessionBean
+{
+ // provide logging
+ private static final Logger log = Logger.getLogger(OrganizationImpl.class);
+
+ public String getContactInfo(String organization) throws RemoteException
+ {
+ log.info("getContactInfo: " + organization);
+ return "The '" + organization + "' boss is currently out of office, please call again.";
+ }
+
+ // SLSB Lifecycle ***************************************************************************************************
+
+ public void ejbCreate()
+ {
+ }
+
+ public void setSessionContext(SessionContext ctx) throws EJBException, RemoteException
+ {
+ }
+
+ public void ejbRemove() throws EJBException, RemoteException
+ {
+ }
+
+ public void ejbActivate() throws EJBException, RemoteException
+ {
+ }
+
+ public void ejbPassivate() throws EJBException, RemoteException
+ {
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationRemote.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationRemote.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationRemote.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.secureejb;
+
+import java.rmi.RemoteException;
+
+import javax.ejb.EJBObject;
+
+/**
+ * An example of a remote interface
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 26-Apr-2004
+ */
+public interface OrganizationRemote extends EJBObject
+{
+ String getContactInfo(String organization) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationRemote.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.secureejb;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * An example of a service endpoint
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 26-Apr-2004
+ */
+public interface OrganizationService extends Remote
+{
+ String getContactInfo(String organization) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/SecureEJBTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/SecureEJBTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/SecureEJBTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.secureejb;
+
+import java.net.URL;
+import java.rmi.RemoteException;
+
+import javax.naming.InitialContext;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * A web service client that connects to a secured SLSB endpoint using.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 26-Apr-2004
+ */
+public class SecureEJBTestCase extends JBossWSTest
+{
+ public static final String USERNAME = "kermit";
+ public static final String PASSWORD = "thefrog";
+
+ public static Test suite() throws Exception
+ {
+ return new JBossWSTestSetup(SecureEJBTestCase.class, "jaxrpc-samples-secureejb.jar, jaxrpc-samples-secureejb-client.jar");
+ }
+
+ public void testRoleSecuredServiceAccess() throws Exception
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/RoleSecured");
+ QName portName = new QName("http://org.jboss.ws/samples/secureejb", "RoleSecuredPort");
+ OrganizationService port = (OrganizationService)service.getPort(portName, OrganizationService.class);
+
+ try
+ {
+ port.getContactInfo("mafia");
+ fail("Security exception expected");
+ }
+ catch (RemoteException ignore)
+ {
+ // ignore expected exception
+ }
+
+ Stub stub = (Stub)port;
+ stub._setProperty(Stub.USERNAME_PROPERTY, USERNAME);
+ stub._setProperty(Stub.PASSWORD_PROPERTY, PASSWORD);
+
+ String info = port.getContactInfo("mafia");
+ assertEquals("The 'mafia' boss is currently out of office, please call again.", info);
+ }
+
+ /** Test that the remote access to this bean is unchecked
+ */
+ public void testBasicSecuredSLSB() throws Exception
+ {
+ InitialContext iniCtx = getInitialContext();
+ OrganizationHome home = (OrganizationHome)iniCtx.lookup("ejb/BasicSecuredSLSB");
+
+ OrganizationRemote bean = home.create();
+ String info = bean.getContactInfo("mafia");
+ assertEquals("The 'mafia' boss is currently out of office, please call again.", info);
+ }
+
+ public void testBasicSecuredServiceAccess() throws Exception
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/BasicSecured");
+ QName portName = new QName("http://org.jboss.ws/samples/secureejb", "BasicSecuredPort");
+ OrganizationService port = (OrganizationService)service.getPort(portName, OrganizationService.class);
+
+ try
+ {
+ port.getContactInfo("mafia");
+ fail("Security exception expected");
+ }
+ catch (RemoteException ignore)
+ {
+ // ignore expected exception
+ }
+
+ Stub stub = (Stub)port;
+ stub._setProperty(Stub.USERNAME_PROPERTY, USERNAME);
+ stub._setProperty(Stub.PASSWORD_PROPERTY, PASSWORD);
+
+ String info = port.getContactInfo("mafia");
+ assertEquals("The 'mafia' boss is currently out of office, please call again.", info);
+ }
+
+ public void testConfidentialServiceAccess() throws Exception
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/ConfidentialSecured");
+ QName portName = new QName("http://org.jboss.ws/samples/secureejb", "ConfidentialPort");
+ OrganizationService port = (OrganizationService)service.getPort(portName, OrganizationService.class);
+
+ Stub stub = (Stub)port;
+ String address = (String)stub._getProperty(Stub.ENDPOINT_ADDRESS_PROPERTY);
+ assertEquals("https://" + getServerHost() + ":8443/jaxrpc-samples-ejb/ConfidentialSecured", address);
+
+ // test non-confidential access
+ try
+ {
+ stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://" + getServerHost() + ":8080/jaxrpc-samples-ejb/ConfidentialSecured");
+ port.getContactInfo("mafia");
+
+ fail("Security exception expected");
+ }
+ catch (RemoteException ignore)
+ {
+ // ignore expected exception
+ }
+
+ // test confidential access
+ //stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "https://" + getServerHost() + ":8443/jaxrpc-samples-ejb/ConfidentialSecured");
+ //String info = port.getContactInfo("mafia");
+ //assertEquals("The 'mafia' boss is currently out of office, please call again.", info);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/secureejb/SecureEJBTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ApplicationClient.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ApplicationClient.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ApplicationClient.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,68 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.serviceref;
+
+import java.rmi.RemoteException;
+import java.util.ArrayList;
+
+import javax.naming.InitialContext;
+import javax.xml.rpc.JAXRPCException;
+import javax.xml.rpc.Service;
+
+import org.jboss.logging.Logger;
+
+public class ApplicationClient
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(ApplicationClient.class);
+
+ public static InitialContext encCtx;
+ public static String retStr;
+
+ public static void main(String[] args) throws RemoteException
+ {
+ String inStr = args[0];
+ log.info("echo: " + inStr);
+
+ ArrayList ports = new ArrayList();
+ try
+ {
+ ports.add((TestEndpoint)((Service)encCtx.lookup("java:comp/env/service1")).getPort(TestEndpoint.class));
+ ports.add(((TestEndpointService)encCtx.lookup("java:comp/env/service2")).getTestEndpointPort());
+ }
+ catch (Exception ex)
+ {
+ log.error("Cannot add port", ex);
+ throw new JAXRPCException(ex);
+ }
+
+ for (int i = 0; i < ports.size(); i++)
+ {
+ TestEndpoint port = (TestEndpoint)ports.get(i);
+ String outStr = port.echo(inStr);
+ if (inStr.equals(outStr) == false)
+ throw new JAXRPCException("Invalid echo return: " + inStr);
+ }
+
+ retStr = inStr;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ApplicationClient.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBClient.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBClient.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBClient.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.serviceref;
+
+import java.rmi.RemoteException;
+import java.util.ArrayList;
+
+import javax.ejb.EJBException;
+import javax.ejb.SessionBean;
+import javax.ejb.SessionContext;
+import javax.naming.InitialContext;
+import javax.xml.rpc.JAXRPCException;
+import javax.xml.rpc.Service;
+
+import org.jboss.logging.Logger;
+
+public class EJBClient implements SessionBean
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(EJBClient.class);
+
+ private SessionContext context;
+
+ public String echo(String inStr) throws RemoteException
+ {
+ log.info("echo: " + inStr);
+
+ ArrayList ports = new ArrayList();
+ try
+ {
+ InitialContext iniCtx = new InitialContext();
+ ports.add((TestEndpoint)((Service)iniCtx.lookup("java:comp/env/service1")).getPort(TestEndpoint.class));
+ ports.add(((TestEndpointService)iniCtx.lookup("java:comp/env/service2")).getTestEndpointPort());
+ }
+ catch (Exception ex)
+ {
+ log.error("Cannot add port", ex);
+ throw new JAXRPCException(ex);
+ }
+
+ for (int i = 0; i < ports.size(); i++)
+ {
+ TestEndpoint port = (TestEndpoint)ports.get(i);
+ String outStr = port.echo(inStr);
+ if (inStr.equals(outStr) == false)
+ throw new JAXRPCException("Invalid echo return: " + inStr);
+ }
+
+ return inStr;
+ }
+
+ // EJB Lifecycle ----------------------------------------------------------------------
+
+ public void setSessionContext(SessionContext context) throws EJBException, RemoteException
+ {
+ this.context = context;
+ }
+
+ public void ejbCreate()
+ {
+ }
+
+ public void ejbRemove()
+ {
+ }
+
+ public void ejbActivate()
+ {
+ }
+
+ public void ejbPassivate()
+ {
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBClient.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemote.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemote.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemote.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,31 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.serviceref;
+
+import java.rmi.RemoteException;
+
+import javax.ejb.EJBObject;
+
+public interface EJBRemote extends EJBObject
+{
+ String echo(String input) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemote.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemoteHome.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemoteHome.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemoteHome.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,32 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.serviceref;
+
+import java.rmi.RemoteException;
+
+import javax.ejb.CreateException;
+import javax.ejb.EJBHome;
+
+public interface EJBRemoteHome extends EJBHome
+{
+ EJBRemote create() throws CreateException, RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/EJBRemoteHome.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ExampleHandler.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ExampleHandler.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ExampleHandler.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.serviceref;
+
+import javax.xml.rpc.handler.GenericHandler;
+import javax.xml.namespace.QName;
+
+/**
+ * @author Heiko.Braun(a)jboss.com
+ * Created: Jun 29, 2007
+ */
+public class ExampleHandler extends GenericHandler {
+
+ public QName[] getHeaders()
+ {
+ return new QName[] { new QName("http://extra-header.org", "extra-header")};
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ExampleHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefClientTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefClientTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefClientTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,78 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.serviceref;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.ServiceFactory;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test the JAXRPC <service-ref>
+ *
+ * @author Thomas.Diesler(a)jboss.com
+ * @since 23-Oct-2005
+ */
+public class ServiceRefClientTestCase extends JBossWSTest
+{
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-samples-serviceref";
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(ServiceRefClientTestCase.class, "jaxrpc-samples-serviceref.war, jaxrpc-samples-serviceref-client.jar");
+ }
+
+ public void testDynamicProxyNeg() throws Exception
+ {
+ URL wsdlURL = getResourceURL("jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl");
+ QName qname = new QName("http://org.jboss.ws/wsref", "TestEndpointService");
+ Service service = ServiceFactory.newInstance().createService(wsdlURL, qname);
+ try
+ {
+ TestEndpoint port = (TestEndpoint)service.getPort(java.rmi.activation.Activator.class);
+ fail("Expected ServiceException, but got: " + port);
+ }
+ catch (ServiceException ex)
+ {
+ // this is tested by the CTS
+ }
+ catch (Exception ex)
+ {
+ fail("Expected ServiceException, but got: " + ex);
+ }
+ }
+
+ public void testApplicationClient() throws Exception
+ {
+ String helloWorld = "Hello World!";
+ ApplicationClient.encCtx = getInitialContext();
+ ApplicationClient.main(new String[] { helloWorld });
+ assertEquals(helloWorld, ApplicationClient.retStr);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefClientTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefEJBTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefEJBTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefEJBTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,63 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.serviceref;
+
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import javax.naming.InitialContext;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test the JAXRPC <service-ref>
+ *
+ * @author Thomas.Diesler(a)jboss.com
+ * @since 23-Oct-2005
+ */
+public class ServiceRefEJBTestCase extends JBossWSTest
+{
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-samples-serviceref";
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(ServiceRefEJBTestCase.class, "jaxrpc-samples-serviceref.war, jaxrpc-samples-serviceref-ejb-client.jar");
+ }
+
+ public void testEJBClient() throws Exception
+ {
+ InitialContext iniCtx = getInitialContext();
+ EJBRemoteHome ejbHome = (EJBRemoteHome)iniCtx.lookup("/EJBClient");
+ EJBRemote ejbRemote = ejbHome.create();
+
+ String helloWorld = "Hello World!";
+ Object retObj = ejbRemote.echo(helloWorld);
+ assertEquals(helloWorld, retObj);
+
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefEJBTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefServletTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefServletTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefServletTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,55 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.serviceref;
+
+import java.io.BufferedReader;
+import java.io.InputStreamReader;
+import java.net.URL;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test the JAXRPC <service-ref>
+ *
+ * @author Thomas.Diesler(a)jboss.com
+ * @since 23-Oct-2005
+ */
+public class ServiceRefServletTestCase extends JBossWSTest
+{
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-samples-serviceref";
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(ServiceRefServletTestCase.class, "jaxrpc-samples-serviceref.war, jaxrpc-samples-serviceref-servlet-client.war");
+ }
+
+ public void testServletClient() throws Exception
+ {
+ URL url = new URL(TARGET_ENDPOINT_ADDRESS + "-servlet-client?echo=HelloWorld");
+ BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));
+ String retStr = br.readLine();
+ assertEquals("HelloWorld", retStr);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServiceRefServletTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServletClient.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServletClient.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServletClient.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,70 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.serviceref;
+
+import java.io.IOException;
+import java.util.ArrayList;
+
+import javax.naming.InitialContext;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.xml.rpc.JAXRPCException;
+import javax.xml.rpc.Service;
+
+import org.jboss.logging.Logger;
+
+public class ServletClient extends HttpServlet
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(ServletClient.class);
+
+ protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
+ {
+ String inStr = req.getParameter("echo");
+ log.info("doGet: " + inStr);
+
+ ArrayList ports = new ArrayList();
+ try
+ {
+ InitialContext iniCtx = new InitialContext();
+ ports.add((TestEndpoint)((Service)iniCtx.lookup("java:comp/env/service1")).getPort(TestEndpoint.class));
+ ports.add(((TestEndpointService)iniCtx.lookup("java:comp/env/service2")).getTestEndpointPort());
+ }
+ catch (Exception ex)
+ {
+ log.error("Cannot add port", ex);
+ throw new JAXRPCException(ex);
+ }
+
+ for (int i = 0; i < ports.size(); i++)
+ {
+ TestEndpoint port = (TestEndpoint)ports.get(i);
+ String outStr = port.echo(inStr);
+ if (inStr.equals(outStr) == false)
+ throw new JAXRPCException("Invalid echo return: " + inStr);
+ }
+
+ res.getWriter().print(inStr);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/ServletClient.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,31 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.serviceref;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+
+public interface TestEndpoint extends Remote
+{
+ String echo(String arg0) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpoint.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointImpl.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointImpl.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointImpl.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.serviceref;
+
+import org.jboss.logging.Logger;
+
+/**
+ * Test the JAXRPC <service-ref>
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 23-Oct-2006
+ */
+public class TestEndpointImpl implements TestEndpoint
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(TestEndpointImpl.class);
+
+ public String echo(String input)
+ {
+ log.info(input);
+ return input;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.
+ */
+//Auto Generated by jbossws - Please do not edit!!!
+package org.jboss.test.ws.jaxrpc.samples.serviceref;
+
+
+import javax.xml.rpc.ServiceException;
+
+
+public interface TestEndpointService extends javax.xml.rpc.Service
+{
+
+ public org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint getTestEndpointPort() throws ServiceException;
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/serviceref/TestEndpointService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/Attachment.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/Attachment.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/Attachment.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.swa;
+
+import java.awt.Image;
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+import javax.mail.internet.MimeMultipart;
+import javax.xml.transform.Source;
+
+/**
+ * Service Endpoint Interface for the MIME mapping required by JAXRPC-1.1
+ *
+ * image/gif java.awt.Image
+ * image/jpeg java.awt.Image
+ * text/plain java.lang.String
+ * multipart/* javax.mail.internet.MimeMultipart
+ * text/xml javax.xml.transform.Source
+ * application/xml javax.xml.transform.Source
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since Nov 17, 2004
+ */
+public interface Attachment extends Remote
+{
+ /** Service endpoint method for image/gif
+ */
+ String sendMimeImageGIF(String message, Object mimepart) throws RemoteException;
+
+ /** Service endpoint method for image/jpeg
+ */
+ String sendMimeImageJPEG(String message, Image mimepart) throws RemoteException;
+
+ /** Service endpoint method for text/plain
+ */
+ String sendMimeTextPlain(String message, String mimepart) throws RemoteException;
+
+ /** Service endpoint method for multipart/*
+ */
+ String sendMimeMultipart(String message, MimeMultipart mimepart) throws RemoteException;
+
+ /** Service endpoint method for text/xml
+ */
+ String sendMimeTextXML(String message, Object mimepart) throws RemoteException;
+
+ /** Service endpoint method for application/xml
+ */
+ String sendMimeApplicationXML(String message, Source mimepart) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/Attachment.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentDIITestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentDIITestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentDIITestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,216 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.swa;
+
+import java.awt.Image;
+import java.awt.Toolkit;
+import java.io.File;
+import java.io.FileInputStream;
+import java.net.URL;
+import java.rmi.RemoteException;
+
+import javax.activation.DataHandler;
+import javax.mail.internet.MimeBodyPart;
+import javax.mail.internet.MimeMultipart;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Call;
+import javax.xml.rpc.ParameterMode;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.ServiceFactory;
+import javax.xml.transform.stream.StreamSource;
+
+import junit.framework.Test;
+
+import org.jboss.ws.Constants;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test SOAP with Attachements (SwA) through the JAXRPC DII layer.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @author <a href="mailto:jason@stacksmash.com">Jason T. Greene</a>
+ * @since Nov 16, 2004
+ */
+public class AttachmentDIITestCase extends JBossWSTest
+{
+ private final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxrpc-samples-swa";
+ private static final String TARGET_NAMESPACE = "http://org.jboss.ws/samples/swa";
+ private static final QName SERVICE_NAME = new QName(TARGET_NAMESPACE, "Attachment");
+
+ /** Deploy the test ear */
+ public static Test suite() throws Exception
+ {
+ return new JBossWSTestSetup(AttachmentDIITestCase.class, "jaxrpc-samples-swa.war");
+ }
+
+ /** Send a multipart message with a text/plain attachment part
+ */
+ public void testSendMimeImageGIF() throws Exception
+ {
+ String rpcMethodName = "sendMimeImageGIF";
+ Call call = setupMimeMessage(rpcMethodName, "image/gif");
+
+ URL url = getResourceURL("jaxrpc/samples/swa/attach.gif");
+
+ // On Linux the X11 server must be installed properly to create images successfully.
+ // If the image cannot be created in the test VM, we assume it cannot be done on the
+ // server either, so we just skip the test
+ Image image = null;
+ try
+ {
+ image = Toolkit.getDefaultToolkit().createImage(url);
+ }
+ catch (Throwable th)
+ {
+ //log.warn("Cannot create Image: " + th);
+ }
+
+ if (image != null)
+ {
+ sendAndValidateMimeMessage(call, new DataHandler(url));
+ }
+ }
+
+ /** Send a multipart message with a text/plain attachment part
+ */
+ public void testSendMimeImageJPEG() throws Exception
+ {
+ String rpcMethodName = "sendMimeImageJPEG";
+ Call call = setupMimeMessage(rpcMethodName, "image/jpeg");
+
+ URL url = getResourceURL("jaxrpc/samples/swa/attach.jpeg");
+
+ // On Linux the X11 server must be installed properly to create images successfully.
+ // If the image cannot be created in the test VM, we assume it cannot be done on the
+ // server either, so we just skip the test
+ Image image = null;
+ try
+ {
+ image = Toolkit.getDefaultToolkit().createImage(url);
+ }
+ catch (Throwable th)
+ {
+ log.warn("Cannot create Image: " + th);
+ }
+
+ if (image != null)
+ {
+ sendAndValidateMimeMessage(call, new DataHandler(url));
+ }
+ }
+
+ /** Send a multipart message with a text/plain attachment part
+ */
+ public void testSendMimeTextPlain() throws Exception
+ {
+ String rpcMethodName = "sendMimeTextPlain";
+ Call call = setupMimeMessage(rpcMethodName, "text/plain");
+
+ URL url = getResourceURL("jaxrpc/samples/swa/attach.txt");
+ sendAndValidateMimeMessage(call, new DataHandler(url));
+ }
+
+ /** Send a multipart message with a text/plain attachment part
+ */
+ public void testSendMimeMultipart() throws Exception
+ {
+ String rpcMethodName = "sendMimeMultipart";
+ Call call = setupMimeMessage(rpcMethodName, "multipart/mixed");
+
+ URL url = getResourceURL("jaxrpc/samples/swa/attach.txt");
+ MimeMultipart mimepart = new MimeMultipart("mixed");
+ MimeBodyPart bodyPart = new MimeBodyPart();
+ bodyPart.setDataHandler(new DataHandler(url));
+ String bpct = bodyPart.getContentType();
+ bodyPart.setHeader("Content-Type", bpct);
+ mimepart.addBodyPart(bodyPart);
+
+ sendAndValidateMimeMessage(call, mimepart);
+ }
+
+ /** Send a multipart message with a text/plain attachment part
+ */
+ public void testSendMimeTextXML() throws Exception
+ {
+ String rpcMethodName = "sendMimeTextXML";
+ Call call = setupMimeMessage(rpcMethodName, "text/xml");
+ FileInputStream stream = new FileInputStream(getResourceFile("jaxrpc/samples/swa/attach.xml").getPath());
+ StreamSource source = new StreamSource(stream);
+
+ sendAndValidateMimeMessage(call, new DataHandler(source, "text/xml"));
+ }
+
+ /** Send a multipart message with a text/plain attachment part
+ */
+ public void testSendMimeApplicationXML() throws Exception
+ {
+ String rpcMethodName = "sendMimeApplicationXML";
+ Call call = setupMimeMessage(rpcMethodName, "application/xml");
+
+ URL url = getResourceURL("jaxrpc/samples/swa/attach.xml");
+ sendAndValidateMimeMessage(call, new DataHandler(url));
+ }
+
+ /** Setup the multipart/related MIME message
+ */
+ private Call setupMimeMessage(String rpcMethodName, String contentType)
+ throws Exception
+ {
+ ServiceFactory factory = ServiceFactory.newInstance();
+ Service service = factory.createService(SERVICE_NAME);
+
+ Call call = service.createCall();
+ call.setOperationName(new QName(TARGET_NAMESPACE, rpcMethodName));
+ call.addParameter("message", new QName(Constants.NS_SCHEMA_XSD, "string"), ParameterMode.IN);
+
+ if (contentType.equals("image/jpeg"))
+ call.addParameter("mimepart", Constants.TYPE_MIME_IMAGE_JPEG, DataHandler.class, ParameterMode.IN);
+ else if (contentType.equals("image/gif"))
+ call.addParameter("mimepart", Constants.TYPE_MIME_IMAGE_GIF, DataHandler.class, ParameterMode.IN);
+ else if (contentType.equals("text/plain"))
+ call.addParameter("mimepart", Constants.TYPE_MIME_TEXT_PLAIN, DataHandler.class, ParameterMode.IN);
+ else if (contentType.startsWith("multipart/"))
+ call.addParameter("mimepart", Constants.TYPE_MIME_MULTIPART_MIXED, MimeMultipart.class, ParameterMode.IN);
+ else if (contentType.equals("text/xml"))
+ call.addParameter("mimepart", Constants.TYPE_MIME_TEXT_XML, DataHandler.class, ParameterMode.IN);
+ else if (contentType.equals("application/xml"))
+ call.addParameter("mimepart", Constants.TYPE_MIME_APPLICATION_XML, DataHandler.class, ParameterMode.IN);
+
+ call.setReturnType(new QName(Constants.NS_SCHEMA_XSD, "string"));
+
+ call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS);
+
+ return call;
+ }
+
+ /** Send the message and validate the result
+ */
+ private void sendAndValidateMimeMessage(Call call, Object mimepart)
+ throws RemoteException
+ {
+ String message = "Some text message";
+ String value = (String)call.invoke(new Object[]{message, mimepart});
+
+ assertEquals("[pass]", value);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentDIITestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentImpl.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentImpl.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentImpl.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,261 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.swa;
+
+import java.awt.Image;
+import java.rmi.RemoteException;
+import java.util.Iterator;
+
+import javax.mail.BodyPart;
+import javax.mail.internet.MimeMultipart;
+import javax.xml.rpc.ServiceException;
+import javax.xml.rpc.handler.soap.SOAPMessageContext;
+import javax.xml.rpc.server.ServiceLifecycle;
+import javax.xml.rpc.server.ServletEndpointContext;
+import javax.xml.soap.AttachmentPart;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.transform.Source;
+
+/**
+ * Service Endpoint for the MIME mapping required by JAXRPC-1.1
+ *
+ * image/gif java.awt.Image
+ * image/jpeg java.awt.Image
+ * text/plain java.lang.String
+ * multipart/* javax.mail.internet.MimeMultipart
+ * text/xml javax.xml.transform.Source
+ * application/xml javax.xml.transform.Source
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since Nov 17, 2004
+ */
+public class AttachmentImpl implements Attachment, ServiceLifecycle
+{
+ private ServletEndpointContext context;
+
+ /** Service endpoint method for image/gif
+ */
+ public String sendMimeImageGIF(String message, Object mimepart) throws RemoteException
+ {
+ StringBuffer buffer = new StringBuffer();
+
+ validateStringMessage(buffer, message);
+
+ String expContentType = "image/gif";
+ validateAttachmentPart(buffer, expContentType, mimepart);
+
+ String resultStr = getResultStr(buffer, expContentType);
+ return resultStr;
+ }
+
+ /** Service endpoint method for image/jpeg
+ */
+ public String sendMimeImageJPEG(String message, Image mimepart) throws RemoteException
+ {
+ StringBuffer buffer = new StringBuffer();
+
+ validateStringMessage(buffer, message);
+
+ String expContentType = "image/jpeg";
+ validateAttachmentPart(buffer, expContentType, mimepart);
+
+ String resultStr = getResultStr(buffer, expContentType);
+ return resultStr;
+ }
+
+ /** Service endpoint method for text/plain
+ */
+ public String sendMimeTextPlain(String message, String mimepart) throws RemoteException
+ {
+ StringBuffer buffer = new StringBuffer();
+
+ validateStringMessage(buffer, message);
+
+ String expContentType = "text/plain";
+ validateAttachmentPart(buffer, expContentType, mimepart);
+
+ String resultStr = getResultStr(buffer, expContentType);
+ return resultStr;
+ }
+
+ /** Service endpoint method for multipart/*
+ */
+ public String sendMimeMultipart(String message, MimeMultipart mimepart) throws RemoteException
+ {
+ StringBuffer buffer = new StringBuffer();
+
+ validateStringMessage(buffer, message);
+
+ String expContentType = "multipart/*";
+ validateAttachmentPart(buffer, expContentType, mimepart);
+
+ String resultStr = getResultStr(buffer, expContentType);
+ return resultStr;
+ }
+
+ /** Service endpoint method for text/xml
+ */
+ public String sendMimeTextXML(String message, Object mimepart) throws RemoteException
+ {
+ StringBuffer buffer = new StringBuffer();
+
+ validateStringMessage(buffer, message);
+
+ String expContentType = "text/xml";
+ validateAttachmentPart(buffer, expContentType, mimepart);
+
+ String resultStr = getResultStr(buffer, expContentType);
+ return resultStr;
+ }
+
+ /** Service endpoint method for application/xml
+ */
+ public String sendMimeApplicationXML(String message, Source mimepart) throws RemoteException
+ {
+ StringBuffer buffer = new StringBuffer();
+
+ validateStringMessage(buffer, message);
+
+ String expContentType = "application/xml";
+ validateAttachmentPart(buffer, expContentType, mimepart);
+
+ String resultStr = getResultStr(buffer, expContentType);
+ return resultStr;
+ }
+
+ private void validateStringMessage(StringBuffer buffer, String message)
+ {
+ if ("Some text message".equals(message) == false)
+ buffer.append("[message=" + message + "]");
+ }
+
+ private void validateAttachmentPart(StringBuffer buffer, String expContentType, Object mimepart)
+ {
+ SOAPMessageContext msgContext = (SOAPMessageContext)context.getMessageContext();
+ SOAPMessage soapMessage = msgContext.getMessage();
+
+ Iterator attachments = soapMessage.getAttachments();
+ if (attachments.hasNext())
+ {
+ AttachmentPart ap = (AttachmentPart)attachments.next();
+ String contentType = ap.getContentType();
+
+ if (expContentType.equals("multipart/*"))
+ {
+ if (contentType.startsWith("multipart/") == false)
+ buffer.append("[contentType=" + contentType + "]");
+ }
+ else if (expContentType.equals("text/xml"))
+ {
+ if (contentType.equals("text/xml") == false && contentType.equals("application/xml") == false)
+ buffer.append("[contentType=" + contentType + "]");
+ }
+ else
+ {
+ if (contentType.equals(expContentType) == false)
+ buffer.append("[contentType=" + contentType + "]");
+ }
+ validateSinglePart(buffer, expContentType, ap);
+ }
+ else
+ {
+ buffer.append("[no attachments]");
+ }
+
+ validateSinglePart(buffer, expContentType, mimepart);
+ }
+
+ private void validateSinglePart(StringBuffer buffer, String contentType, Object content)
+ {
+ try
+ {
+ if (content instanceof AttachmentPart)
+ content = ((AttachmentPart)content).getContent();
+
+ if (contentType.equals("image/gif") || contentType.equals("image/jpeg"))
+ {
+ if ((content instanceof Image) == false)
+ buffer.append("[content=" + content + "]");
+ }
+ else if (contentType.equals("text/plain"))
+ {
+ if ((content instanceof String) == false)
+ buffer.append("[content=" + content + "]");
+ }
+ else if (contentType.startsWith("multipart/"))
+ {
+ if ((content instanceof MimeMultipart) == false)
+ {
+ buffer.append("[content=" + content + "]");
+ }
+ else
+ {
+ MimeMultipart mmp = (MimeMultipart)content;
+
+ int mmpCount = mmp.getCount();
+ if (mmpCount < 1)
+ buffer.append("[count=" + mmpCount + "]");
+
+ for (int i = 0; i < mmpCount; i++)
+ {
+ BodyPart bp = mmp.getBodyPart(i);
+ String bpct = bp.getContentType();
+ Object bpc = bp.getContent();
+ validateSinglePart(buffer, bpct, bpc);
+ }
+ }
+ }
+ else if (contentType.equals("text/xml") || contentType.equals("application/xml"))
+ {
+ if ((content instanceof Source) == false)
+ buffer.append("[content=" + content + "]");
+ }
+ else
+ {
+ throw new IllegalArgumentException("Unsupported mime type: " + contentType);
+ }
+ }
+ catch (Exception e)
+ {
+ buffer.append("[" + e + "]");
+ }
+ }
+
+ private String getResultStr(StringBuffer buffer, String expContentType)
+ {
+ String retStr = (buffer.length() == 0 ? "[pass]" : buffer.toString());
+ System.out.println(expContentType + ": " + retStr);
+ return retStr;
+ }
+
+ // ServiceLifecycle *******************************************************************************************
+
+ public void init(Object context) throws ServiceException
+ {
+ this.context = (ServletEndpointContext)context;
+ }
+
+ public void destroy()
+ {
+ this.context = null;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentProxyTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentProxyTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentProxyTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,168 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.swa;
+
+import java.awt.Image;
+import java.awt.Toolkit;
+import java.io.File;
+import java.io.FileInputStream;
+import java.net.URL;
+
+import javax.activation.DataHandler;
+import javax.mail.internet.MimeBodyPart;
+import javax.mail.internet.MimeMultipart;
+import javax.naming.InitialContext;
+import javax.xml.rpc.Service;
+import javax.xml.transform.stream.StreamSource;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test SOAP with Attachements (SwA) through the JAXRPC dynamic proxy layer.
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @author <a href="mailto:jason@stacksmash.com">Jason T. Greene</a>
+ * @since 16-Nov-2004
+ */
+public class AttachmentProxyTestCase extends JBossWSTest
+{
+ private static Attachment port;
+
+ /** Deploy the test ear */
+ public static Test suite() throws Exception
+ {
+ return new JBossWSTestSetup(AttachmentProxyTestCase.class, "jaxrpc-samples-swa.war, jaxrpc-samples-swa-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/AttachmentService");
+ port = (Attachment)service.getPort(Attachment.class);
+ }
+ }
+
+ /** Send a multipart message with a text/plain attachment part
+ */
+ public void testSendMimeImageGIF() throws Exception
+ {
+ URL url = getResourceURL("jaxrpc/samples/swa/attach.gif");
+
+ // On Linux the X11 server must be installed properly to create images successfully.
+ // If the image cannot be created in the test VM, we assume it cannot be done on the
+ // server either, so we just skip the test
+ Image image = null;
+ try
+ {
+ image = Toolkit.getDefaultToolkit().createImage(url);
+ }
+ catch (Throwable th)
+ {
+ //log.warn("Cannot create Image: " + th);
+ }
+
+ if (image != null)
+ {
+ String value = port.sendMimeImageGIF("Some text message", new DataHandler(url));
+ assertEquals("[pass]", value);
+ }
+ }
+
+ /** Send a multipart message with a text/plain attachment part
+ */
+ public void testSendMimeImageJPEG() throws Exception
+ {
+ URL url = getResourceURL("jaxrpc/samples/swa/attach.jpeg");
+
+ // On Linux the X11 server must be installed properly to create images successfully.
+ // If the image cannot be created in the test VM, we assume it cannot be done on the
+ // server either, so we just skip the test
+ Image image = null;
+ try
+ {
+ image = Toolkit.getDefaultToolkit().createImage(url);
+ }
+ catch (Throwable th)
+ {
+ //log.warn("Cannot create Image: " + th);
+ }
+
+ if (image != null)
+ {
+ String value = port.sendMimeImageJPEG("Some text message", image);
+ assertEquals("[pass]", value);
+ }
+ }
+
+ /** Send a multipart message with a text/plain attachment part
+ */
+ public void testSendMimeTextPlain() throws Exception
+ {
+ String value = port.sendMimeTextPlain("Some text message", "This is a plain text attachment.");
+ assertEquals("[pass]", value);
+ }
+
+ /** Send a multipart message with a text/plain attachment part
+ */
+ public void testSendMimeMultipart() throws Exception
+ {
+ URL url = getResourceURL("jaxrpc/samples/swa/attach.txt");
+ MimeMultipart multipart = new MimeMultipart("mixed");
+ MimeBodyPart bodyPart = new MimeBodyPart();
+ bodyPart.setDataHandler(new DataHandler(url));
+ String bpct = bodyPart.getContentType();
+ bodyPart.setHeader("Content-Type", bpct);
+ multipart.addBodyPart(bodyPart);
+
+ String value = port.sendMimeMultipart("Some text message", multipart);
+ assertEquals("[pass]", value);
+ }
+
+ /** Send a multipart message with a text/plain attachment part
+ */
+ public void testSendMimeTextXML() throws Exception
+ {
+ FileInputStream stream = new FileInputStream(getResourceFile("jaxrpc/samples/swa/attach.xml").getPath());
+ StreamSource source = new StreamSource(stream);
+
+ String value = port.sendMimeTextXML("Some text message", new DataHandler(source, "text/xml"));
+ assertEquals("[pass]", value);
+ }
+
+ /** Send a multipart message with a text/plain attachment part
+ */
+ public void testSendMimeApplicationXML() throws Exception
+ {
+ FileInputStream stream = new FileInputStream(getResourceFile("jaxrpc/samples/swa/attach.xml").getPath());
+ StreamSource source = new StreamSource(stream);
+
+ String value = port.sendMimeApplicationXML("Some text message", source);
+ assertEquals("[pass]", value);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/swa/AttachmentProxyTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/AddressingReplyToTestCase.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/AddressingReplyToTestCase.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/AddressingReplyToTestCase.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,102 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.wsaddr.replyto;
+
+import java.io.ByteArrayInputStream;
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.SOAPConnection;
+import javax.xml.soap.SOAPConnectionFactory;
+import javax.xml.soap.SOAPMessage;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test endpoint using ws-addressing
+ *
+ * @author mageshbk(a)jboss.com
+ * @since 12-Dec-2007
+ */
+public class AddressingReplyToTestCase extends JBossWSTest
+{
+ private static Hello initial;
+ private static ReplyTo replyto;
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(AddressingReplyToTestCase.class,
+ "jaxrpc-samples-wsaddr-hello.war, jaxrpc-samples-wsaddr-replyto.war," +
+ "jaxrpc-samples-wsaddr-hello-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (initial == null)
+ {
+ Service replytoService = (Service)getInitialContext("jaxrpc-addressing-replyto-client").lookup("java:comp/env/service/ReplyToService");
+ replyto = (ReplyTo)replytoService.getPort(ReplyTo.class);
+ Service initialService = (Service)getInitialContext("jaxrpc-addressing-replyto-client").lookup("java:comp/env/service/HelloService");
+ initial = (Hello)initialService.getPort(Hello.class);
+ }
+ }
+
+ /** This sends a valid message to the ReplyTo endpoint and verfies whether we can read it of again.
+ */
+ public void testReplyToMessage() throws Exception
+ {
+ String reqEnv =
+ "<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>" +
+ " <env:Header/>" +
+ " <env:Body>" +
+ " <ns1:sayHelloResponse xmlns:ns1='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types'>" +
+ " <result>ReplyTo</result>" +
+ " </ns1:sayHelloResponse>" +
+ " </env:Body>" +
+ "</env:Envelope>";
+
+ MessageFactory msgFactory = MessageFactory.newInstance();
+ SOAPConnection con = SOAPConnectionFactory.newInstance().createConnection();
+ SOAPMessage reqMsg = msgFactory.createMessage(null, new ByteArrayInputStream(reqEnv.getBytes()));
+
+ URL epURL = new URL("http://" + getServerHost() + ":8080/jaxrpc-samples-wsaddr-replyto");
+ con.call(reqMsg, epURL);
+
+ assertEquals("ReplyTo", replyto.getLastMessage());
+ }
+
+ public void testReplyTo() throws Exception
+ {
+ String message = initial.sayHello("Addressing TestCase");
+ assertNull("Expected null, but was: " + message, message);
+
+ String reply = replyto.getLastMessage();
+ assertEquals("Hello Addressing TestCase", reply);
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/AddressingReplyToTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,89 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.wsaddr.replyto;
+
+import java.net.URI;
+import java.net.URISyntaxException;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.handler.GenericHandler;
+import javax.xml.rpc.handler.MessageContext;
+
+import javax.xml.ws.addressing.AddressingBuilder;
+import javax.xml.ws.addressing.EndpointReference;
+import javax.xml.ws.addressing.JAXWSAConstants;
+import javax.xml.ws.addressing.soap.SOAPAddressingBuilder;
+import javax.xml.ws.addressing.soap.SOAPAddressingProperties;
+
+import org.jboss.logging.Logger;
+
+/**
+ * A client side handler for the ws-addressing
+ *
+ * @author mageshbk(a)jboss.com
+ * @since 12-Dec-2007
+ */
+public class ClientHandler extends GenericHandler
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(ClientHandler.class);
+ protected QName[] headers;
+
+ public boolean handleRequest(MessageContext context)
+ {
+ log.info("enter handleRequest");
+
+ try
+ {
+ AddressingBuilder builder = SOAPAddressingBuilder.getAddressingBuilder();
+ SOAPAddressingProperties outProps = (SOAPAddressingProperties)builder.newAddressingProperties();
+ outProps.setTo(builder.newURI("http://" + getServerHost() + ":8080/jaxrpc-samples-wsaddr-hello"));
+ outProps.setAction(builder.newURI("http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/sayHello"));
+ EndpointReference rp = builder.newEndpointReference(new URI("http://" + getServerHost() + ":8080/jaxrpc-samples-wsaddr-replyto"));
+ outProps.setReplyTo(rp);
+ outProps.setMessageID(builder.newURI("123456"));
+ context.setProperty(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES_OUTBOUND, outProps);
+ }
+ catch(URISyntaxException e)
+ {
+ e.printStackTrace();
+ }
+ log.info("exit handleRequest");
+ return true;
+ }
+
+ public QName[] getHeaders()
+ {
+ return headers;
+ }
+
+ /**
+ * Get the JBoss server host from system property "jboss.bind.address"
+ * This defaults to "localhost" if the property is not set
+ */
+ private String getServerHost()
+ {
+ String hostName = System.getProperty("jboss.bind.address", "localhost");
+ return hostName;
+ }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.wsaddr.replyto;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * JAXRPC WS-Addressing service endpoint interface
+ *
+ * @author mageshbk(a)jboss.com
+ *
+ * @since 12-Dec-2007
+ */
+public interface Hello extends Remote
+{
+ String sayHello(String str) throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.wsaddr.replyto;
+
+import org.jboss.logging.Logger;
+
+/**
+ * JAXRPC WS-Addressing service endpoint
+ *
+ * @author mageshbk(a)jboss.com
+ *
+ * @since 12-Dec-2007
+ */
+public class HelloEndpointJSE implements Hello
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(HelloEndpointJSE.class);
+
+ public String sayHello(String str)
+ {
+ log.info("sayHello: " + str);
+ return "Hello " + str;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_sayHello_RequestStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_sayHello_RequestStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_sayHello_RequestStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:57 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto;
+
+
+public class Hello_sayHello_RequestStruct
+{
+
+protected java.lang.String string_1;
+public Hello_sayHello_RequestStruct(){}
+
+public Hello_sayHello_RequestStruct(java.lang.String string_1){
+this.string_1=string_1;
+}
+public java.lang.String getString_1() { return string_1 ;}
+
+public void setString_1(java.lang.String string_1){ this.string_1=string_1; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_sayHello_RequestStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_sayHello_ResponseStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_sayHello_ResponseStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_sayHello_ResponseStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:57 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto;
+
+
+public class Hello_sayHello_ResponseStruct
+{
+
+protected java.lang.String result;
+public Hello_sayHello_ResponseStruct(){}
+
+public Hello_sayHello_ResponseStruct(java.lang.String result){
+this.result=result;
+}
+public java.lang.String getResult() { return result ;}
+
+public void setResult(java.lang.String result){ this.result=result; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_sayHello_ResponseStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.wsaddr.replyto;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * JAXRPC WS-Addressing service endpoint interface
+ *
+ * @author mageshbk(a)jboss.com
+ *
+ * @since 12-Dec-2007
+ */
+public interface ReplyTo extends Remote
+{
+ void sayHelloResponse(String str) throws RemoteException;
+
+ String getLastMessage() throws RemoteException;
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jaxrpc.samples.wsaddr.replyto;
+
+import org.jboss.logging.Logger;
+
+/**
+ * JAXRPC WS-Addressing service endpoint
+ *
+ * @author mageshbk(a)jboss.com
+ *
+ * @since 12-Dec-2007
+ */
+public class ReplyToEndpointJSE implements ReplyTo
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(ReplyToEndpointJSE.class);
+
+ private static String lastMessage;
+
+ public void sayHelloResponse(String str)
+ {
+ log.info("sayHelloResponse: " + str);
+ lastMessage = str;
+ }
+
+ public String getLastMessage()
+ {
+ log.info("getLastMessage: " + lastMessage);
+ return lastMessage;
+ }
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_getLastMessage_RequestStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_getLastMessage_RequestStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_getLastMessage_RequestStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,18 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:57 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto;
+
+
+public class ReplyTo_getLastMessage_RequestStruct
+{
+public ReplyTo_getLastMessage_RequestStruct(){
+}
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_getLastMessage_RequestStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_getLastMessage_ResponseStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_getLastMessage_ResponseStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_getLastMessage_ResponseStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:57 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto;
+
+
+public class ReplyTo_getLastMessage_ResponseStruct
+{
+
+protected java.lang.String result;
+public ReplyTo_getLastMessage_ResponseStruct(){}
+
+public ReplyTo_getLastMessage_ResponseStruct(java.lang.String result){
+this.result=result;
+}
+public java.lang.String getResult() { return result ;}
+
+public void setResult(java.lang.String result){ this.result=result; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_getLastMessage_ResponseStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_sayHelloResponse_RequestStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_sayHelloResponse_RequestStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_sayHelloResponse_RequestStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:57 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto;
+
+
+public class ReplyTo_sayHelloResponse_RequestStruct
+{
+
+protected java.lang.String result;
+public ReplyTo_sayHelloResponse_RequestStruct(){}
+
+public ReplyTo_sayHelloResponse_RequestStruct(java.lang.String result){
+this.result=result;
+}
+public java.lang.String getResult() { return result ;}
+
+public void setResult(java.lang.String result){ this.result=result; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/java/org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_sayHelloResponse_RequestStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TrivialService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/SampleService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialService</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/TrivialService</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-docstyle-bare?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,59 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.docstyle.bare</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/docstyle/bare/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialOrder</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/docstyle/bare/types'>typeNS:TrivialOrder</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>person</java-variable-name>
+ <xml-element-name>person</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>product</java-variable-name>
+ <xml-element-name>product</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialOrderResponse</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/docstyle/bare/types'>typeNS:TrivialOrderResponse</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>result</java-variable-name>
+ <xml-element-name>result</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.docstyle.bare.SampleService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/docstyle/bare'>serviceNS:SampleService</wsdl-service-name>
+ <port-mapping>
+ <port-name>TrivialServicePort</port-name>
+ <java-port-name>TrivialServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/docstyle/bare'>portTypeNS:TrivialService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/docstyle/bare'>bindingNS:TrivialServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>purchase</java-method-name>
+ <wsdl-operation>purchase</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialOrder</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/docstyle/bare'>wsdlMsgNS:TrivialService_purchase</wsdl-message>
+ <wsdl-message-part-name>purchase</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialOrderResponse</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/docstyle/bare'>wsdlMsgNS:TrivialService_purchaseResponse</wsdl-message>
+ <wsdl-message-part-name>purchaseResponse</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>TrivialEndpoint</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialEndpointJSE</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TrivialEndpoint</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>SampleService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/SampleService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>TrivialServicePort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/samples/docstyle/bare'>portNS:TrivialServicePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialService</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>TrivialEndpoint</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/wsdl/SampleService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/wsdl/SampleService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/wsdl/SampleService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='SampleService' targetNamespace='http://org.jboss.ws/samples/docstyle/bare' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/docstyle/bare/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/docstyle/bare' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.ws/samples/docstyle/bare/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/samples/docstyle/bare/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <complexType name='TrivialOrder'>
+ <sequence>
+ <element name='person' nillable='true' type='string'/>
+ <element name='product' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <complexType name='TrivialOrderResponse'>
+ <sequence>
+ <element name='result' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <element name='purchase' type='tns:TrivialOrder'/>
+ <element name='purchaseResponse' type='tns:TrivialOrderResponse'/>
+ </schema>
+ </types>
+ <message name='TrivialService_purchase' xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part element='ns1:purchase' name='purchase'/>
+ </message>
+ <message name='TrivialService_purchaseResponse'>
+ <part element='ns1:purchaseResponse' name='purchaseResponse'/>
+ </message>
+ <portType name='TrivialService'>
+ <operation name='purchase' parameterOrder='purchase'>
+ <input message='tns:TrivialService_purchase'/>
+ <output message='tns:TrivialService_purchaseResponse'/>
+ </operation>
+ </portType>
+ <binding name='TrivialServiceBinding' type='tns:TrivialService'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='purchase'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='SampleService'>
+ <port binding='tns:TrivialServiceBinding' name='TrivialServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/WEB-INF/wsdl/SampleService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+
+ <java-wsdl>
+ <service name="SampleService" style="document" parameter-style="bare" endpoint="org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialService" />
+ <namespaces target-namespace="http://org.jboss.ws/samples/docstyle/bare" type-namespace="http://org.jboss.ws/samples/docstyle/bare/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TrivialEndpoint"/>
+ </java-wsdl>
+
+</configuration>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/bare/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TrivialService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/SampleService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped.TrivialService</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/TrivialService</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-docstyle-wrapped?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,69 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/docstyle/wrapped/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped.TrivialService_purchase_RequestStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/docstyle/wrapped/types'>typeNS:purchase</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>string_1</java-variable-name>
+ <xml-element-name>String_1</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>string_2</java-variable-name>
+ <xml-element-name>String_2</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped.TrivialService_purchase_ResponseStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/docstyle/wrapped/types'>typeNS:purchaseResponse</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>result</java-variable-name>
+ <xml-element-name>result</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped.SampleService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/docstyle/wrapped'>serviceNS:SampleService</wsdl-service-name>
+ <port-mapping>
+ <port-name>TrivialServicePort</port-name>
+ <java-port-name>TrivialServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped.TrivialService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/docstyle/wrapped'>portTypeNS:TrivialService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/docstyle/wrapped'>bindingNS:TrivialServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>purchase</java-method-name>
+ <wsdl-operation>purchase</wsdl-operation>
+ <wrapped-element/>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/docstyle/wrapped'>wsdlMsgNS:TrivialService_purchase</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/docstyle/wrapped'>wsdlMsgNS:TrivialService_purchase</wsdl-message>
+ <wsdl-message-part-name>String_2</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/docstyle/wrapped'>wsdlMsgNS:TrivialService_purchaseResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>TrivialEndpoint</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped.TrivialEndpointJSE</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TrivialEndpoint</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>SampleService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/SampleService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>TrivialServicePort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/samples/docstyle/wrapped'>portNS:TrivialServicePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped.TrivialService</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>TrivialEndpoint</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/wsdl/SampleService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/wsdl/SampleService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/wsdl/SampleService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='SampleService' targetNamespace='http://org.jboss.ws/samples/docstyle/wrapped' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/docstyle/wrapped/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/docstyle/wrapped' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.ws/samples/docstyle/wrapped/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/samples/docstyle/wrapped/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <complexType name='purchase'>
+ <sequence>
+ <element name='String_1' nillable='true' type='string'/>
+ <element name='String_2' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <complexType name='purchaseResponse'>
+ <sequence>
+ <element name='result' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <element name='purchase' type='tns:purchase'/>
+ <element name='purchaseResponse' type='tns:purchaseResponse'/>
+ </schema>
+ </types>
+ <message name='TrivialService_purchase' xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part element='ns1:purchase' name='purchase'/>
+ </message>
+ <message name='TrivialService_purchaseResponse'>
+ <part element='ns1:purchaseResponse' name='purchaseResponse'/>
+ </message>
+ <portType name='TrivialService'>
+ <operation name='purchase' parameterOrder='purchase'>
+ <input message='tns:TrivialService_purchase'/>
+ <output message='tns:TrivialService_purchaseResponse'/>
+ </operation>
+ </portType>
+ <binding name='TrivialServiceBinding' type='tns:TrivialService'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='purchase'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='SampleService'>
+ <port binding='tns:TrivialServiceBinding' name='TrivialServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/wsdl/SampleService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+
+ <java-wsdl>
+ <service name="SampleService" style="document" endpoint="org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped.TrivialService" />
+ <namespaces target-namespace="http://org.jboss.ws/samples/docstyle/wrapped" type-namespace="http://org.jboss.ws/samples/docstyle/wrapped/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TrivialEndpoint"/>
+ </java-wsdl>
+
+</configuration>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/docstyle/wrapped/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TestService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.dynamichandler.HandlerTestService</service-endpoint-interface>
+ </port-component-ref>
+ <handler>
+ <handler-name>ClientSideHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.samples.dynamichandler.ClientSideHandler</handler-class>
+ </handler>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/TestService</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-dynamichandler?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.dynamichandler</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/dynamichandler/types</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.dynamichandler.TestService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/dynamichandler'>serviceNS:TestService</wsdl-service-name>
+ <port-mapping>
+ <port-name>HandlerTestServicePort</port-name>
+ <java-port-name>HandlerTestServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.dynamichandler.HandlerTestService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/dynamichandler'>portTypeNS:HandlerTestService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/dynamichandler'>bindingNS:HandlerTestServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>testHandlers</java-method-name>
+ <wsdl-operation>testHandlers</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/dynamichandler'>wsdlMsgNS:HandlerTestService_testHandlers</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/dynamichandler'>wsdlMsgNS:HandlerTestService_testHandlersResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>TestService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.dynamichandler.HandlerTestServiceBean</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<webservices version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:impl='http://org.jboss.ws/samples/dynamichandler' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>TestService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>HandlerTestServicePort</port-component-name>
+ <wsdl-port>impl:HandlerTestServicePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.dynamichandler.HandlerTestService</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>TestService</servlet-link>
+ </service-impl-bean>
+ <handler>
+ <handler-name>ServerSideHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.samples.dynamichandler.ServerSideHandler</handler-class>
+ </handler>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/wsdl/TestService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/wsdl/TestService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService' targetNamespace='http://org.jboss.ws/samples/dynamichandler' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/dynamichandler/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/dynamichandler' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types/>
+ <message name='HandlerTestService_testHandlers'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <message name='HandlerTestService_testHandlersResponse'>
+ <part name='result' type='xsd:string'/>
+ </message>
+ <portType name='HandlerTestService'>
+ <operation name='testHandlers' parameterOrder='String_1'>
+ <input message='tns:HandlerTestService_testHandlers'/>
+ <output message='tns:HandlerTestService_testHandlersResponse'/>
+ </operation>
+ </portType>
+ <binding name='HandlerTestServiceBinding' type='tns:HandlerTestService'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='testHandlers'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/dynamichandler' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/dynamichandler' use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestService'>
+ <port binding='tns:HandlerTestServiceBinding' name='HandlerTestServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/WEB-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.dynamichandler.HandlerTestService">
+ </service>
+ <namespaces target-namespace="http://org.jboss.ws/samples/dynamichandler" type-namespace="http://org.jboss.ws/samples/dynamichandler/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestService"/>
+ </java-wsdl>
+</configuration>
+
+<!--
+ Add to webservices.xml
+
+ <handler>
+ <handler-name>ServerSideHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.samples.dynamichandler.ServerSideHandler</handler-class>
+ </handler>
+
+-->
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/dynamichandler/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>Test web service user exception client</display-name>
+
+ <service-ref>
+ <service-ref-name>service/ExceptionService</service-ref-name>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.exception.ExceptionService</service-interface>
+ <wsdl-file>META-INF/wsdl/ExceptionService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.exception.ExceptionServiceInterface</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/ExceptionService</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-exception/ExceptionBean?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,130 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.exception</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/exception/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.exception.UserException</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/exception/types'>typeNS:UserException</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.exception.UserMessageException</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/exception/types'>typeNS:UserMessageException</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.exception.ComplexUserException</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/exception/types'>typeNS:ComplexUserException</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>errorCode</java-variable-name>
+ <xml-element-name>errorCode</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.exception.ComplexUserArrayException</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/exception/types'>typeNS:ComplexUserArrayException</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>errorCodes</java-variable-name>
+ <xml-element-name>errorCodes</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <exception-mapping>
+ <exception-type>org.jboss.test.ws.jaxrpc.samples.exception.UserException</exception-type>
+ <wsdl-message xmlns:exMsgNS='http://org.jboss.ws/samples/exception'>exMsgNS:UserException</wsdl-message>
+ </exception-mapping>
+ <exception-mapping>
+ <exception-type>org.jboss.test.ws.jaxrpc.samples.exception.UserMessageException</exception-type>
+ <wsdl-message xmlns:exMsgNS='http://org.jboss.ws/samples/exception'>exMsgNS:UserMessageException</wsdl-message>
+ </exception-mapping>
+ <exception-mapping>
+ <exception-type>org.jboss.test.ws.jaxrpc.samples.exception.ComplexUserException</exception-type>
+ <wsdl-message xmlns:exMsgNS='http://org.jboss.ws/samples/exception'>exMsgNS:ComplexUserException</wsdl-message>
+ <constructor-parameter-order>
+ <element-name>errorCode</element-name>
+ </constructor-parameter-order>
+ </exception-mapping>
+ <exception-mapping>
+ <exception-type>org.jboss.test.ws.jaxrpc.samples.exception.ComplexUserArrayException</exception-type>
+ <wsdl-message xmlns:exMsgNS='http://org.jboss.ws/samples/exception'>exMsgNS:ComplexUserArrayException</wsdl-message>
+ <constructor-parameter-order>
+ <element-name>errorCodes</element-name>
+ </constructor-parameter-order>
+ </exception-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.exception.ExceptionService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/exception'>serviceNS:ExceptionService</wsdl-service-name>
+ <port-mapping>
+ <port-name>ExceptionServiceInterfacePort</port-name>
+ <java-port-name>ExceptionServiceInterfacePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.exception.ExceptionServiceInterface</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/exception'>portTypeNS:ExceptionServiceInterface</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/exception'>bindingNS:ExceptionServiceInterfaceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>throwException</java-method-name>
+ <wsdl-operation>throwException</wsdl-operation>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>throwExceptionWithMessage</java-method-name>
+ <wsdl-operation>throwExceptionWithMessage</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/exception'>wsdlMsgNS:ExceptionServiceInterface_throwExceptionWithMessage</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>throwComplexUserException</java-method-name>
+ <wsdl-operation>throwComplexUserException</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/exception'>wsdlMsgNS:ExceptionServiceInterface_throwComplexUserException</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>int</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/exception'>wsdlMsgNS:ExceptionServiceInterface_throwComplexUserException</wsdl-message>
+ <wsdl-message-part-name>int_2</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>throwComplexUserArrayException</java-method-name>
+ <wsdl-operation>throwComplexUserArrayException</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/exception'>wsdlMsgNS:ExceptionServiceInterface_throwComplexUserArrayException</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>int[]</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/exception'>wsdlMsgNS:ExceptionServiceInterface_throwComplexUserArrayException</wsdl-message>
+ <wsdl-message-part-name>arrayOfint_2</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>ExceptionService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.exception.ExceptionBeanImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>ExceptionService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<webservices version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:impl='http://org.jboss.ws/samples/exception' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>ExceptionService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/ExceptionService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>ExceptionServiceInterfacePort</port-component-name>
+ <wsdl-port>impl:ExceptionServiceInterfacePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.exception.ExceptionServiceInterface</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>ExceptionService</servlet-link>
+ </service-impl-bean>
+ <handler>
+ <handler-name>ServerHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.samples.exception.ServerHandler</handler-class>
+ </handler>
+ </port-component>
+ </webservice-description>
+</webservices>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/wsdl/ExceptionService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/wsdl/ExceptionService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/wsdl/ExceptionService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='ExceptionService' targetNamespace='http://org.jboss.ws/samples/exception' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/exception/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/exception' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.ws/samples/exception/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/samples/exception/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <complexType name='ComplexUserArrayException'>
+ <sequence>
+ <element name='message' nillable='true' type='string'/>
+ <element maxOccurs='unbounded' minOccurs='0' name='errorCodes' type='int'/>
+ </sequence>
+ </complexType>
+ <complexType name='ComplexUserException'>
+ <sequence>
+ <element name='message' nillable='true' type='string'/>
+ <element name='errorCode' type='int'/>
+ </sequence>
+ </complexType>
+ <complexType name='UserException'>
+ <sequence/>
+ </complexType>
+ <complexType name='UserMessageException'>
+ <sequence>
+ <element name='message' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <complexType name='int.Array'>
+ <sequence>
+ <element maxOccurs='unbounded' minOccurs='0' name='value' type='int'/>
+ </sequence>
+ </complexType>
+ <element name='ComplexUserArrayException' type='tns:ComplexUserArrayException'/>
+ <element name='ComplexUserException' type='tns:ComplexUserException'/>
+ <element name='UserException' type='tns:UserException'/>
+ <element name='UserMessageException' type='tns:UserMessageException'/>
+ </schema>
+ </types>
+ <message name='ExceptionServiceInterface_throwComplexUserArrayException' xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part name='String_1' type='xsd:string'/>
+ <part name='arrayOfint_2' type='ns1:int.Array'/>
+ </message>
+ <message name='ExceptionServiceInterface_throwComplexUserArrayExceptionResponse'/>
+ <message name='ComplexUserArrayException'>
+ <part element='ns1:ComplexUserArrayException' name='ComplexUserArrayException'/>
+ </message>
+ <message name='ExceptionServiceInterface_throwComplexUserException'>
+ <part name='String_1' type='xsd:string'/>
+ <part name='int_2' type='xsd:int'/>
+ </message>
+ <message name='ExceptionServiceInterface_throwComplexUserExceptionResponse'/>
+ <message name='ComplexUserException'>
+ <part element='ns1:ComplexUserException' name='ComplexUserException'/>
+ </message>
+ <message name='ExceptionServiceInterface_throwException'/>
+ <message name='ExceptionServiceInterface_throwExceptionResponse'/>
+ <message name='UserException'>
+ <part element='ns1:UserException' name='UserException'/>
+ </message>
+ <message name='ExceptionServiceInterface_throwExceptionWithMessage'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <message name='ExceptionServiceInterface_throwExceptionWithMessageResponse'/>
+ <message name='UserMessageException'>
+ <part element='ns1:UserMessageException' name='UserMessageException'/>
+ </message>
+ <portType name='ExceptionServiceInterface'>
+ <operation name='throwComplexUserArrayException' parameterOrder='String_1 arrayOfint_2'>
+ <input message='tns:ExceptionServiceInterface_throwComplexUserArrayException'/>
+ <output message='tns:ExceptionServiceInterface_throwComplexUserArrayExceptionResponse'/>
+ <fault message='tns:ComplexUserArrayException' name='ComplexUserArrayException'/>
+ </operation>
+ <operation name='throwComplexUserException' parameterOrder='String_1 int_2'>
+ <input message='tns:ExceptionServiceInterface_throwComplexUserException'/>
+ <output message='tns:ExceptionServiceInterface_throwComplexUserExceptionResponse'/>
+ <fault message='tns:ComplexUserException' name='ComplexUserException'/>
+ </operation>
+ <operation name='throwException'>
+ <input message='tns:ExceptionServiceInterface_throwException'/>
+ <output message='tns:ExceptionServiceInterface_throwExceptionResponse'/>
+ <fault message='tns:UserException' name='UserException'/>
+ </operation>
+ <operation name='throwExceptionWithMessage' parameterOrder='String_1'>
+ <input message='tns:ExceptionServiceInterface_throwExceptionWithMessage'/>
+ <output message='tns:ExceptionServiceInterface_throwExceptionWithMessageResponse'/>
+ <fault message='tns:UserMessageException' name='UserMessageException'/>
+ </operation>
+ </portType>
+ <binding name='ExceptionServiceInterfaceBinding' type='tns:ExceptionServiceInterface'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='throwComplexUserArrayException'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/exception' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/exception' use='literal'/>
+ </output>
+ <fault name='ComplexUserArrayException'>
+ <soap:fault name='ComplexUserArrayException' use='literal'/>
+ </fault>
+ </operation>
+ <operation name='throwComplexUserException'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/exception' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/exception' use='literal'/>
+ </output>
+ <fault name='ComplexUserException'>
+ <soap:fault name='ComplexUserException' use='literal'/>
+ </fault>
+ </operation>
+ <operation name='throwException'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/exception' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/exception' use='literal'/>
+ </output>
+ <fault name='UserException'>
+ <soap:fault name='UserException' use='literal'/>
+ </fault>
+ </operation>
+ <operation name='throwExceptionWithMessage'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/exception' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/exception' use='literal'/>
+ </output>
+ <fault name='UserMessageException'>
+ <soap:fault name='UserMessageException' use='literal'/>
+ </fault>
+ </operation>
+ </binding>
+ <service name='ExceptionService'>
+ <port binding='tns:ExceptionServiceInterfaceBinding' name='ExceptionServiceInterfacePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/WEB-INF/wsdl/ExceptionService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/fault-envelopes.txt
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/fault-envelopes.txt (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/fault-envelopes.txt 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,101 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <soapenv:Header>
+ </soapenv:Header>
+ <soapenv:Body>
+ <ns1:throwException xmlns:ns1="http://org.jboss.webservice/exception"/>
+ </soapenv:Body>
+</soapenv:Envelope>
+
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <soapenv:Body>
+ <soapenv:Fault>
+ <faultcode>soapenv:Client</faultcode>
+ <faultstring>org.jboss.test.ws.jaxrpc.exception.UserException</faultstring>
+ <detail>
+ <ns1:UserException xmlns:ns1="http://org.jboss.webservice/exception/types">
+ <message xsi:nil="1"/>
+ </ns1:UserException>
+ </detail>
+ </soapenv:Fault>
+ </soapenv:Body>
+</soapenv:Envelope>
+
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <soapenv:Header>
+ </soapenv:Header>
+ <soapenv:Body>
+ <ns1:throwExceptionWithMessage xmlns:ns1="http://org.jboss.webservice/exception">
+ <String_1>Don't worry it's just a test</String_1>
+ </ns1:throwExceptionWithMessage>
+ </soapenv:Body>
+</soapenv:Envelope>
+
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <soapenv:Body>
+ <soapenv:Fault>
+ <faultcode>soapenv:Client</faultcode>
+ <faultstring>Don't worry it's just a test</faultstring>
+ <detail>
+ <ns1:UserMessageException xmlns:ns1="http://org.jboss.webservice/exception/types">
+ <message>Don't worry it's just a test</message>
+ </ns1:UserMessageException>
+ </detail>
+ </soapenv:Fault>
+ </soapenv:Body>
+</soapenv:Envelope>
+
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <soapenv:Header>
+ </soapenv:Header>
+ <soapenv:Body>
+ <ns1:throwComplexUserException xmlns:ns1="http://org.jboss.webservice/exception">
+ <String_1>Don't worry it's just a test</String_1>
+ <int_2>200</int_2>
+ </ns1:throwComplexUserException>
+ </soapenv:Body>
+</soapenv:Envelope>
+
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <soapenv:Body>
+ <soapenv:Fault>
+ <faultcode>soapenv:Client</faultcode>
+ <faultstring>Don't worry it's just a test</faultstring>
+ <detail>
+ <ns1:ComplexUserException xmlns:ns1="http://org.jboss.webservice/exception/types">
+ <message>Don't worry it's just a test</message>
+ <errorCode>200</errorCode>
+ </ns1:ComplexUserException>
+ </detail>
+ </soapenv:Fault>
+ </soapenv:Body>
+</soapenv:Envelope>
+
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <soapenv:Header>
+ </soapenv:Header>
+ <soapenv:Body>
+ <ns1:throwComplexUserArrayException xmlns:ns1="http://org.jboss.webservice/exception">
+ <String_1>Don't worry it's just a test</String_1>
+ <arrayOfint_2>
+ <value>100</value>
+ <value>200</value>
+ </arrayOfint_2>
+ </ns1:throwComplexUserArrayException>
+ </soapenv:Body>
+</soapenv:Envelope>
+
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <soapenv:Body>
+ <soapenv:Fault>
+ <faultcode>soapenv:Client</faultcode>
+ <faultstring>Don't worry it's just a test</faultstring>
+ <detail>
+ <ns1:ComplexUserArrayException xmlns:ns1="http://org.jboss.webservice/exception/types">
+ <message>Don't worry it's just a test</message>
+ <errorCodes>100</errorCodes>
+ <errorCodes>200</errorCodes>
+ </ns1:ComplexUserArrayException>
+ </detail>
+ </soapenv:Fault>
+ </soapenv:Body>
+</soapenv:Envelope>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/fault-envelopes.txt
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="ExceptionService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.exception.ExceptionServiceInterface"/>
+ <namespaces target-namespace="http://org.jboss.ws/samples/exception" type-namespace="http://org.jboss.ws/samples/exception/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestService"/>
+ </java-wsdl>
+</configuration>
+
+<!--
+Add the following to webservices.xml
+
+<handler>
+ <handler-name>ServerHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.samples.exception.ServerHandler</handler-class>
+</handler>
+-->
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/exception/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TestService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.handler.HeaderTestService</service-endpoint-interface>
+ </port-component-ref>
+ <handler>
+ <handler-name>HeaderTestHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.samples.handler.ClientSideHandler</handler-class>
+ <init-param>
+ <param-name>ClientParam1</param-name>
+ <param-value>value1</param-value>
+ </init-param>
+ <init-param>
+ <param-name>ClientParam2</param-name>
+ <param-value>value2</param-value>
+ </init-param>
+ <soap-header xmlns:ns1='http://somens'>ns1:InHeader</soap-header>
+ <soap-header xmlns:ns1='http://somens'>ns1:OutHeader</soap-header>
+ <soap-header xmlns:ns1='http://somens'>ns1:InOutHeader</soap-header>
+ <soap-role>role1</soap-role>
+ </handler>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/TestService</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-handler?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,88 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.handler</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/handler/types</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.handler.TestService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/handler'>serviceNS:TestService</wsdl-service-name>
+ <port-mapping>
+ <port-name>HeaderTestServicePort</port-name>
+ <java-port-name>HeaderTestServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.handler.HeaderTestService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/handler'>portTypeNS:HeaderTestService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/handler'>bindingNS:HeaderTestServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>testInHeader</java-method-name>
+ <wsdl-operation>testInHeader</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/handler'>wsdlMsgNS:HeaderTestService_testInHeader</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/handler'>wsdlMsgNS:HeaderTestService_testInHeader</wsdl-message>
+ <wsdl-message-part-name>headerMsg</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ <soap-header/>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>testInOutHeader</java-method-name>
+ <wsdl-operation>testInOutHeader</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/handler'>wsdlMsgNS:HeaderTestService_testInOutHeader</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/handler'>wsdlMsgNS:HeaderTestService_testInOutHeader</wsdl-message>
+ <wsdl-message-part-name>headerMsg</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ <soap-header/>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>testOutHeader</java-method-name>
+ <wsdl-operation>testOutHeader</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/handler'>wsdlMsgNS:HeaderTestService_testOutHeader</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/handler'>wsdlMsgNS:HeaderTestService_testOutHeaderResponse</wsdl-message>
+ <wsdl-message-part-name>headerMsg</wsdl-message-part-name>
+ <parameter-mode>OUT</parameter-mode>
+ <soap-header/>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>TestService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.handler.HeaderTestServiceBean</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,31 @@
+<webservices version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:impl='http://org.jboss.ws/samples/handler' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>TestService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>HeaderTestServicePort</port-component-name>
+ <wsdl-port>impl:HeaderTestServicePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.handler.HeaderTestService</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>TestService</servlet-link>
+ </service-impl-bean>
+ <handler>
+ <handler-name>HeaderTestHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.samples.handler.ServerSideHandler</handler-class>
+ <init-param>
+ <param-name>ServerParam1</param-name>
+ <param-value>value1</param-value>
+ </init-param>
+ <init-param>
+ <param-name>ServerParam2</param-name>
+ <param-value>value2</param-value>
+ </init-param>
+ <soap-header xmlns:ns1='http://somens'>ns1:InHeader</soap-header>
+ <soap-header xmlns:ns1='http://somens'>ns1:OutHeader</soap-header>
+ <soap-header xmlns:ns1='http://somens'>ns1:InOutHeader</soap-header>
+ <soap-role>role1</soap-role>
+ </handler>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/wsdl/TestService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/wsdl/TestService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService' targetNamespace='http://org.jboss.ws/samples/handler' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/handler/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/handler' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.ws/samples/handler/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/samples/handler/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <element name='headerMsg' type='string'/>
+ </schema>
+ </types>
+ <message name='HeaderTestService_testInHeader' xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part name='String_1' type='xsd:string'/>
+ <part element='ns1:headerMsg' name='headerMsg'/>
+ </message>
+ <message name='HeaderTestService_testInHeaderResponse'/>
+ <message name='HeaderTestService_testInOutHeader'>
+ <part name='String_1' type='xsd:string'/>
+ <part element='ns1:headerMsg' name='headerMsg'/>
+ </message>
+ <message name='HeaderTestService_testInOutHeaderResponse'>
+ <part element='ns1:headerMsg' name='headerMsg'/>
+ </message>
+ <message name='HeaderTestService_testOutHeader'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <message name='HeaderTestService_testOutHeaderResponse'>
+ <part element='ns1:headerMsg' name='headerMsg'/>
+ </message>
+ <portType name='HeaderTestService'>
+ <operation name='testInHeader' parameterOrder='String_1 headerMsg'>
+ <input message='tns:HeaderTestService_testInHeader'/>
+ <output message='tns:HeaderTestService_testInHeaderResponse'/>
+ </operation>
+ <operation name='testInOutHeader' parameterOrder='String_1 headerMsg'>
+ <input message='tns:HeaderTestService_testInOutHeader'/>
+ <output message='tns:HeaderTestService_testInOutHeaderResponse'/>
+ </operation>
+ <operation name='testOutHeader' parameterOrder='String_1 headerMsg'>
+ <input message='tns:HeaderTestService_testOutHeader'/>
+ <output message='tns:HeaderTestService_testOutHeaderResponse'/>
+ </operation>
+ </portType>
+ <binding name='HeaderTestServiceBinding' type='tns:HeaderTestService'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='testInHeader'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/handler' parts='String_1' use='literal'/>
+ <soap:header message='tns:HeaderTestService_testInHeader' part='headerMsg' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/handler' use='literal'/>
+ </output>
+ </operation>
+ <operation name='testInOutHeader'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/handler' parts='String_1' use='literal'/>
+ <soap:header message='tns:HeaderTestService_testInOutHeader' part='headerMsg' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/handler' parts='' use='literal'/>
+ <soap:header message='tns:HeaderTestService_testInOutHeaderResponse' part='headerMsg' use='literal'/>
+ </output>
+ </operation>
+ <operation name='testOutHeader'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/handler' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/handler' parts='' use='literal'/>
+ <soap:header message='tns:HeaderTestService_testOutHeaderResponse' part='headerMsg' use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestService'>
+ <port binding='tns:HeaderTestServiceBinding' name='HeaderTestServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/WEB-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.handler.HeaderTestService">
+ <operation name="testInHeader">
+ <parameter type="java.lang.String"/>
+ <parameter type="java.lang.String" xml-name="headerMsg" header="true"/>
+ </operation>
+ <operation name="testInOutHeader">
+ <parameter type="java.lang.String"/>
+ <parameter type="javax.xml.rpc.holders.StringHolder" xml-name="headerMsg" header="true" mode="INOUT"/>
+ </operation>
+ <operation name="testOutHeader">
+ <parameter type="java.lang.String"/>
+ <parameter type="javax.xml.rpc.holders.StringHolder" xml-name="headerMsg" header="true" mode="OUT"/>
+ </operation>
+ </service>
+ <namespaces target-namespace="http://org.jboss.ws/samples/handler" type-namespace="http://org.jboss.ws/samples/handler/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestService"/>
+ </java-wsdl>
+</configuration>
+
+<!--
+ Add to webservices.xml
+
+ <handler>
+ <handler-name>HeaderTestHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.samples.handler.HeaderTestHandler</handler-class>
+ <init-param>
+ <param-name>ServerParam1</param-name>
+ <param-value>value1</param-value>
+ </init-param>
+ <init-param>
+ <param-name>ServerParam2</param-name>
+ <param-value>value2</param-value>
+ </init-param>
+ <soap-header xmlns:ns1='http://somens'>ns1:InHeader</soap-header>
+ <soap-header xmlns:ns1='http://somens'>ns1:OutHeader</soap-header>
+ <soap-header xmlns:ns1='http://somens'>ns1:InOutHeader</soap-header>
+ <soap-role>role1</soap-role>
+ </handler>
+-->
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/handler/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TestService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.holder.HolderTestService</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/TestService</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-holder?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,279 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.holder</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/holder/types</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.holder.TestService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/holder'>serviceNS:TestService</wsdl-service-name>
+ <port-mapping>
+ <port-name>HolderTestServicePort</port-name>
+ <java-port-name>HolderTestServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.holder.HolderTestService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/holder'>portTypeNS:HolderTestService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/holder'>bindingNS:HolderTestServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoBigDecimal</java-method-name>
+ <wsdl-operation>echoBigDecimal</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.math.BigDecimal</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoBigDecimal</wsdl-message>
+ <wsdl-message-part-name>BigDecimal_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoBigInteger</java-method-name>
+ <wsdl-operation>echoBigInteger</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.math.BigInteger</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoBigInteger</wsdl-message>
+ <wsdl-message-part-name>BigInteger_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoBoolean</java-method-name>
+ <wsdl-operation>echoBoolean</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>boolean</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoBoolean</wsdl-message>
+ <wsdl-message-part-name>boolean_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoBooleanWrapper</java-method-name>
+ <wsdl-operation>echoBooleanWrapper</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.Boolean</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoBooleanWrapper</wsdl-message>
+ <wsdl-message-part-name>Boolean_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoByteArray</java-method-name>
+ <wsdl-operation>echoByteArray</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>byte[]</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoByteArray</wsdl-message>
+ <wsdl-message-part-name>arrayOfbyte_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoByte</java-method-name>
+ <wsdl-operation>echoByte</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>byte</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoByte</wsdl-message>
+ <wsdl-message-part-name>byte_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoByteWrapper</java-method-name>
+ <wsdl-operation>echoByteWrapper</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.Byte</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoByteWrapper</wsdl-message>
+ <wsdl-message-part-name>Byte_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoCalendar</java-method-name>
+ <wsdl-operation>echoCalendar</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.util.Calendar</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoCalendar</wsdl-message>
+ <wsdl-message-part-name>Calendar_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoDouble</java-method-name>
+ <wsdl-operation>echoDouble</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>double</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoDouble</wsdl-message>
+ <wsdl-message-part-name>double_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoDoubleWrapper</java-method-name>
+ <wsdl-operation>echoDoubleWrapper</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.Double</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoDoubleWrapper</wsdl-message>
+ <wsdl-message-part-name>Double_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoFloat</java-method-name>
+ <wsdl-operation>echoFloat</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>float</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoFloat</wsdl-message>
+ <wsdl-message-part-name>float_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoFloatWrapper</java-method-name>
+ <wsdl-operation>echoFloatWrapper</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.Float</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoFloatWrapper</wsdl-message>
+ <wsdl-message-part-name>Float_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoIntegerWrapper</java-method-name>
+ <wsdl-operation>echoIntegerWrapper</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.Integer</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoIntegerWrapper</wsdl-message>
+ <wsdl-message-part-name>Integer_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoInt</java-method-name>
+ <wsdl-operation>echoInt</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>int</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoInt</wsdl-message>
+ <wsdl-message-part-name>int_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoLong</java-method-name>
+ <wsdl-operation>echoLong</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>long</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoLong</wsdl-message>
+ <wsdl-message-part-name>long_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoLongWrapper</java-method-name>
+ <wsdl-operation>echoLongWrapper</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.Long</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoLongWrapper</wsdl-message>
+ <wsdl-message-part-name>Long_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoQName</java-method-name>
+ <wsdl-operation>echoQName</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>javax.xml.namespace.QName</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoQName</wsdl-message>
+ <wsdl-message-part-name>QName_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoShort</java-method-name>
+ <wsdl-operation>echoShort</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>short</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoShort</wsdl-message>
+ <wsdl-message-part-name>short_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoShortWrapper</java-method-name>
+ <wsdl-operation>echoShortWrapper</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.Short</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoShortWrapper</wsdl-message>
+ <wsdl-message-part-name>Short_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoString</java-method-name>
+ <wsdl-operation>echoString</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/holder'>wsdlMsgNS:HolderTestService_echoString</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>INOUT</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <context-param>
+ <param-name>jbossws-config-name</param-name>
+ <param-value>Standard Endpoint</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>TestService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.holder.HolderTestServiceBean</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>TestService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>HolderTestServicePort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/samples/holder'>portNS:HolderTestServicePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.holder.HolderTestService</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>TestService</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/wsdl/TestService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/wsdl/TestService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,394 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService' targetNamespace='http://org.jboss.ws/samples/holder' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/holder/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/holder' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types/>
+ <message name='HolderTestService_echoBigDecimal'>
+ <part name='BigDecimal_1' type='xsd:decimal'/>
+ </message>
+ <message name='HolderTestService_echoBigDecimalResponse'>
+ <part name='BigDecimal_1' type='xsd:decimal'/>
+ </message>
+ <message name='HolderTestService_echoBigInteger'>
+ <part name='BigInteger_1' type='xsd:integer'/>
+ </message>
+ <message name='HolderTestService_echoBigIntegerResponse'>
+ <part name='BigInteger_1' type='xsd:integer'/>
+ </message>
+ <message name='HolderTestService_echoBoolean'>
+ <part name='boolean_1' type='xsd:boolean'/>
+ </message>
+ <message name='HolderTestService_echoBooleanResponse'>
+ <part name='boolean_1' type='xsd:boolean'/>
+ </message>
+ <message name='HolderTestService_echoBooleanWrapper'>
+ <part name='Boolean_1' type='xsd:boolean'/>
+ </message>
+ <message name='HolderTestService_echoBooleanWrapperResponse'>
+ <part name='Boolean_1' type='xsd:boolean'/>
+ </message>
+ <message name='HolderTestService_echoByte'>
+ <part name='byte_1' type='xsd:byte'/>
+ </message>
+ <message name='HolderTestService_echoByteResponse'>
+ <part name='byte_1' type='xsd:byte'/>
+ </message>
+ <message name='HolderTestService_echoByteArray'>
+ <part name='arrayOfbyte_1' type='xsd:base64Binary'/>
+ </message>
+ <message name='HolderTestService_echoByteArrayResponse'>
+ <part name='arrayOfbyte_1' type='xsd:base64Binary'/>
+ </message>
+ <message name='HolderTestService_echoByteWrapper'>
+ <part name='Byte_1' type='xsd:byte'/>
+ </message>
+ <message name='HolderTestService_echoByteWrapperResponse'>
+ <part name='Byte_1' type='xsd:byte'/>
+ </message>
+ <message name='HolderTestService_echoCalendar'>
+ <part name='Calendar_1' type='xsd:dateTime'/>
+ </message>
+ <message name='HolderTestService_echoCalendarResponse'>
+ <part name='Calendar_1' type='xsd:dateTime'/>
+ </message>
+ <message name='HolderTestService_echoDouble'>
+ <part name='double_1' type='xsd:double'/>
+ </message>
+ <message name='HolderTestService_echoDoubleResponse'>
+ <part name='double_1' type='xsd:double'/>
+ </message>
+ <message name='HolderTestService_echoDoubleWrapper'>
+ <part name='Double_1' type='xsd:double'/>
+ </message>
+ <message name='HolderTestService_echoDoubleWrapperResponse'>
+ <part name='Double_1' type='xsd:double'/>
+ </message>
+ <message name='HolderTestService_echoFloat'>
+ <part name='float_1' type='xsd:float'/>
+ </message>
+ <message name='HolderTestService_echoFloatResponse'>
+ <part name='float_1' type='xsd:float'/>
+ </message>
+ <message name='HolderTestService_echoFloatWrapper'>
+ <part name='Float_1' type='xsd:float'/>
+ </message>
+ <message name='HolderTestService_echoFloatWrapperResponse'>
+ <part name='Float_1' type='xsd:float'/>
+ </message>
+ <message name='HolderTestService_echoInt'>
+ <part name='int_1' type='xsd:int'/>
+ </message>
+ <message name='HolderTestService_echoIntResponse'>
+ <part name='int_1' type='xsd:int'/>
+ </message>
+ <message name='HolderTestService_echoIntegerWrapper'>
+ <part name='Integer_1' type='xsd:int'/>
+ </message>
+ <message name='HolderTestService_echoIntegerWrapperResponse'>
+ <part name='Integer_1' type='xsd:int'/>
+ </message>
+ <message name='HolderTestService_echoLong'>
+ <part name='long_1' type='xsd:long'/>
+ </message>
+ <message name='HolderTestService_echoLongResponse'>
+ <part name='long_1' type='xsd:long'/>
+ </message>
+ <message name='HolderTestService_echoLongWrapper'>
+ <part name='Long_1' type='xsd:long'/>
+ </message>
+ <message name='HolderTestService_echoLongWrapperResponse'>
+ <part name='Long_1' type='xsd:long'/>
+ </message>
+ <message name='HolderTestService_echoQName'>
+ <part name='QName_1' type='xsd:QName'/>
+ </message>
+ <message name='HolderTestService_echoQNameResponse'>
+ <part name='QName_1' type='xsd:QName'/>
+ </message>
+ <message name='HolderTestService_echoShort'>
+ <part name='short_1' type='xsd:short'/>
+ </message>
+ <message name='HolderTestService_echoShortResponse'>
+ <part name='short_1' type='xsd:short'/>
+ </message>
+ <message name='HolderTestService_echoShortWrapper'>
+ <part name='Short_1' type='xsd:short'/>
+ </message>
+ <message name='HolderTestService_echoShortWrapperResponse'>
+ <part name='Short_1' type='xsd:short'/>
+ </message>
+ <message name='HolderTestService_echoString'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <message name='HolderTestService_echoStringResponse'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <portType name='HolderTestService'>
+ <operation name='echoBigDecimal' parameterOrder='BigDecimal_1'>
+ <input message='tns:HolderTestService_echoBigDecimal'/>
+ <output message='tns:HolderTestService_echoBigDecimalResponse'/>
+ </operation>
+ <operation name='echoBigInteger' parameterOrder='BigInteger_1'>
+ <input message='tns:HolderTestService_echoBigInteger'/>
+ <output message='tns:HolderTestService_echoBigIntegerResponse'/>
+ </operation>
+ <operation name='echoBoolean' parameterOrder='boolean_1'>
+ <input message='tns:HolderTestService_echoBoolean'/>
+ <output message='tns:HolderTestService_echoBooleanResponse'/>
+ </operation>
+ <operation name='echoBooleanWrapper' parameterOrder='Boolean_1'>
+ <input message='tns:HolderTestService_echoBooleanWrapper'/>
+ <output message='tns:HolderTestService_echoBooleanWrapperResponse'/>
+ </operation>
+ <operation name='echoByte' parameterOrder='byte_1'>
+ <input message='tns:HolderTestService_echoByte'/>
+ <output message='tns:HolderTestService_echoByteResponse'/>
+ </operation>
+ <operation name='echoByteArray' parameterOrder='arrayOfbyte_1'>
+ <input message='tns:HolderTestService_echoByteArray'/>
+ <output message='tns:HolderTestService_echoByteArrayResponse'/>
+ </operation>
+ <operation name='echoByteWrapper' parameterOrder='Byte_1'>
+ <input message='tns:HolderTestService_echoByteWrapper'/>
+ <output message='tns:HolderTestService_echoByteWrapperResponse'/>
+ </operation>
+ <operation name='echoCalendar' parameterOrder='Calendar_1'>
+ <input message='tns:HolderTestService_echoCalendar'/>
+ <output message='tns:HolderTestService_echoCalendarResponse'/>
+ </operation>
+ <operation name='echoDouble' parameterOrder='double_1'>
+ <input message='tns:HolderTestService_echoDouble'/>
+ <output message='tns:HolderTestService_echoDoubleResponse'/>
+ </operation>
+ <operation name='echoDoubleWrapper' parameterOrder='Double_1'>
+ <input message='tns:HolderTestService_echoDoubleWrapper'/>
+ <output message='tns:HolderTestService_echoDoubleWrapperResponse'/>
+ </operation>
+ <operation name='echoFloat' parameterOrder='float_1'>
+ <input message='tns:HolderTestService_echoFloat'/>
+ <output message='tns:HolderTestService_echoFloatResponse'/>
+ </operation>
+ <operation name='echoFloatWrapper' parameterOrder='Float_1'>
+ <input message='tns:HolderTestService_echoFloatWrapper'/>
+ <output message='tns:HolderTestService_echoFloatWrapperResponse'/>
+ </operation>
+ <operation name='echoInt' parameterOrder='int_1'>
+ <input message='tns:HolderTestService_echoInt'/>
+ <output message='tns:HolderTestService_echoIntResponse'/>
+ </operation>
+ <operation name='echoIntegerWrapper' parameterOrder='Integer_1'>
+ <input message='tns:HolderTestService_echoIntegerWrapper'/>
+ <output message='tns:HolderTestService_echoIntegerWrapperResponse'/>
+ </operation>
+ <operation name='echoLong' parameterOrder='long_1'>
+ <input message='tns:HolderTestService_echoLong'/>
+ <output message='tns:HolderTestService_echoLongResponse'/>
+ </operation>
+ <operation name='echoLongWrapper' parameterOrder='Long_1'>
+ <input message='tns:HolderTestService_echoLongWrapper'/>
+ <output message='tns:HolderTestService_echoLongWrapperResponse'/>
+ </operation>
+ <operation name='echoQName' parameterOrder='QName_1'>
+ <input message='tns:HolderTestService_echoQName'/>
+ <output message='tns:HolderTestService_echoQNameResponse'/>
+ </operation>
+ <operation name='echoShort' parameterOrder='short_1'>
+ <input message='tns:HolderTestService_echoShort'/>
+ <output message='tns:HolderTestService_echoShortResponse'/>
+ </operation>
+ <operation name='echoShortWrapper' parameterOrder='Short_1'>
+ <input message='tns:HolderTestService_echoShortWrapper'/>
+ <output message='tns:HolderTestService_echoShortWrapperResponse'/>
+ </operation>
+ <operation name='echoString' parameterOrder='String_1'>
+ <input message='tns:HolderTestService_echoString'/>
+ <output message='tns:HolderTestService_echoStringResponse'/>
+ </operation>
+ </portType>
+ <binding name='HolderTestServiceBinding' type='tns:HolderTestService'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='echoBigDecimal'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoBigInteger'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoBoolean'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoBooleanWrapper'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoByte'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoByteArray'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoByteWrapper'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoCalendar'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoDouble'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoDoubleWrapper'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoFloat'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoFloatWrapper'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoInt'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoIntegerWrapper'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoLong'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoLongWrapper'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoQName'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoShort'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoShortWrapper'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoString'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/holder' use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestService'>
+ <port binding='tns:HolderTestServiceBinding' name='HolderTestServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/WEB-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.holder.HolderTestService"/>
+ <namespaces target-namespace="http://org.jboss.ws/samples/holder" type-namespace="http://org.jboss.ws/samples/holder/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestService"/>
+ </java-wsdl>
+</configuration>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/holder/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/ejb-jar.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/ejb-jar.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/ejb-jar.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd">
+
+<ejb-jar>
+ <enterprise-beans>
+ <message-driven>
+ <ejb-name>OrganizationMDB</ejb-name>
+ <ejb-class>org.jboss.test.ws.jaxrpc.samples.jmstransport.OrganizationJMSEndpoint</ejb-class>
+ <transaction-type>Container</transaction-type>
+ <message-selector></message-selector>
+ <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>
+ <message-driven-destination>
+ <destination-type>javax.jms.Queue</destination-type>
+ <subscription-durability>NonDurable</subscription-durability>
+ </message-driven-destination>
+ </message-driven>
+ </enterprise-beans>
+</ejb-jar>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/ejb-jar.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.jmstransport</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/jmstransport/types</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.jmstransport.OrganizationService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/jmstransport'>serviceNS:OrganizationService</wsdl-service-name>
+ <port-mapping>
+ <port-name>OrganizationPort</port-name>
+ <java-port-name>OrganizationPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jmstransport.Organization</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/jmstransport'>portTypeNS:Organization</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/jmstransport'>bindingNS:OrganizationBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>getContactInfo</java-method-name>
+ <wsdl-operation>getContactInfo</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jmstransport'>wsdlMsgNS:Organization_getContactInfo</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jmstransport'>wsdlMsgNS:Organization_getContactInfoResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss-service.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss-service.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss-service.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<server>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.mq.destination:service=Queue,name=RequestQueue">
+ <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+ </mbean>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.mq.destination:service=Queue,name=ResponseQueue">
+ <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
+ </mbean>
+</server>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss-service.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
+
+<jboss>
+ <enterprise-beans>
+ <message-driven>
+ <ejb-name>OrganizationMDB</ejb-name>
+ <destination-jndi-name>queue/RequestQueue</destination-jndi-name>
+ <depends>jboss.mq.destination:service=Queue,name=RequestQueue</depends>
+ </message-driven>
+ </enterprise-beans>
+</jboss>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/jboss.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>OrganizationService</webservice-description-name>
+ <wsdl-file>META-INF/wsdl/OrganizationService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>OrganizationPort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/samples/jmstransport'>portNS:OrganizationPort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jmstransport.Organization</service-endpoint-interface>
+ <service-impl-bean>
+ <ejb-link>OrganizationMDB</ejb-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/wsdl/OrganizationService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/wsdl/OrganizationService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/wsdl/OrganizationService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='OrganizationService' targetNamespace='http://org.jboss.ws/samples/jmstransport' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/jmstransport/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/jmstransport' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types/>
+ <message name='Organization_getContactInfo'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <message name='Organization_getContactInfoResponse'>
+ <part name='result' type='xsd:string'/>
+ </message>
+ <portType name='Organization'>
+ <operation name='getContactInfo' parameterOrder='String_1'>
+ <input message='tns:Organization_getContactInfo'/>
+ <output message='tns:Organization_getContactInfoResponse'/>
+ </operation>
+ </portType>
+ <binding name='OrganizationBinding' type='tns:Organization'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='getContactInfo'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/jmstransport' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/jmstransport' use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='OrganizationService'>
+ <port binding='tns:OrganizationBinding' name='OrganizationPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/META-INF/wsdl/OrganizationService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+
+ <java-wsdl>
+ <service name="OrganizationService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.jmstransport.Organization"/>
+ <namespaces target-namespace="http://org.jboss.ws/samples/jmstransport" type-namespace="http://org.jboss.ws/samples/jmstransport/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices ejb-link="OrganizationMDB"/>
+ </java-wsdl>
+</configuration>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jmstransport/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TestServiceEJB</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>use overwrite in jboss-client.xml</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/ejb-jar.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/ejb-jar.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/ejb-jar.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<ejb-jar 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/ejb-jar_2_1.xsd"
+ version="2.1">
+
+ <enterprise-beans>
+ <session>
+ <ejb-name>TestService</ejb-name>
+ <service-endpoint>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService</service-endpoint>
+ <ejb-class>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcEJBEndpoint</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
+ </enterprise-beans>
+</ejb-jar>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/ejb-jar.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,133 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.jsr109ejb</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/jsr109ejb/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService_echoString_RequestStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/jsr109ejb/types'>typeNS:echoString</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>string_1</java-variable-name>
+ <xml-element-name>String_1</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>string_2</java-variable-name>
+ <xml-element-name>String_2</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService_echoString_ResponseStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/jsr109ejb/types'>typeNS:echoStringResponse</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>result</java-variable-name>
+ <xml-element-name>result</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/jsr109ejb/types'>typeNS:SimpleUserType</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>a</java-variable-name>
+ <data-member/>
+ <xml-element-name>a</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>b</java-variable-name>
+ <xml-element-name>b</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService_echoSimpleUserType_RequestStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/jsr109ejb/types'>typeNS:echoSimpleUserType</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>string_1</java-variable-name>
+ <xml-element-name>String_1</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>simpleUserType_2</java-variable-name>
+ <xml-element-name>SimpleUserType_2</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService_echoSimpleUserType_ResponseStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/jsr109ejb/types'>typeNS:echoSimpleUserTypeResponse</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>result</java-variable-name>
+ <xml-element-name>result</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.TestService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/jsr109ejb'>serviceNS:TestService</wsdl-service-name>
+ <port-mapping>
+ <port-name>JaxRpcTestServicePort</port-name>
+ <java-port-name>JaxRpcTestServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/jsr109ejb'>portTypeNS:JaxRpcTestService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/jsr109ejb'>bindingNS:JaxRpcTestServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoString</java-method-name>
+ <wsdl-operation>echoString</wsdl-operation>
+ <wrapped-element/>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109ejb'>wsdlMsgNS:JaxRpcTestService_echoString</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109ejb'>wsdlMsgNS:JaxRpcTestService_echoString</wsdl-message>
+ <wsdl-message-part-name>String_2</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109ejb'>wsdlMsgNS:JaxRpcTestService_echoStringResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoSimpleUserType</java-method-name>
+ <wsdl-operation>echoSimpleUserType</wsdl-operation>
+ <wrapped-element/>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109ejb'>wsdlMsgNS:JaxRpcTestService_echoSimpleUserType</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109ejb'>wsdlMsgNS:JaxRpcTestService_echoSimpleUserType</wsdl-message>
+ <wsdl-message-part-name>SimpleUserType_2</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109ejb'>wsdlMsgNS:JaxRpcTestService_echoSimpleUserTypeResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/TestServiceEJB</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-jsr109ejb-doc?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
+
+<jboss>
+
+ <webservices>
+ <context-root>/jaxrpc-samples-jsr109ejb-doc</context-root>
+ </webservices>
+
+ <enterprise-beans>
+ <session>
+ <ejb-name>TestService</ejb-name>
+ <port-component>
+ <port-component-name>TestServicePort</port-component-name>
+ <port-component-uri>/*</port-component-uri>
+ </port-component>
+ </session>
+ </enterprise-beans>
+</jboss>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/jboss.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_RequestStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_RequestStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_RequestStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,34 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:56 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.jsr109ejb;
+
+
+public class JaxRpcTestService_echoSimpleUserType_RequestStruct
+{
+
+protected java.lang.String string_1;
+
+protected org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType simpleUserType_2;
+public JaxRpcTestService_echoSimpleUserType_RequestStruct(){}
+
+public JaxRpcTestService_echoSimpleUserType_RequestStruct(java.lang.String string_1, org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType simpleUserType_2){
+this.string_1=string_1;
+this.simpleUserType_2=simpleUserType_2;
+}
+public java.lang.String getString_1() { return string_1 ;}
+
+public void setString_1(java.lang.String string_1){ this.string_1=string_1; }
+
+public org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType getSimpleUserType_2() { return simpleUserType_2 ;}
+
+public void setSimpleUserType_2(org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType simpleUserType_2){ this.simpleUserType_2=simpleUserType_2; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_RequestStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:56 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.jsr109ejb;
+
+
+public class JaxRpcTestService_echoSimpleUserType_ResponseStruct
+{
+
+protected org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType result;
+public JaxRpcTestService_echoSimpleUserType_ResponseStruct(){}
+
+public JaxRpcTestService_echoSimpleUserType_ResponseStruct(org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType result){
+this.result=result;
+}
+public org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType getResult() { return result ;}
+
+public void setResult(org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType result){ this.result=result; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_RequestStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_RequestStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_RequestStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,34 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:56 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.jsr109ejb;
+
+
+public class JaxRpcTestService_echoString_RequestStruct
+{
+
+protected java.lang.String string_1;
+
+protected java.lang.String string_2;
+public JaxRpcTestService_echoString_RequestStruct(){}
+
+public JaxRpcTestService_echoString_RequestStruct(java.lang.String string_1, java.lang.String string_2){
+this.string_1=string_1;
+this.string_2=string_2;
+}
+public java.lang.String getString_1() { return string_1 ;}
+
+public void setString_1(java.lang.String string_1){ this.string_1=string_1; }
+
+public java.lang.String getString_2() { return string_2 ;}
+
+public void setString_2(java.lang.String string_2){ this.string_2=string_2; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_RequestStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_ResponseStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_ResponseStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_ResponseStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:56 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.jsr109ejb;
+
+
+public class JaxRpcTestService_echoString_ResponseStruct
+{
+
+protected java.lang.String result;
+public JaxRpcTestService_echoString_ResponseStruct(){}
+
+public JaxRpcTestService_echoString_ResponseStruct(java.lang.String result){
+this.result=result;
+}
+public java.lang.String getResult() { return result ;}
+
+public void setResult(java.lang.String result){ this.result=result; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/org/jboss/test/ws/jaxrpc/samples/jsr109ejb/JaxRpcTestService_echoString_ResponseStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>TestService</webservice-description-name>
+ <wsdl-file>META-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>JaxRpcTestServicePort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/samples/jsr109ejb'>portNS:JaxRpcTestServicePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService</service-endpoint-interface>
+ <service-impl-bean>
+ <ejb-link>TestService</ejb-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/wsdl/TestService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/wsdl/TestService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/wsdl/TestService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService' targetNamespace='http://org.jboss.ws/samples/jsr109ejb' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/jsr109ejb/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/jsr109ejb' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.ws/samples/jsr109ejb/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/samples/jsr109ejb/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <complexType name='SimpleUserType'>
+ <sequence>
+ <element name='a' type='int'/>
+ <element name='b' type='int'/>
+ </sequence>
+ </complexType>
+ <complexType name='echoSimpleUserType'>
+ <sequence>
+ <element name='String_1' nillable='true' type='string'/>
+ <element name='SimpleUserType_2' nillable='true' type='tns:SimpleUserType'/>
+ </sequence>
+ </complexType>
+ <complexType name='echoSimpleUserTypeResponse'>
+ <sequence>
+ <element name='result' nillable='true' type='tns:SimpleUserType'/>
+ </sequence>
+ </complexType>
+ <complexType name='echoString'>
+ <sequence>
+ <element name='String_1' nillable='true' type='string'/>
+ <element name='String_2' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <complexType name='echoStringResponse'>
+ <sequence>
+ <element name='result' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <element name='echoSimpleUserType' type='tns:echoSimpleUserType'/>
+ <element name='echoSimpleUserTypeResponse' type='tns:echoSimpleUserTypeResponse'/>
+ <element name='echoString' type='tns:echoString'/>
+ <element name='echoStringResponse' type='tns:echoStringResponse'/>
+ </schema>
+ </types>
+ <message name='JaxRpcTestService_echoSimpleUserType' xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part element='ns1:echoSimpleUserType' name='echoSimpleUserType'/>
+ </message>
+ <message name='JaxRpcTestService_echoSimpleUserTypeResponse'>
+ <part element='ns1:echoSimpleUserTypeResponse' name='echoSimpleUserTypeResponse'/>
+ </message>
+ <message name='JaxRpcTestService_echoString'>
+ <part element='ns1:echoString' name='echoString'/>
+ </message>
+ <message name='JaxRpcTestService_echoStringResponse'>
+ <part element='ns1:echoStringResponse' name='echoStringResponse'/>
+ </message>
+ <portType name='JaxRpcTestService'>
+ <operation name='echoSimpleUserType' parameterOrder='echoSimpleUserType'>
+ <input message='tns:JaxRpcTestService_echoSimpleUserType'/>
+ <output message='tns:JaxRpcTestService_echoSimpleUserTypeResponse'/>
+ </operation>
+ <operation name='echoString' parameterOrder='echoString'>
+ <input message='tns:JaxRpcTestService_echoString'/>
+ <output message='tns:JaxRpcTestService_echoStringResponse'/>
+ </operation>
+ </portType>
+ <binding name='JaxRpcTestServiceBinding' type='tns:JaxRpcTestService'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='echoSimpleUserType'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoString'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestService'>
+ <port binding='tns:JaxRpcTestServiceBinding' name='JaxRpcTestServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="TestService" style="document" endpoint="org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService"/>
+ <namespaces target-namespace="http://org.jboss.ws/samples/jsr109ejb" type-namespace="http://org.jboss.ws/samples/jsr109ejb/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices ejb-link="TestService"/>
+ </java-wsdl>
+</configuration>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/doclit/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TestServiceEJB</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/ejb-jar.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/ejb-jar.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/ejb-jar.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<ejb-jar 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/ejb-jar_2_1.xsd"
+ version="2.1">
+
+ <enterprise-beans>
+ <session>
+ <ejb-name>TestService</ejb-name>
+ <service-endpoint>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService</service-endpoint>
+ <ejb-class>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcEJBEndpoint</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
+ </enterprise-beans>
+</ejb-jar>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/ejb-jar.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,87 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.jsr109ejb</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/jsr109ejb/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/jsr109ejb/types'>typeNS:SimpleUserType</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>a</java-variable-name>
+ <data-member/>
+ <xml-element-name>a</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>b</java-variable-name>
+ <xml-element-name>b</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.TestService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/jsr109ejb'>serviceNS:TestService</wsdl-service-name>
+ <port-mapping>
+ <port-name>JaxRpcTestServicePort</port-name>
+ <java-port-name>JaxRpcTestServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/jsr109ejb'>portTypeNS:JaxRpcTestService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/jsr109ejb'>bindingNS:JaxRpcTestServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoString</java-method-name>
+ <wsdl-operation>echoString</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109ejb'>wsdlMsgNS:JaxRpcTestService_echoString</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109ejb'>wsdlMsgNS:JaxRpcTestService_echoString</wsdl-message>
+ <wsdl-message-part-name>String_2</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109ejb'>wsdlMsgNS:JaxRpcTestService_echoStringResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoSimpleUserType</java-method-name>
+ <wsdl-operation>echoSimpleUserType</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109ejb'>wsdlMsgNS:JaxRpcTestService_echoSimpleUserType</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109ejb'>wsdlMsgNS:JaxRpcTestService_echoSimpleUserType</wsdl-message>
+ <wsdl-message-part-name>SimpleUserType_2</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.SimpleUserType</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109ejb'>wsdlMsgNS:JaxRpcTestService_echoSimpleUserTypeResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/TestServiceEJB</service-ref-name>
+ <wsdl-override>file:/dati/jbossws/stack/native/trunk/modules/testsuite/native-tests/target/wsdl-publish/jsr109ejb/TestService.wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
+
+<jboss>
+
+ <webservices>
+ <context-root>/jaxrpc-samples-jsr109ejb-rpc</context-root>
+ <webservice-description>
+ <webservice-description-name>TestService</webservice-description-name>
+ <wsdl-publish-location>file:/dati/jbossws/stack/native/trunk/modules/testsuite/native-tests/target/wsdl-publish/jsr109ejb</wsdl-publish-location>
+ </webservice-description>
+ </webservices>
+
+ <enterprise-beans>
+ <session>
+ <ejb-name>TestService</ejb-name>
+ <port-component>
+ <port-component-name>TestServicePort</port-component-name>
+ <port-component-uri>/*</port-component-uri>
+ </port-component>
+ </session>
+ </enterprise-beans>
+</jboss>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/jboss.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>TestService</webservice-description-name>
+ <wsdl-file>META-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>JaxRpcTestServicePort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/samples/jsr109ejb'>portNS:JaxRpcTestServicePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService</service-endpoint-interface>
+ <service-impl-bean>
+ <ejb-link>TestService</ejb-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/wsdl/TestService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/wsdl/TestService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/wsdl/TestService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService' targetNamespace='http://org.jboss.ws/samples/jsr109ejb' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/jsr109ejb/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/jsr109ejb' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.ws/samples/jsr109ejb/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/samples/jsr109ejb/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <complexType name='SimpleUserType'>
+ <sequence>
+ <element name='a' type='int'/>
+ <element name='b' type='int'/>
+ </sequence>
+ </complexType>
+ </schema>
+ </types>
+ <message name='JaxRpcTestService_echoSimpleUserType' xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part name='String_1' type='xsd:string'/>
+ <part name='SimpleUserType_2' type='ns1:SimpleUserType'/>
+ </message>
+ <message name='JaxRpcTestService_echoSimpleUserTypeResponse'>
+ <part name='result' type='ns1:SimpleUserType'/>
+ </message>
+ <message name='JaxRpcTestService_echoString'>
+ <part name='String_1' type='xsd:string'/>
+ <part name='String_2' type='xsd:string'/>
+ </message>
+ <message name='JaxRpcTestService_echoStringResponse'>
+ <part name='result' type='xsd:string'/>
+ </message>
+ <portType name='JaxRpcTestService'>
+ <operation name='echoSimpleUserType' parameterOrder='String_1 SimpleUserType_2'>
+ <input message='tns:JaxRpcTestService_echoSimpleUserType'/>
+ <output message='tns:JaxRpcTestService_echoSimpleUserTypeResponse'/>
+ </operation>
+ <operation name='echoString' parameterOrder='String_1 String_2'>
+ <input message='tns:JaxRpcTestService_echoString'/>
+ <output message='tns:JaxRpcTestService_echoStringResponse'/>
+ </operation>
+ </portType>
+ <binding name='JaxRpcTestServiceBinding' type='tns:JaxRpcTestService'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='echoSimpleUserType'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/jsr109ejb' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/jsr109ejb' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoString'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/jsr109ejb' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/jsr109ejb' use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestService'>
+ <port binding='tns:JaxRpcTestServiceBinding' name='JaxRpcTestServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.jsr109ejb.JaxRpcTestService"/>
+ <namespaces target-namespace="http://org.jboss.ws/samples/jsr109ejb" type-namespace="http://org.jboss.ws/samples/jsr109ejb/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices ejb-link="TestService"/>
+ </java-wsdl>
+</configuration>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109ejb/rpclit/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TestServiceJSE</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>use overwrite in jboss-client.xml</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/TestServiceJSE</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-jsr109pojo-doc?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,133 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.jsr109pojo</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/jsr109pojo/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService_echoString_RequestStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/jsr109pojo/types'>typeNS:echoString</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>string_1</java-variable-name>
+ <xml-element-name>String_1</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>string_2</java-variable-name>
+ <xml-element-name>String_2</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService_echoString_ResponseStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/jsr109pojo/types'>typeNS:echoStringResponse</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>result</java-variable-name>
+ <xml-element-name>result</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/jsr109pojo/types'>typeNS:SimpleUserType</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>a</java-variable-name>
+ <data-member/>
+ <xml-element-name>a</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>b</java-variable-name>
+ <xml-element-name>b</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService_echoSimpleUserType_RequestStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/jsr109pojo/types'>typeNS:echoSimpleUserType</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>string_1</java-variable-name>
+ <xml-element-name>String_1</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>simpleUserType_2</java-variable-name>
+ <xml-element-name>SimpleUserType_2</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService_echoSimpleUserType_ResponseStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/jsr109pojo/types'>typeNS:echoSimpleUserTypeResponse</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>result</java-variable-name>
+ <xml-element-name>result</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.TestService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/jsr109pojo'>serviceNS:TestService</wsdl-service-name>
+ <port-mapping>
+ <port-name>JaxRpcTestServicePort</port-name>
+ <java-port-name>JaxRpcTestServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/jsr109pojo'>portTypeNS:JaxRpcTestService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/jsr109pojo'>bindingNS:JaxRpcTestServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoString</java-method-name>
+ <wsdl-operation>echoString</wsdl-operation>
+ <wrapped-element/>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109pojo'>wsdlMsgNS:JaxRpcTestService_echoString</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109pojo'>wsdlMsgNS:JaxRpcTestService_echoString</wsdl-message>
+ <wsdl-message-part-name>String_2</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109pojo'>wsdlMsgNS:JaxRpcTestService_echoStringResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoSimpleUserType</java-method-name>
+ <wsdl-operation>echoSimpleUserType</wsdl-operation>
+ <wrapped-element/>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109pojo'>wsdlMsgNS:JaxRpcTestService_echoSimpleUserType</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109pojo'>wsdlMsgNS:JaxRpcTestService_echoSimpleUserType</wsdl-message>
+ <wsdl-message-part-name>SimpleUserType_2</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109pojo'>wsdlMsgNS:JaxRpcTestService_echoSimpleUserTypeResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_RequestStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_RequestStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_RequestStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,34 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:56 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.jsr109pojo;
+
+
+public class JaxRpcTestService_echoSimpleUserType_RequestStruct
+{
+
+protected java.lang.String string_1;
+
+protected org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType simpleUserType_2;
+public JaxRpcTestService_echoSimpleUserType_RequestStruct(){}
+
+public JaxRpcTestService_echoSimpleUserType_RequestStruct(java.lang.String string_1, org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType simpleUserType_2){
+this.string_1=string_1;
+this.simpleUserType_2=simpleUserType_2;
+}
+public java.lang.String getString_1() { return string_1 ;}
+
+public void setString_1(java.lang.String string_1){ this.string_1=string_1; }
+
+public org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType getSimpleUserType_2() { return simpleUserType_2 ;}
+
+public void setSimpleUserType_2(org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType simpleUserType_2){ this.simpleUserType_2=simpleUserType_2; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_RequestStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:56 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.jsr109pojo;
+
+
+public class JaxRpcTestService_echoSimpleUserType_ResponseStruct
+{
+
+protected org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType result;
+public JaxRpcTestService_echoSimpleUserType_ResponseStruct(){}
+
+public JaxRpcTestService_echoSimpleUserType_ResponseStruct(org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType result){
+this.result=result;
+}
+public org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType getResult() { return result ;}
+
+public void setResult(org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType result){ this.result=result; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoSimpleUserType_ResponseStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_RequestStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_RequestStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_RequestStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,34 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:56 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.jsr109pojo;
+
+
+public class JaxRpcTestService_echoString_RequestStruct
+{
+
+protected java.lang.String string_1;
+
+protected java.lang.String string_2;
+public JaxRpcTestService_echoString_RequestStruct(){}
+
+public JaxRpcTestService_echoString_RequestStruct(java.lang.String string_1, java.lang.String string_2){
+this.string_1=string_1;
+this.string_2=string_2;
+}
+public java.lang.String getString_1() { return string_1 ;}
+
+public void setString_1(java.lang.String string_1){ this.string_1=string_1; }
+
+public java.lang.String getString_2() { return string_2 ;}
+
+public void setString_2(java.lang.String string_2){ this.string_2=string_2; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_RequestStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_ResponseStruct.java
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_ResponseStruct.java (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_ResponseStruct.java 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,27 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Sun Feb 07 20:49:56 CET 2010
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jaxrpc.samples.jsr109pojo;
+
+
+public class JaxRpcTestService_echoString_ResponseStruct
+{
+
+protected java.lang.String result;
+public JaxRpcTestService_echoString_ResponseStruct(){}
+
+public JaxRpcTestService_echoString_ResponseStruct(java.lang.String result){
+this.result=result;
+}
+public java.lang.String getResult() { return result ;}
+
+public void setResult(java.lang.String result){ this.result=result; }
+
+}
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/org/jboss/test/ws/jaxrpc/samples/jsr109pojo/JaxRpcTestService_echoString_ResponseStruct.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>TestService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcJSEEndpoint</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>TestService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>JaxRpcTestServicePort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/samples/jsr109pojo'>portNS:JaxRpcTestServicePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>TestService</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/wsdl/TestService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/wsdl/TestService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService' targetNamespace='http://org.jboss.ws/samples/jsr109pojo' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/jsr109pojo/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/jsr109pojo' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.ws/samples/jsr109pojo/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/samples/jsr109pojo/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <complexType name='SimpleUserType'>
+ <sequence>
+ <element name='a' type='int'/>
+ <element name='b' type='int'/>
+ </sequence>
+ </complexType>
+ <complexType name='echoSimpleUserType'>
+ <sequence>
+ <element name='String_1' nillable='true' type='string'/>
+ <element name='SimpleUserType_2' nillable='true' type='tns:SimpleUserType'/>
+ </sequence>
+ </complexType>
+ <complexType name='echoSimpleUserTypeResponse'>
+ <sequence>
+ <element name='result' nillable='true' type='tns:SimpleUserType'/>
+ </sequence>
+ </complexType>
+ <complexType name='echoString'>
+ <sequence>
+ <element name='String_1' nillable='true' type='string'/>
+ <element name='String_2' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <complexType name='echoStringResponse'>
+ <sequence>
+ <element name='result' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <element name='echoSimpleUserType' type='tns:echoSimpleUserType'/>
+ <element name='echoSimpleUserTypeResponse' type='tns:echoSimpleUserTypeResponse'/>
+ <element name='echoString' type='tns:echoString'/>
+ <element name='echoStringResponse' type='tns:echoStringResponse'/>
+ </schema>
+ </types>
+ <message name='JaxRpcTestService_echoSimpleUserType' xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part element='ns1:echoSimpleUserType' name='echoSimpleUserType'/>
+ </message>
+ <message name='JaxRpcTestService_echoSimpleUserTypeResponse'>
+ <part element='ns1:echoSimpleUserTypeResponse' name='echoSimpleUserTypeResponse'/>
+ </message>
+ <message name='JaxRpcTestService_echoString'>
+ <part element='ns1:echoString' name='echoString'/>
+ </message>
+ <message name='JaxRpcTestService_echoStringResponse'>
+ <part element='ns1:echoStringResponse' name='echoStringResponse'/>
+ </message>
+ <portType name='JaxRpcTestService'>
+ <operation name='echoSimpleUserType' parameterOrder='echoSimpleUserType'>
+ <input message='tns:JaxRpcTestService_echoSimpleUserType'/>
+ <output message='tns:JaxRpcTestService_echoSimpleUserTypeResponse'/>
+ </operation>
+ <operation name='echoString' parameterOrder='echoString'>
+ <input message='tns:JaxRpcTestService_echoString'/>
+ <output message='tns:JaxRpcTestService_echoStringResponse'/>
+ </operation>
+ </portType>
+ <binding name='JaxRpcTestServiceBinding' type='tns:JaxRpcTestService'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='echoSimpleUserType'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoString'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestService'>
+ <port binding='tns:JaxRpcTestServiceBinding' name='JaxRpcTestServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="TestService" style="document" endpoint="org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService"/>
+ <namespaces target-namespace="http://org.jboss.ws/samples/jsr109pojo" type-namespace="http://org.jboss.ws/samples/jsr109pojo/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestService"/>
+ </java-wsdl>
+</configuration>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/doclit/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TestServiceJSE</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/TestServiceJSE</service-ref-name>
+ <wsdl-override>file:/dati/jbossws/stack/native/trunk/modules/testsuite/native-tests/target/wsdl-publish/jsr109pojo/TestService.wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,87 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.jsr109pojo</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/jsr109pojo/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/jsr109pojo/types'>typeNS:SimpleUserType</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>a</java-variable-name>
+ <data-member/>
+ <xml-element-name>a</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>b</java-variable-name>
+ <xml-element-name>b</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.TestService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/jsr109pojo'>serviceNS:TestService</wsdl-service-name>
+ <port-mapping>
+ <port-name>JaxRpcTestServicePort</port-name>
+ <java-port-name>JaxRpcTestServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/jsr109pojo'>portTypeNS:JaxRpcTestService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/jsr109pojo'>bindingNS:JaxRpcTestServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoString</java-method-name>
+ <wsdl-operation>echoString</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109pojo'>wsdlMsgNS:JaxRpcTestService_echoString</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109pojo'>wsdlMsgNS:JaxRpcTestService_echoString</wsdl-message>
+ <wsdl-message-part-name>String_2</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109pojo'>wsdlMsgNS:JaxRpcTestService_echoStringResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoSimpleUserType</java-method-name>
+ <wsdl-operation>echoSimpleUserType</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109pojo'>wsdlMsgNS:JaxRpcTestService_echoSimpleUserType</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109pojo'>wsdlMsgNS:JaxRpcTestService_echoSimpleUserType</wsdl-message>
+ <wsdl-message-part-name>SimpleUserType_2</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.SimpleUserType</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/jsr109pojo'>wsdlMsgNS:JaxRpcTestService_echoSimpleUserTypeResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/jboss-web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/jboss-web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/jboss-web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+
+ <webservice-description>
+ <webservice-description-name>TestService</webservice-description-name>
+ <wsdl-publish-location>file:/dati/jbossws/stack/native/trunk/modules/testsuite/native-tests/target/wsdl-publish/jsr109pojo</wsdl-publish-location>
+ </webservice-description>
+
+</jboss-web>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>TestService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcJSEEndpoint</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>TestService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>JaxRpcTestServicePort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/samples/jsr109pojo'>portNS:JaxRpcTestServicePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>TestService</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/wsdl/TestService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/wsdl/TestService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService' targetNamespace='http://org.jboss.ws/samples/jsr109pojo' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/jsr109pojo/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/jsr109pojo' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.ws/samples/jsr109pojo/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/samples/jsr109pojo/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <complexType name='SimpleUserType'>
+ <sequence>
+ <element name='a' type='int'/>
+ <element name='b' type='int'/>
+ </sequence>
+ </complexType>
+ </schema>
+ </types>
+ <message name='JaxRpcTestService_echoSimpleUserType' xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part name='String_1' type='xsd:string'/>
+ <part name='SimpleUserType_2' type='ns1:SimpleUserType'/>
+ </message>
+ <message name='JaxRpcTestService_echoSimpleUserTypeResponse'>
+ <part name='result' type='ns1:SimpleUserType'/>
+ </message>
+ <message name='JaxRpcTestService_echoString'>
+ <part name='String_1' type='xsd:string'/>
+ <part name='String_2' type='xsd:string'/>
+ </message>
+ <message name='JaxRpcTestService_echoStringResponse'>
+ <part name='result' type='xsd:string'/>
+ </message>
+ <portType name='JaxRpcTestService'>
+ <operation name='echoSimpleUserType' parameterOrder='String_1 SimpleUserType_2'>
+ <input message='tns:JaxRpcTestService_echoSimpleUserType'/>
+ <output message='tns:JaxRpcTestService_echoSimpleUserTypeResponse'/>
+ </operation>
+ <operation name='echoString' parameterOrder='String_1 String_2'>
+ <input message='tns:JaxRpcTestService_echoString'/>
+ <output message='tns:JaxRpcTestService_echoStringResponse'/>
+ </operation>
+ </portType>
+ <binding name='JaxRpcTestServiceBinding' type='tns:JaxRpcTestService'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='echoSimpleUserType'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/jsr109pojo' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/jsr109pojo' use='literal'/>
+ </output>
+ </operation>
+ <operation name='echoString'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/jsr109pojo' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/jsr109pojo' use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestService'>
+ <port binding='tns:JaxRpcTestServiceBinding' name='JaxRpcTestServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.jsr109pojo.JaxRpcTestService"/>
+ <namespaces target-namespace="http://org.jboss.ws/samples/jsr109pojo" type-namespace="http://org.jboss.ws/samples/jsr109pojo/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestService"/>
+ </java-wsdl>
+</configuration>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/jsr109pojo/rpclit/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:impl="http://org.jboss.test.webservice/message"
+ 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>Test web service</display-name>
+
+ <service-ref>
+ <service-ref-name>service/MessageService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/MessageService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.message.MessageTestService</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/MessageService</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-message?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.message</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/message/types</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.message.MessageService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/message'>serviceNS:MessageService</wsdl-service-name>
+ <port-mapping>
+ <port-name>MessageTestServicePort</port-name>
+ <java-port-name>MessageTestServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.message.MessageTestService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/message'>portTypeNS:MessageTestService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/message'>bindingNS:MessageTestServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>processElement</java-method-name>
+ <wsdl-operation>processElement</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>javax.xml.soap.SOAPElement</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/message'>wsdlMsgNS:MessageTestService_processElement</wsdl-message>
+ <wsdl-message-part-name>Order</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>javax.xml.soap.SOAPElement</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/message'>wsdlMsgNS:MessageTestService_processElementResponse</wsdl-message>
+ <wsdl-message-part-name>Response</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,16 @@
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>TestService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.message.MessageTestServiceBean</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>MessageService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/MessageService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>MessageTestServicePort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/samples/message'>portNS:MessageTestServicePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.message.MessageTestService</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>TestService</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/wsdl/MessageService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/wsdl/MessageService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/wsdl/MessageService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='MessageService' targetNamespace='http://org.jboss.ws/samples/message' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/message/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/message' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.ws/samples/message/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/samples/message/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <element name='Order' type='anyType'/>
+ <element name='Response' type='anyType'/>
+ </schema>
+ </types>
+ <message name='MessageTestService_processElement' xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part element='ns1:Order' name='Order'/>
+ </message>
+ <message name='MessageTestService_processElementResponse'>
+ <part element='ns1:Response' name='Response'/>
+ </message>
+ <portType name='MessageTestService'>
+ <operation name='processElement' parameterOrder='Order'>
+ <input message='tns:MessageTestService_processElement'/>
+ <output message='tns:MessageTestService_processElementResponse'/>
+ </operation>
+ </portType>
+ <binding name='MessageTestServiceBinding' type='tns:MessageTestService'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='processElement'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='MessageService'>
+ <port binding='tns:MessageTestServiceBinding' name='MessageTestServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/WEB-INF/wsdl/MessageService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="MessageService" style="document" parameter-style="bare" endpoint="org.jboss.test.ws.jaxrpc.samples.message.MessageTestService">
+ <operation name="processElement" return-xml-name="Response">
+ <parameter type="javax.xml.soap.SOAPElement" xml-name="Order"/>
+ </operation>
+ </service>
+ <namespaces target-namespace="http://org.jboss.ws/samples/message" type-namespace="http://org.jboss.ws/samples/message/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestService"/>
+ </java-wsdl>
+</configuration>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/message/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>web service attachment client</display-name>
+
+ <service-ref>
+ <service-ref-name>service/XOPTestService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/EmployeeService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.mtom.EmployeeRecords</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC
+ "-//JBoss//DTD Application Client 4.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/XOPTestService</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-mtom?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
+
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.mtom</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/mtom</namespaceURI>
+ </package-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.mtom.Employee</java-type>
+ <anonymous-type-qname xmlns:typeNS='http://org.jboss.ws/samples/mtom'>typeNS:>Employee</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>firstname</java-variable-name>
+ <xml-element-name>firstname</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>lastname</java-variable-name>
+ <xml-element-name>lastname</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>legacyData</java-variable-name>
+ <xml-element-name>legacyData</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.mtom.Status</java-type>
+ <anonymous-type-qname xmlns:typeNS='http://org.jboss.ws/samples/mtom'>typeNS:>Status</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>code</java-variable-name>
+ <xml-element-name>code</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.mtom.Query</java-type>
+ <anonymous-type-qname xmlns:typeNS='http://org.jboss.ws/samples/mtom'>typeNS:>Query</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>firstname</java-variable-name>
+ <xml-element-name>firstname</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>lastname</java-variable-name>
+ <xml-element-name>lastname</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.mtom.HRService</service-interface>
+ <wsdl-service-name xmlns:serviceNS="http://org.jboss.ws/samples/mtom">serviceNS:EmployeeService</wsdl-service-name>
+ <port-mapping>
+ <port-name>EmployeeRecordsPort</port-name>
+ <java-port-name>EmployeeRecordsPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.mtom.EmployeeRecords</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS="http://org.jboss.ws/samples/mtom">portTypeNS:EmployeeRecords</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS="http://org.jboss.ws/samples/mtom">bindingNS:EmployeeRecordsBinding</wsdl-binding>
+
+ <service-endpoint-method-mapping>
+ <java-method-name>updateEmployee</java-method-name>
+ <wsdl-operation>updateEmployee</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.jaxrpc.samples.mtom.Employee</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/mtom">wsdlMsgNS:UpdateRequest</wsdl-message>
+ <wsdl-message-part-name>parameters</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.test.ws.jaxrpc.samples.mtom.Status</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/mtom">wsdlMsgNS:UpdateResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+
+ <service-endpoint-method-mapping>
+ <java-method-name>queryEmployee</java-method-name>
+ <wsdl-operation>queryEmployee</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.jaxrpc.samples.mtom.Query</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/mtom">wsdlMsgNS:QueryRequest</wsdl-message>
+ <wsdl-message-part-name>parameters</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.test.ws.jaxrpc.samples.mtom.Employee</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/mtom">wsdlMsgNS:QueryResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+
+ </service-endpoint-interface-mapping>
+
+
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <context-param>
+ <param-name>jbossws-config-name</param-name>
+ <param-value>Standard MTOM Endpoint</param-value>
+ </context-param>
+
+
+ <servlet>
+ <servlet-name>EmployeeEndpoint</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.mtom.EmployeeRecordsImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>EmployeeEndpoint</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:impl="http://org.jboss.ws/samples/mtom"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
+ version="1.1">
+
+ <webservice-description>
+ <webservice-description-name>XOPTestService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/EmployeeService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>EmployeeRecordsPort</port-component-name>
+ <wsdl-port>impl:EmployeeRecordsPort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.mtom.EmployeeRecords</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>EmployeeEndpoint</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/wsdl/EmployeeService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/wsdl/EmployeeService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/wsdl/EmployeeService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<definitions name="XOPTest" targetNamespace="http://org.jboss.ws/samples/mtom"
+ xmlns:tns="http://org.jboss.ws/samples/mtom"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+
+ <types>
+ <schema xmlns="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://org.jboss.ws/samples/mtom"
+ xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
+
+ <import schemaLocation="http://www.w3.org/2005/05/xmlmime" namespace="http://www.w3.org/2005/05/xmlmime"/>
+
+ <element name="Employee">
+ <complexType>
+ <sequence>
+ <element name="firstname" type="xsd:string"/>
+ <element name="lastname" type="xsd:string"/>
+ <element name="legacyData" xmime:expectedContentTypes="text/xml" type="xmime:base64Binary"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="Status">
+ <complexType>
+ <sequence>
+ <element name="code" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+
+ <element name="Query">
+ <complexType>
+ <sequence>
+ <element name="firstname" type="xsd:string"/>
+ <element name="lastname" type="xsd:string"/>
+ </sequence>
+ </complexType>
+ </element>
+ </schema>
+ </types>
+
+ <message name="UpdateRequest">
+ <part name="parameters" element="tns:Employee"/>
+ </message>
+
+ <message name="UpdateResponse">
+ <part name="result" element="tns:Status"/>
+ </message>
+
+ <message name="QueryRequest">
+ <part name="parameters" element="tns:Query"/>
+ </message>
+
+ <message name="QueryResponse">
+ <part name="result" element="tns:Employee"/>
+ </message>
+
+ <portType name="EmployeeRecords">
+ <operation name="updateEmployee">
+ <input message="tns:UpdateRequest"/>
+ <output message="tns:UpdateResponse"/>
+ </operation>
+ <operation name="queryEmployee">
+ <input message="tns:QueryRequest"/>
+ <output message="tns:QueryResponse"/>
+ </operation>
+ </portType>
+
+ <binding name="EmployeeRecordsBinding" type="tns:EmployeeRecords">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+ <operation name="updateEmployee">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://org.jboss.ws/samples/mtom"/>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/samples/mtom"/>
+ </output>
+ </operation>
+ <operation name="queryEmployee">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://org.jboss.ws/samples/mtom"/>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/samples/mtom"/>
+ </output>
+ </operation>
+ </binding>
+
+ <service name="EmployeeService">
+ <port name="EmployeeRecordsPort" binding="tns:EmployeeRecordsBinding">
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+ </port>
+ </service>
+</definitions>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/WEB-INF/wsdl/EmployeeService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.mtom.EmployeeRecords">
+ <operation>
+ <name>sendMimeImageGIF</name>
+ <parameter>
+ <java-type>java.lang.String</java-type>
+ </parameter>
+ <parameter>
+ <java-type>java.lang.Object</java-type>
+ <xml-name>mimepart</xml-name>
+ <mime-type>image/gif</mime-type>
+ </parameter>
+ </operation>
+ <operation>
+ <name>sendMimeImageJPEG</name>
+ <parameter>
+ <java-type>java.lang.String</java-type>
+ </parameter>
+ <parameter>
+ <java-type>java.lang.Object</java-type>
+ <xml-name>mimepart</xml-name>
+ <mime-type>image/jpeg</mime-type>
+ </parameter>
+ </operation>
+ <operation>
+ <name>sendMimeTextPlain</name>
+ <parameter>
+ <java-type>java.lang.String</java-type>
+ </parameter>
+ <parameter>
+ <java-type>java.lang.Object</java-type>
+ <xml-name>mimepart</xml-name>
+ <mime-type>text/plain</mime-type>
+ </parameter>
+ </operation>
+ <operation>
+ <name>sendMimeMultipart</name>
+ <parameter>
+ <java-type>java.lang.String</java-type>
+ </parameter>
+ <parameter>
+ <java-type>java.lang.Object</java-type>
+ <xml-name>mimepart</xml-name>
+ <mime-type>multipart</mime-type>
+ </parameter>
+ </operation>
+ <operation>
+ <name>sendMimeTextXML</name>
+ <parameter>
+ <java-type>java.lang.String</java-type>
+ </parameter>
+ <parameter>
+ <java-type>java.lang.Object</java-type>
+ <xml-name>mimepart</xml-name>
+ <mime-type>text/xml</mime-type>
+ </parameter>
+ </operation>
+ <operation>
+ <name>sendMimeApplicationXML</name>
+ <parameter>
+ <java-type>java.lang.String</java-type>
+ </parameter>
+ <parameter>
+ <java-type>java.lang.Object</java-type>
+ <xml-name>mimepart</xml-name>
+ <mime-type>application/xml</mime-type>
+ </parameter>
+ </operation>
+ </service>
+ <namespaces target-namespace="http://org.jboss.ws/samples/mtom" type-namespace="http://org.jboss.ws/samples/mtom/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestService"/>
+ </java-wsdl>
+</configuration>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/mtom/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TestService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>use overwrite in jboss-client.xml</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.oneway.OneWayTestService</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/TestService</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-oneway?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,45 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.oneway</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/one-way=/types</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.oneway.TestService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/oneway'>serviceNS:TestService</wsdl-service-name>
+ <port-mapping>
+ <port-name>OneWayTestServicePort</port-name>
+ <java-port-name>OneWayTestServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.oneway.OneWayTestService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/oneway'>portTypeNS:OneWayTestService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/oneway'>bindingNS:OneWayTestServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>oneWay</java-method-name>
+ <wsdl-operation>oneWay</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/oneway'>wsdlMsgNS:OneWayTestService_oneWay</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>noOneWay</java-method-name>
+ <wsdl-operation>noOneWay</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/oneway'>wsdlMsgNS:OneWayTestService_noOneWay</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>TestService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.oneway.OneWayServiceBean</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>TestService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>OneWayTestServicePort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/samples/oneway'>portNS:OneWayTestServicePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.oneway.OneWayTestService</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>TestService</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/wsdl/TestService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/wsdl/TestService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/wsdl/TestService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService' targetNamespace='http://org.jboss.ws/samples/oneway' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/one-way=/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/oneway' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types/>
+ <message name='OneWayTestService_noOneWay'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <message name='OneWayTestService_noOneWayResponse'/>
+ <message name='OneWayTestService_oneWay'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <portType name='OneWayTestService'>
+ <operation name='noOneWay' parameterOrder='String_1'>
+ <input message='tns:OneWayTestService_noOneWay'/>
+ <output message='tns:OneWayTestService_noOneWayResponse'/>
+ </operation>
+ <operation name='oneWay'>
+ <input message='tns:OneWayTestService_oneWay'/>
+ </operation>
+ </portType>
+ <binding name='OneWayTestServiceBinding' type='tns:OneWayTestService'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='noOneWay'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/oneway' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/oneway' use='literal'/>
+ </output>
+ </operation>
+ <operation name='oneWay'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/oneway' use='literal'/>
+ </input>
+ </operation>
+ </binding>
+ <service name='TestService'>
+ <port binding='tns:OneWayTestServiceBinding' name='OneWayTestServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/WEB-INF/wsdl/TestService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.oneway.OneWayTestService">
+ <operation name="oneWay" one-way="true">
+ <parameter type="java.lang.String"/>
+ </operation>
+ </service>
+ <namespaces target-namespace="http://org.jboss.ws/samples/oneway" type-namespace="http://org.jboss.ws/samples/one-way=/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestService"/>
+ </java-wsdl>
+</configuration>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/oneway/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/TrivialService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/SampleService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.rpcstyle.TrivialService</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/TrivialService</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-rpcstyle?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,46 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.rpcstyle</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/rpcstyle/types</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.rpcstyle.SampleService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/rpcstyle'>serviceNS:SampleService</wsdl-service-name>
+ <port-mapping>
+ <port-name>TrivialServicePort</port-name>
+ <java-port-name>TrivialServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.rpcstyle.TrivialService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/rpcstyle'>portTypeNS:TrivialService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/rpcstyle'>bindingNS:TrivialServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>purchase</java-method-name>
+ <wsdl-operation>purchase</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/rpcstyle'>wsdlMsgNS:TrivialService_purchase</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/rpcstyle'>wsdlMsgNS:TrivialService_purchase</wsdl-message>
+ <wsdl-message-part-name>String_2</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/rpcstyle'>wsdlMsgNS:TrivialService_purchaseResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>TrivialEndpoint</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.rpcstyle.TrivialEndpointJSE</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TrivialEndpoint</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>SampleService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/SampleService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>TrivialServicePort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/samples/rpcstyle'>portNS:TrivialServicePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.rpcstyle.TrivialService</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>TrivialEndpoint</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/wsdl/SampleService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/wsdl/SampleService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/wsdl/SampleService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='SampleService' targetNamespace='http://org.jboss.ws/samples/rpcstyle' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/rpcstyle/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/rpcstyle' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types/>
+ <message name='TrivialService_purchase'>
+ <part name='String_1' type='xsd:string'/>
+ <part name='String_2' type='xsd:string'/>
+ </message>
+ <message name='TrivialService_purchaseResponse'>
+ <part name='result' type='xsd:string'/>
+ </message>
+ <portType name='TrivialService'>
+ <operation name='purchase' parameterOrder='String_1 String_2'>
+ <input message='tns:TrivialService_purchase'/>
+ <output message='tns:TrivialService_purchaseResponse'/>
+ </operation>
+ </portType>
+ <binding name='TrivialServiceBinding' type='tns:TrivialService'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='purchase'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/rpcstyle' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/rpcstyle' use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='SampleService'>
+ <port binding='tns:TrivialServiceBinding' name='TrivialServicePort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/WEB-INF/wsdl/SampleService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+
+ <java-wsdl>
+ <service name="SampleService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.rpcstyle.TrivialService"/>
+ <namespaces target-namespace="http://org.jboss.ws/samples/rpcstyle" type-namespace="http://org.jboss.ws/samples/rpcstyle/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TrivialEndpoint"/>
+ </java-wsdl>
+
+</configuration>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/rpcstyle/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>webservice client app</display-name>
+
+ <service-ref>
+ <service-ref-name>service/BasicSecured</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/OrganizationService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ </service-ref>
+ <service-ref>
+ <service-ref-name>service/RoleSecured</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/OrganizationService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ </service-ref>
+ <service-ref>
+ <service-ref-name>service/ConfidentialSecured</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/OrganizationService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ </service-ref>
+
+</application-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/ejb-jar.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/ejb-jar.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/ejb-jar.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<ejb-jar 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/ejb-jar_2_1.xsd"
+ version="2.1">
+
+ <enterprise-beans>
+ <session>
+ <ejb-name>RoleSecuredSLSB</ejb-name>
+ <home>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationHome</home>
+ <remote>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationRemote</remote>
+ <service-endpoint>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationService</service-endpoint>
+ <ejb-class>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationImpl</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ <security-role-ref>
+ <role-name>friend</role-name>
+ </security-role-ref>
+ </session>
+ <session>
+ <ejb-name>BasicSecuredSLSB</ejb-name>
+ <home>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationHome</home>
+ <remote>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationRemote</remote>
+ <service-endpoint>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationService</service-endpoint>
+ <ejb-class>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationImpl</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
+ <session>
+ <ejb-name>ConfidentialSLSB</ejb-name>
+ <home>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationHome</home>
+ <remote>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationRemote</remote>
+ <service-endpoint>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationService</service-endpoint>
+ <ejb-class>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationImpl</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
+ </enterprise-beans>
+
+ <assembly-descriptor>
+ <security-role>
+ <role-name>friend</role-name>
+ </security-role>
+ <method-permission>
+ <role-name>friend</role-name>
+ <method>
+ <ejb-name>RoleSecuredSLSB</ejb-name>
+ <method-name>*</method-name>
+ </method>
+ </method-permission>
+ <method-permission>
+ <unchecked/>
+ <method>
+ <ejb-name>BasicSecuredSLSB</ejb-name>
+ <method-name>*</method-name>
+ </method>
+ </method-permission>
+ <method-permission>
+ <unchecked/>
+ <method>
+ <ejb-name>ConfidentialSLSB</ejb-name>
+ <method-name>*</method-name>
+ </method>
+ </method-permission>
+ </assembly-descriptor>
+
+</ejb-jar>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/ejb-jar.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.secureejb</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/secureejb/types</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/secureejb'>serviceNS:OrganizationService</wsdl-service-name>
+ <port-mapping>
+ <port-name>OrganizationServicePort</port-name>
+ <java-port-name>OrganizationServicePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationService</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/secureejb'>portTypeNS:OrganizationService</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/secureejb'>bindingNS:OrganizationServiceBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>getContactInfo</java-method-name>
+ <wsdl-operation>getContactInfo</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/secureejb'>wsdlMsgNS:OrganizationService_getContactInfo</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/secureejb'>wsdlMsgNS:OrganizationService_getContactInfoResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jboss.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jboss.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jboss.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.2//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_2.dtd">
+
+<jboss>
+
+ <security-domain>java:/jaas/JBossWS</security-domain>
+
+ <webservices>
+ <context-root>/jaxrpc-samples-ejb</context-root>
+ </webservices>
+
+ <enterprise-beans>
+ <session>
+ <ejb-name>RoleSecuredSLSB</ejb-name>
+ <jndi-name>ejb/RoleSecuredSLSB</jndi-name>
+ <port-component>
+ <port-component-name>RoleSecured</port-component-name>
+ <port-component-uri>/RoleSecured</port-component-uri>
+ <auth-method>BASIC</auth-method>
+ <transport-guarantee>NONE</transport-guarantee>
+ </port-component>
+ </session>
+ <session>
+ <ejb-name>BasicSecuredSLSB</ejb-name>
+ <jndi-name>ejb/BasicSecuredSLSB</jndi-name>
+ <port-component>
+ <port-component-name>BasicSecured</port-component-name>
+ <port-component-uri>/BasicSecured</port-component-uri>
+ <auth-method>BASIC</auth-method>
+ <transport-guarantee>NONE</transport-guarantee>
+ </port-component>
+ </session>
+ <session>
+ <ejb-name>ConfidentialSLSB</ejb-name>
+ <jndi-name>ejb/ConfidentialSLSB</jndi-name>
+ <port-component>
+ <port-component-name>ConfidentialSecured</port-component-name>
+ <port-component-uri>/ConfidentialSecured</port-component-uri>
+ <transport-guarantee>CONFIDENTIAL</transport-guarantee>
+ </port-component>
+ </session>
+ </enterprise-beans>
+</jboss>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/jboss.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:impl="http://org.jboss.ws/samples/secureejb"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
+ version="1.1">
+
+ <webservice-description>
+ <webservice-description-name>OrganizationServiceEJB</webservice-description-name>
+ <wsdl-file>META-INF/wsdl/OrganizationService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>RoleSecured</port-component-name>
+ <wsdl-port>impl:RoleSecuredPort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationService</service-endpoint-interface>
+ <service-impl-bean>
+ <ejb-link>RoleSecuredSLSB</ejb-link>
+ </service-impl-bean>
+ </port-component>
+ <port-component>
+ <port-component-name>BasicSecured</port-component-name>
+ <wsdl-port>impl:BasicSecuredPort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationService</service-endpoint-interface>
+ <service-impl-bean>
+ <ejb-link>BasicSecuredSLSB</ejb-link>
+ </service-impl-bean>
+ </port-component>
+ <port-component>
+ <port-component-name>ConfidentialSecured</port-component-name>
+ <wsdl-port>impl:ConfidentialPort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationService</service-endpoint-interface>
+ <service-impl-bean>
+ <ejb-link>ConfidentialSLSB</ejb-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/wsdl/OrganizationService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/wsdl/OrganizationService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/wsdl/OrganizationService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='OrganizationService' targetNamespace='http://org.jboss.ws/samples/secureejb' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/secureejb' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types/>
+ <message name='OrganizationService_getContactInfo'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <message name='OrganizationService_getContactInfoResponse'>
+ <part name='result' type='xsd:string'/>
+ </message>
+ <portType name='OrganizationService'>
+ <operation name='getContactInfo' parameterOrder='String_1'>
+ <input message='tns:OrganizationService_getContactInfo'/>
+ <output message='tns:OrganizationService_getContactInfoResponse'/>
+ </operation>
+ </portType>
+ <binding name='OrganizationServiceBinding' type='tns:OrganizationService'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='getContactInfo'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/secureejb' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/secureejb' use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name="OrganizationService">
+ <port name="BasicSecuredPort" binding="tns:OrganizationServiceBinding">
+ <soap:address location="http://localhost:8080/jaxrpc-samples-ejb/BasicSecured"/>
+ </port>
+ <port name="RoleSecuredPort" binding="tns:OrganizationServiceBinding">
+ <soap:address location="http://localhost:8080/jaxrpc-samples-ejb/RoleSecured"/>
+ </port>
+ <port name="ConfidentialPort" binding="tns:OrganizationServiceBinding">
+ <soap:address location="https://localhost:8443/jaxrpc-samples-ejb/ConfidentialSecured"/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/META-INF/wsdl/OrganizationService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+
+ <java-wsdl>
+ <service name="OrganizationService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.secureejb.OrganizationService"/>
+ <namespaces target-namespace="http://org.jboss.ws/samples/secureejb" type-namespace="http://org.jboss.ws/samples/secureejb/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ </java-wsdl>
+
+</configuration>
+
+<!--
+ <service name="OrganizationService">
+ <port name="BasicSecuredPort" binding="tns:OrganizationServiceBinding">
+ <soap:address location="http://localhost:8080/jaxrpc-samples-ejb/BasicSecured"/>
+ </port>
+ <port name="RoleSecuredPort" binding="tns:OrganizationServiceBinding">
+ <soap:address location="http://localhost:8080/jaxrpc-samples-ejb/RoleSecured"/>
+ </port>
+ </service>
+-->
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/secureejb/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service1</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+ <service-ref>
+ <service-ref-name>service2</service-ref-name>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpointService</service-interface>
+ <wsdl-file>META-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/ejb-jar.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/ejb-jar.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/ejb-jar.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<ejb-jar 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/ejb-jar_2_1.xsd"
+ version="2.1">
+
+ <enterprise-beans>
+ <session>
+ <ejb-name>EJBClient</ejb-name>
+ <home>org.jboss.test.ws.jaxrpc.samples.serviceref.EJBRemoteHome</home>
+ <remote>org.jboss.test.ws.jaxrpc.samples.serviceref.EJBRemote</remote>
+ <ejb-class>org.jboss.test.ws.jaxrpc.samples.serviceref.EJBClient</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+
+ <service-ref>
+ <service-ref-name>service1</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+ <service-ref>
+ <service-ref-name>service2</service-ref-name>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpointService</service-interface>
+ <wsdl-file>META-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+ </session>
+ </enterprise-beans>
+
+</ejb-jar>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/ejb-jar.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.serviceref</package-type>
+ <namespaceURI>http://org.jboss.ws/wsref/types</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpointService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/wsref'>serviceNS:TestEndpointService</wsdl-service-name>
+ <port-mapping>
+ <port-name>TestEndpointPort</port-name>
+ <java-port-name>TestEndpointPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/wsref'>portTypeNS:TestEndpoint</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/wsref'>bindingNS:TestEndpointBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>echo</java-method-name>
+ <wsdl-operation>echo</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/wsref'>wsdlMsgNS:TestEndpoint_echo</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/wsref'>wsdlMsgNS:TestEndpoint_echoResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestEndpointService' targetNamespace='http://org.jboss.ws/wsref' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/wsref' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types/>
+ <message name='TestEndpoint_echo'>
+ <part name='String_1' type='xsd:string'/>
+ </message>
+ <message name='TestEndpoint_echoResponse'>
+ <part name='result' type='xsd:string'/>
+ </message>
+ <portType name='TestEndpoint'>
+ <operation name='echo' parameterOrder='String_1'>
+ <input message='tns:TestEndpoint_echo'/>
+ <output message='tns:TestEndpoint_echoResponse'/>
+ </operation>
+ </portType>
+ <binding name='TestEndpointBinding' type='tns:TestEndpoint'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='echo'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/wsref' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/wsref' use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='TestEndpointService'>
+ <port binding='tns:TestEndpointBinding' name='TestEndpointPort'>
+ <soap:address location='http://localhost:8080/jaxrpc-samples-serviceref'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/META-INF/wsdl/TestEndpoint.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<?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.jaxrpc.samples.serviceref.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: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:impl='http://org.jboss.ws/wsref' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>TestEndpointService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>TestEndpointPort</port-component-name>
+ <wsdl-port>impl:TestEndpointPort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>TestEndpoint</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/servlet-client/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/servlet-client/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/servlet-client/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,42 @@
+<?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>ServletClient</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.serviceref.ServletClient</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>ServletClient</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+ <service-ref>
+ <service-ref-name>service1</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>WEB-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
+ </port-component-ref>
+ <handler>
+ <handler-name>Handler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.samples.serviceref.ExampleHandler</handler-class>
+ <!--soap-header xmlns:soap-header_ns__="http://extra-header.org">soap-header_ns__:extra-header</soap-header>
+ <soap-role>extra-header-actor</soap-role-->
+ </handler>
+ </service-ref>
+
+ <service-ref>
+ <service-ref-name>service2</service-ref-name>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpointService</service-interface>
+ <wsdl-file>WEB-INF/wsdl/TestEndpoint.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</web-app>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/servlet-client/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-java-wsdl.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-java-wsdl.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-java-wsdl.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../../../output/classes -config wstools-java-wsdl.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+
+ <global>
+ <package-namespace package="org.jboss.test.ws.jaxrpc.samples.serviceref" namespace="http://org.jboss.ws/wsref"/>
+ </global>
+
+ <java-wsdl>
+ <service name="TestEndpointService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.serviceref.TestEndpoint"/>
+ <namespaces target-namespace="http://org.jboss.ws/wsref" type-namespace="http://org.jboss.ws/wsref/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestEndpoint"/>
+ </java-wsdl>
+
+</configuration>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-java-wsdl.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-wsdl-java.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-wsdl-java.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-wsdl-java.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -config wstools-wsdl-java.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+
+ <global>
+ <package-namespace package="org.jboss.test.ws.jaxrpc.samples.serviceref" namespace="http://org.jboss.ws/wsref"/>
+ </global>
+
+ <wsdl-java location="META-INF/wsdl/TestEndpoint.wsdl">
+ <mapping file="jaxrpc-mapping.xml"/>
+ </wsdl-java>
+
+</configuration>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/serviceref/wstools-wsdl-java.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>web service attachment client</display-name>
+
+ <service-ref>
+ <service-ref-name>service/AttachmentService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/Attachment.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.swa.Attachment</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/AttachmentService</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-swa?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<java-wsdl-mapping version="1.1" 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.swa</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/swa</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.swa.Attachment_Service</service-interface>
+ <wsdl-service-name xmlns:serviceNS="http://org.jboss.ws/samples/swa">serviceNS:Attachment</wsdl-service-name>
+ <port-mapping>
+ <port-name>AttachmentPort</port-name>
+ <java-port-name>AttachmentPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.swa.Attachment</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS="http://org.jboss.ws/samples/swa">portTypeNS:Attachment</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS="http://org.jboss.ws/samples/swa">bindingNS:AttachmentBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>sendMimeImageGIF</java-method-name>
+ <wsdl-operation>sendMimeImageGIF</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeImageGIF</wsdl-message>
+ <wsdl-message-part-name>message</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>java.awt.Image</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeImageGIF</wsdl-message>
+ <wsdl-message-part-name>mimepart</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeImageGIFResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>sendMimeImageJPEG</java-method-name>
+ <wsdl-operation>sendMimeImageJPEG</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeImageJPEG</wsdl-message>
+ <wsdl-message-part-name>message</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>java.awt.Image</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeImageJPEG</wsdl-message>
+ <wsdl-message-part-name>mimepart</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeImageJPEGResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>sendMimeTextPlain</java-method-name>
+ <wsdl-operation>sendMimeTextPlain</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeTextPlain</wsdl-message>
+ <wsdl-message-part-name>message</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeTextPlain</wsdl-message>
+ <wsdl-message-part-name>mimepart</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeTextPlainResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>sendMimeMultipart</java-method-name>
+ <wsdl-operation>sendMimeMultipart</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeMultipart</wsdl-message>
+ <wsdl-message-part-name>message</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>javax.mail.internet.MimeMultipart</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeMultipart</wsdl-message>
+ <wsdl-message-part-name>mimepart</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeMultipartResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>sendMimeTextXML</java-method-name>
+ <wsdl-operation>sendMimeTextXML</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeTextXML</wsdl-message>
+ <wsdl-message-part-name>message</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>javax.xml.transform.Source</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeTextXML</wsdl-message>
+ <wsdl-message-part-name>mimepart</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeTextXMLResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>sendMimeApplicationXML</java-method-name>
+ <wsdl-operation>sendMimeApplicationXML</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeApplicationXML</wsdl-message>
+ <wsdl-message-part-name>message</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <method-param-parts-mapping>
+ <param-position>1</param-position>
+ <param-type>javax.xml.transform.Source</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeApplicationXML</wsdl-message>
+ <wsdl-message-part-name>mimepart</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://org.jboss.ws/samples/swa">wsdlMsgNS:Attachment_sendMimeApplicationXMLResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>AttachmentJSE</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.swa.AttachmentImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>AttachmentJSE</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:impl="http://org.jboss.ws/samples/swa"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
+ version="1.1">
+
+ <webservice-description>
+ <webservice-description-name>AttachmentService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/Attachment.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>AttachmentPort</port-component-name>
+ <wsdl-port>impl:AttachmentPort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.swa.Attachment</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>AttachmentJSE</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/wsdl/Attachment.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/wsdl/Attachment.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/wsdl/Attachment.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<definitions name="Attachment" targetNamespace="http://org.jboss.ws/samples/swa"
+ xmlns:tns="http://org.jboss.ws/samples/swa" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
+ <types/>
+
+ <message name="Attachment_sendMimeImageGIF">
+ <part name="message" type="xsd:string"/>
+ <part name="mimepart" type="xsd:hexBinary"/>
+ </message>
+ <message name="Attachment_sendMimeImageGIFResponse">
+ <part name="result" type="xsd:string"/>
+ </message>
+ <message name="Attachment_sendMimeImageJPEG">
+ <part name="message" type="xsd:string"/>
+ <part name="mimepart" type="xsd:hexBinary"/>
+ </message>
+ <message name="Attachment_sendMimeImageJPEGResponse">
+ <part name="result" type="xsd:string"/>
+ </message>
+ <message name="Attachment_sendMimeTextPlain">
+ <part name="message" type="xsd:string"/>
+ <part name="mimepart" type="xsd:hexBinary"/>
+ </message>
+ <message name="Attachment_sendMimeTextPlainResponse">
+ <part name="result" type="xsd:string"/>
+ </message>
+ <message name="Attachment_sendMimeMultipart">
+ <part name="message" type="xsd:string"/>
+ <part name="mimepart" type="xsd:hexBinary"/>
+ </message>
+ <message name="Attachment_sendMimeMultipartResponse">
+ <part name="result" type="xsd:string"/>
+ </message>
+ <message name="Attachment_sendMimeTextXML">
+ <part name="message" type="xsd:string"/>
+ <part name="mimepart" type="xsd:hexBinary"/>
+ </message>
+ <message name="Attachment_sendMimeTextXMLResponse">
+ <part name="result" type="xsd:string"/>
+ </message>
+ <message name="Attachment_sendMimeApplicationXML">
+ <part name="message" type="xsd:string"/>
+ <part name="mimepart" type="xsd:hexBinary"/>
+ </message>
+ <message name="Attachment_sendMimeApplicationXMLResponse">
+ <part name="result" type="xsd:string"/>
+ </message>
+
+ <portType name="Attachment">
+ <operation name="sendMimeImageGIF">
+ <input message="tns:Attachment_sendMimeImageGIF"/>
+ <output message="tns:Attachment_sendMimeImageGIFResponse"/>
+ </operation>
+ <operation name="sendMimeImageJPEG">
+ <input message="tns:Attachment_sendMimeImageJPEG"/>
+ <output message="tns:Attachment_sendMimeImageJPEGResponse"/>
+ </operation>
+ <operation name="sendMimeTextPlain">
+ <input message="tns:Attachment_sendMimeTextPlain"/>
+ <output message="tns:Attachment_sendMimeTextPlainResponse"/>
+ </operation>
+ <operation name="sendMimeMultipart">
+ <input message="tns:Attachment_sendMimeMultipart"/>
+ <output message="tns:Attachment_sendMimeMultipartResponse"/>
+ </operation>
+ <operation name="sendMimeTextXML">
+ <input message="tns:Attachment_sendMimeTextXML"/>
+ <output message="tns:Attachment_sendMimeTextXMLResponse"/>
+ </operation>
+ <operation name="sendMimeApplicationXML">
+ <input message="tns:Attachment_sendMimeApplicationXML"/>
+ <output message="tns:Attachment_sendMimeApplicationXMLResponse"/>
+ </operation>
+ </portType>
+
+ <binding name="AttachmentBinding" type="tns:Attachment">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
+ <operation name="sendMimeImageGIF">
+ <soap:operation soapAction=""/>
+ <input>
+ <mime:multipartRelated>
+ <mime:part>
+ <soap:body part="message" use="literal" namespace="http://org.jboss.ws/samples/swa"/>
+ </mime:part>
+ <mime:part>
+ <mime:content part="mimepart" type="image/gif"/>
+ </mime:part>
+ </mime:multipartRelated>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/samples/swa"/>
+ </output>
+ </operation>
+ <operation name="sendMimeImageJPEG">
+ <soap:operation soapAction=""/>
+ <input>
+ <mime:multipartRelated>
+ <mime:part>
+ <soap:body part="message" use="literal" namespace="http://org.jboss.ws/samples/swa"/>
+ </mime:part>
+ <mime:part>
+ <mime:content part="mimepart" type="image/jpeg"/>
+ </mime:part>
+ </mime:multipartRelated>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/samples/swa"/>
+ </output>
+ </operation>
+ <operation name="sendMimeTextPlain">
+ <soap:operation soapAction=""/>
+ <input>
+ <mime:multipartRelated>
+ <mime:part>
+ <soap:body part="message" use="literal" namespace="http://org.jboss.ws/samples/swa"/>
+ </mime:part>
+ <mime:part>
+ <mime:content part="mimepart" type="text/plain"/>
+ </mime:part>
+ </mime:multipartRelated>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/samples/swa"/>
+ </output>
+ </operation>
+ <operation name="sendMimeMultipart">
+ <soap:operation soapAction=""/>
+ <input>
+ <mime:multipartRelated>
+ <mime:part>
+ <soap:body part="message" use="literal" namespace="http://org.jboss.ws/samples/swa"/>
+ </mime:part>
+ <mime:part>
+ <mime:content part="mimepart" type="multipart/*"/>
+ </mime:part>
+ </mime:multipartRelated>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/samples/swa"/>
+ </output>
+ </operation>
+ <operation name="sendMimeTextXML">
+ <soap:operation soapAction=""/>
+ <input>
+ <mime:multipartRelated>
+ <mime:part>
+ <soap:body part="message" use="literal" namespace="http://org.jboss.ws/samples/swa"/>
+ </mime:part>
+ <mime:part>
+ <mime:content part="mimepart" type="text/xml"/>
+ </mime:part>
+ </mime:multipartRelated>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/samples/swa"/>
+ </output>
+ </operation>
+ <operation name="sendMimeApplicationXML">
+ <soap:operation soapAction=""/>
+ <input>
+ <mime:multipartRelated>
+ <mime:part>
+ <soap:body part="message" use="literal" namespace="http://org.jboss.ws/samples/swa"/>
+ </mime:part>
+ <mime:part>
+ <mime:content part="mimepart" type="application/xml"/>
+ </mime:part>
+ </mime:multipartRelated>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/samples/swa"/>
+ </output>
+ </operation>
+ </binding>
+
+ <service name="Attachment">
+ <port name="AttachmentPort" binding="tns:AttachmentBinding">
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+ </port>
+ </service>
+</definitions>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/WEB-INF/wsdl/Attachment.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.gif
===================================================================
(Binary files differ)
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.html
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.html (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.html 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,40 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<head>
+<title>Welcome to the JAXM TCK, Version 1.1</title>
+</head>
+<body bgcolor="#ffffff">
+<CENTER><h1>Your Starting Point</h1></center><hr>
+
+
+<h2>Guide to Documentation</h2>
+
+<p>The <a href="COPYRIGHT-jaxm.html">JAXM Copyright</a> provides
+ the copyright information notice for the JAXM TCK, Version 1.1.<p>
+
+<p>The <a href="ReleaseNotes-jaxm.html">JAXM ReleaseNotes</a> provide the
+ information that you need to install, set up, and run the JAXM TCK, Version 1.1.<p>
+
+<p>The <a href="JAXMJavadocAssertions.html">Javadoc Assertion List</a> lists all the javadoc assertions that are tested by the JAXM TCK.
+
+<p>The <a href="JAXMSpecAssertions.html">Specification Assertion List</a> lists all the specification assertions that are tested by the JAXM TCK.
+
+<p>Additional documentation includes the JavaTest README file, ReleaseNotes
+ file, and user's guide:
+
+<ul>
+<li><p>The <a href="JavaTest3.0/README-javatest.html">README</a> file contains
+ basic information about the JavaTest, Version 3.0.2 harness.</p></li>
+
+<li><p>The <a href="JavaTest3.0/javatest.pdf"><em>JavaTest User's Guide</em></a>,
+ in PDF format, contains information about using the test harness tool.</p></li>
+
+<li><p>The <a href="JavaTest3.0/ReleaseNotes-javatest.html">ReleaseNotes</a>
+ provide information that is not contained in the <em>JavaTest User's
+ Guide</em> manual, and which supercede any information in the manual.<p></li>
+</ul>
+
+<p> </p>
+<rule>
+<p><em>Copyright © 2002 Sun Microsystems, Inc. All rights reserved</em></p>
+</body>
+</html>
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.jpeg
===================================================================
(Binary files differ)
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.jpeg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.txt
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.txt (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.txt 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1 @@
+This is a plain text attachment.
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.txt
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<mime-message>This is an xml attachment.</mime-message>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/attach.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="TestService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.swa.Attachment">
+ <operation>
+ <name>sendMimeImageGIF</name>
+ <parameter>
+ <java-type>java.lang.String</java-type>
+ </parameter>
+ <parameter>
+ <java-type>java.lang.Object</java-type>
+ <xml-name>mimepart</xml-name>
+ <mime-type>image/gif</mime-type>
+ </parameter>
+ </operation>
+ <operation>
+ <name>sendMimeImageJPEG</name>
+ <parameter>
+ <java-type>java.lang.String</java-type>
+ </parameter>
+ <parameter>
+ <java-type>java.lang.Object</java-type>
+ <xml-name>mimepart</xml-name>
+ <mime-type>image/jpeg</mime-type>
+ </parameter>
+ </operation>
+ <operation>
+ <name>sendMimeTextPlain</name>
+ <parameter>
+ <java-type>java.lang.String</java-type>
+ </parameter>
+ <parameter>
+ <java-type>java.lang.Object</java-type>
+ <xml-name>mimepart</xml-name>
+ <mime-type>text/plain</mime-type>
+ </parameter>
+ </operation>
+ <operation>
+ <name>sendMimeMultipart</name>
+ <parameter>
+ <java-type>java.lang.String</java-type>
+ </parameter>
+ <parameter>
+ <java-type>java.lang.Object</java-type>
+ <xml-name>mimepart</xml-name>
+ <mime-type>multipart</mime-type>
+ </parameter>
+ </operation>
+ <operation>
+ <name>sendMimeTextXML</name>
+ <parameter>
+ <java-type>java.lang.String</java-type>
+ </parameter>
+ <parameter>
+ <java-type>java.lang.Object</java-type>
+ <xml-name>mimepart</xml-name>
+ <mime-type>text/xml</mime-type>
+ </parameter>
+ </operation>
+ <operation>
+ <name>sendMimeApplicationXML</name>
+ <parameter>
+ <java-type>java.lang.String</java-type>
+ </parameter>
+ <parameter>
+ <java-type>java.lang.Object</java-type>
+ <xml-name>mimepart</xml-name>
+ <mime-type>application/xml</mime-type>
+ </parameter>
+ </operation>
+ </service>
+ <namespaces target-namespace="http://org.jboss.ws/samples/swa" type-namespace="http://org.jboss.ws/samples/swa/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="TestService"/>
+ </java-wsdl>
+</configuration>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/swa/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>HelloService</display-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/HelloService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.Hello</service-endpoint-interface>
+ </port-component-ref>
+ <handler>
+ <handler-name>ClientHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ClientHandler</handler-class>
+ </handler>
+ <handler>
+ <handler-name>WSAddressingHandler</handler-name>
+ <handler-class>org.jboss.ws.extensions.addressing.jaxrpc.WSAddressingClientHandler</handler-class>
+ </handler>
+ </service-ref>
+
+ <service-ref>
+ <service-ref-name>service/ReplyToService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/ReplyToService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/replyto-jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyTo</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jaxrpc-addressing-replyto-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ <config-name>Standard WSAddressing Client</config-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-wsaddr-hello?wsdl</wsdl-override>
+ </service-ref>
+
+ <service-ref>
+ <service-ref-name>service/ReplyToService</service-ref-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-wsaddr-replyto?wsdl</wsdl-override>
+ </service-ref>
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,56 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto</package-type>
+ <namespaceURI>http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.Hello_sayHello_RequestStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types'>typeNS:sayHello</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>string_1</java-variable-name>
+ <xml-element-name>String_1</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.Hello_sayHello_ResponseStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types'>typeNS:sayHelloResponse</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>result</java-variable-name>
+ <xml-element-name>result</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.HelloService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto'>serviceNS:HelloService</wsdl-service-name>
+ <port-mapping>
+ <port-name>HelloPort</port-name>
+ <java-port-name>HelloPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.Hello</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto'>portTypeNS:Hello</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto'>bindingNS:HelloBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>sayHello</java-method-name>
+ <wsdl-operation>sayHello</wsdl-operation>
+ <wrapped-element/>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto'>wsdlMsgNS:Hello_sayHello</wsdl-message>
+ <wsdl-message-part-name>String_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto'>wsdlMsgNS:Hello_sayHelloResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jboss-web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jboss-web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jboss-web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<jboss-web>
+ <context-root>/jaxrpc-samples-wsaddr-hello</context-root>
+</jboss-web>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <context-param>
+ <param-name>jbossws-config-name</param-name>
+ <param-value>Standard WSAddressing Endpoint</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>HelloService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.HelloEndpointJSE</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>HelloService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>HelloService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/HelloService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>HelloPort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto'>portNS:HelloPort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.Hello</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>HelloService</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/wsdl/HelloService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/wsdl/HelloService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/wsdl/HelloService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='HelloService' targetNamespace='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <complexType name='sayHello'>
+ <sequence>
+ <element name='String_1' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <complexType name='sayHelloResponse'>
+ <sequence>
+ <element name='result' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <element name='sayHello' type='tns:sayHello'/>
+ <element name='sayHelloResponse' type='tns:sayHelloResponse'/>
+ </schema>
+ </types>
+ <message name='Hello_sayHello' xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part element='ns1:sayHello' name='sayHello'/>
+ </message>
+ <message name='Hello_sayHelloResponse'>
+ <part element='ns1:sayHelloResponse' name='sayHelloResponse'/>
+ </message>
+ <portType name='Hello'>
+ <operation name='sayHello' parameterOrder='sayHello'>
+ <input message='tns:Hello_sayHello'/>
+ <output message='tns:Hello_sayHelloResponse'/>
+ </operation>
+ </portType>
+ <binding name='HelloBinding' type='tns:Hello'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='sayHello'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='HelloService'>
+ <port binding='tns:HelloBinding' name='HelloPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/wsdl/HelloService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="HelloService" style="document" endpoint="org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.Hello">
+ <operation name="sayHello" one-way="false" return-xml-name="result">
+ <parameter type="java.lang.String" xml-name="String_1"/>
+ </operation>
+ </service>
+ <namespaces target-namespace="http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto" type-namespace="http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="HelloService"/>
+ </java-wsdl>
+</configuration>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/hello/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/jboss-web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/jboss-web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/jboss-web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<jboss-web>
+ <context-root>/jaxrpc-samples-wsaddr-replyto</context-root>
+</jboss-web>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/replyto-jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/replyto-jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/replyto-jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,66 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto</package-type>
+ <namespaceURI>http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyTo_sayHelloResponse_RequestStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types'>typeNS:sayHelloResponse</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>result</java-variable-name>
+ <xml-element-name>result</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyTo_getLastMessage_RequestStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types'>typeNS:getLastMessage</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ </java-xml-type-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyTo_getLastMessage_ResponseStruct</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types'>typeNS:getLastMessageResponse</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>result</java-variable-name>
+ <xml-element-name>result</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyToService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto'>serviceNS:ReplyToService</wsdl-service-name>
+ <port-mapping>
+ <port-name>ReplyToPort</port-name>
+ <java-port-name>ReplyToPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyTo</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto'>portTypeNS:ReplyTo</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto'>bindingNS:ReplyToBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>sayHelloResponse</java-method-name>
+ <wsdl-operation>sayHelloResponse</wsdl-operation>
+ <wrapped-element/>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>java.lang.String</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto'>wsdlMsgNS:ReplyTo_sayHelloResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>getLastMessage</java-method-name>
+ <wsdl-operation>getLastMessage</wsdl-operation>
+ <wrapped-element/>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto'>wsdlMsgNS:ReplyTo_getLastMessageResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/replyto-jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>ReplyToService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyToEndpointJSE</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>ReplyToService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>ReplyToService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/ReplyToService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/replyto-jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>ReplyToPort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto'>portNS:ReplyToPort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyTo</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>ReplyToService</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/wsdl/ReplyToService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/wsdl/ReplyToService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/wsdl/ReplyToService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='ReplyToService' targetNamespace='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <complexType name='getLastMessage'>
+ <sequence/>
+ </complexType>
+ <complexType name='getLastMessageResponse'>
+ <sequence>
+ <element name='result' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <complexType name='sayHelloResponse'>
+ <sequence>
+ <element name='result' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ <element name='getLastMessage' type='tns:getLastMessage'/>
+ <element name='getLastMessageResponse' type='tns:getLastMessageResponse'/>
+ <element name='sayHelloResponse' type='tns:sayHelloResponse'/>
+ </schema>
+ </types>
+ <message name='ReplyTo_getLastMessage' xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part element='ns1:getLastMessage' name='getLastMessage'/>
+ </message>
+ <message name='ReplyTo_getLastMessageResponse'>
+ <part element='ns1:getLastMessageResponse' name='getLastMessageResponse'/>
+ </message>
+ <message name='ReplyTo_sayHelloResponse'>
+ <part element='ns1:sayHelloResponse' name='sayHelloResponse'/>
+ </message>
+ <portType name='ReplyTo'>
+ <operation name='getLastMessage' parameterOrder='getLastMessage'>
+ <input message='tns:ReplyTo_getLastMessage'/>
+ <output message='tns:ReplyTo_getLastMessageResponse'/>
+ </operation>
+ <operation name='sayHelloResponse'>
+ <input message='tns:ReplyTo_sayHelloResponse'/>
+ </operation>
+ </portType>
+ <binding name='ReplyToBinding' type='tns:ReplyTo'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='getLastMessage'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ <operation name='sayHelloResponse'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ </operation>
+ </binding>
+ <service name='ReplyToService'>
+ <port binding='tns:ReplyToBinding' name='ReplyToPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/wsdl/ReplyToService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="ReplyToService" style="document" parameter-style="wrapped" endpoint="org.jboss.test.ws.jaxrpc.samples.wsaddr.replyto.ReplyTo">
+ <operation name="sayHelloResponse" one-way="true">
+ <parameter type="java.lang.String" xml-name="result"/>
+ </operation>
+ <operation name="getLastMessage" one-way="false" return-xml-name="result"/>
+ </service>
+ <namespaces target-namespace="http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto" type-namespace="http://org.jboss.ws/jaxrpc/samples/wsaddr/replyto/types"/>
+ <mapping file="replyto-jaxrpc-mapping.xml"/>
+ <webservices servlet-link="ReplyToService"/>
+ </java-wsdl>
+</configuration>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wsaddr/replyto/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/jaxrpc-mapping.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/jaxrpc-mapping.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,46 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.samples.wssecurity</package-type>
+ <namespaceURI>http://org.jboss.ws/samples/wssecurity/types</namespaceURI>
+ </package-mapping>
+ <java-xml-type-mapping>
+ <java-type>org.jboss.test.ws.jaxrpc.samples.wssecurity.UserType</java-type>
+ <root-type-qname xmlns:typeNS='http://org.jboss.ws/samples/wssecurity/types'>typeNS:UserType</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>msg</java-variable-name>
+ <xml-element-name>msg</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.samples.wssecurity.HelloService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/samples/wssecurity'>serviceNS:HelloService</wsdl-service-name>
+ <port-mapping>
+ <port-name>HelloPort</port-name>
+ <java-port-name>HelloPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wssecurity.Hello</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/samples/wssecurity'>portTypeNS:Hello</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/samples/wssecurity'>bindingNS:HelloBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>echoUserType</java-method-name>
+ <wsdl-operation>echoUserType</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.test.ws.jaxrpc.samples.wssecurity.UserType</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/wssecurity'>wsdlMsgNS:Hello_echoUserType</wsdl-message>
+ <wsdl-message-part-name>UserType_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.test.ws.jaxrpc.samples.wssecurity.UserType</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/samples/wssecurity'>wsdlMsgNS:Hello_echoUserTypeResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <context-param>
+ <param-name>jbossws-config-name</param-name>
+ <param-value>Standard WSSecurity Endpoint</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>HelloService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.wssecurity.HelloJavaBean</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>HelloService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/webservices.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/webservices.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/webservices.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<webservices version='1.1' 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://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd'>
+ <webservice-description>
+ <webservice-description-name>HelloService</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/HelloService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component>
+ <port-component-name>HelloPort</port-component-name>
+ <wsdl-port xmlns:portNS='http://org.jboss.ws/samples/wssecurity'>portNS:HelloPort</wsdl-port>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wssecurity.Hello</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>HelloService</servlet-link>
+ </service-impl-bean>
+ </port-component>
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/wsdl/HelloService.wsdl
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/wsdl/HelloService.wsdl (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/wsdl/HelloService.wsdl 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='HelloService' targetNamespace='http://org.jboss.ws/samples/wssecurity' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://org.jboss.ws/samples/wssecurity/types' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/wssecurity' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+ <schema targetNamespace='http://org.jboss.ws/samples/wssecurity/types' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://org.jboss.ws/samples/wssecurity/types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+ <complexType name='UserType'>
+ <sequence>
+ <element name='msg' nillable='true' type='string'/>
+ </sequence>
+ </complexType>
+ </schema>
+ </types>
+ <message name='Hello_echoUserType' xmlns='http://schemas.xmlsoap.org/wsdl/'>
+ <part name='UserType_1' type='ns1:UserType'/>
+ </message>
+ <message name='Hello_echoUserTypeResponse'>
+ <part name='result' type='ns1:UserType'/>
+ </message>
+ <portType name='Hello'>
+ <operation name='echoUserType' parameterOrder='UserType_1'>
+ <input message='tns:Hello_echoUserType'/>
+ <output message='tns:Hello_echoUserTypeResponse'/>
+ </operation>
+ </portType>
+ <binding name='HelloBinding' type='tns:Hello'>
+ <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='echoUserType'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body namespace='http://org.jboss.ws/samples/wssecurity' use='literal'/>
+ </input>
+ <output>
+ <soap:body namespace='http://org.jboss.ws/samples/wssecurity' use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='HelloService'>
+ <port binding='tns:HelloBinding' name='HelloPort'>
+ <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/WEB-INF/wsdl/HelloService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/keystore.password
===================================================================
(Binary files differ)
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/keystore.password
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>HelloService</display-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/HelloService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wssecurity.Hello</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ <config-name>Standard WSSecurity Client</config-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-wssecurity-encrypt?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-wsse-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-wsse-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-wsse-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <config>
+ <encrypt type="x509v3" alias="wsse"/>
+ <requires>
+ <encryption/>
+ </requires>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF/jboss-wsse-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/jboss-wsse-server.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/jboss-wsse-server.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/jboss-wsse-server.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <key-store-file>WEB-INF/wsse.keystore</key-store-file>
+ <key-store-password>jbossws</key-store-password>
+ <trust-store-file>WEB-INF/wsse.truststore</trust-store-file>
+ <trust-store-password>jbossws</trust-store-password>
+ <config>
+ <encrypt type="x509v3" alias="wsse"/>
+ <requires>
+ <encryption/>
+ </requires>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-encrypt/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>HelloService</display-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/HelloService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wssecurity.Hello</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ <config-name>Standard WSSecurity Client</config-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-wssecurity-sign?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-wsse-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-wsse-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-wsse-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <config>
+ <sign type="x509v3" alias="wsse"/>
+ <requires>
+ <signature/>
+ </requires>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF/jboss-wsse-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/jboss-wsse-server.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/jboss-wsse-server.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/jboss-wsse-server.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <key-store-file>WEB-INF/wsse.keystore</key-store-file>
+ <key-store-password>jbossws</key-store-password>
+ <trust-store-file>WEB-INF/wsse.truststore</trust-store-file>
+ <trust-store-password>jbossws</trust-store-password>
+ <config>
+ <sign type="x509v3" alias="wsse"/>
+ <requires>
+ <signature/>
+ </requires>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/simple-sign/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/application-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/application-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/application-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>HelloService</display-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/HelloService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.samples.wssecurity.Hello</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ <config-name>Standard WSSecurity Client</config-name>
+ <wsdl-override>http://localhost:8080/jaxrpc-samples-store-pass-encrypt?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-wsse-client.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-wsse-client.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-wsse-client.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <config>
+ <sign type="x509v3" alias="wsse"/>
+ <encrypt type="x509v3" alias="wsse"/>
+ <requires>
+ <signature/>
+ <encryption/>
+ </requires>
+ </config>
+</jboss-ws-security>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF/jboss-wsse-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/WEB-INF/web.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/WEB-INF/web.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/WEB-INF/web.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <context-param>
+ <param-name>jbossws-config-name</param-name>
+ <param-value>Standard WSSecurity Endpoint</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>HelloService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.samples.wssecurity.HelloJavaBean</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>HelloService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+</web-app>
+
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/jboss-wsse-server.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/jboss-wsse-server.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/jboss-wsse-server.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <key-store-file>WEB-INF/wsse.keystore</key-store-file>
+ <key-store-password>{EXT}/usr/java/jdk1.6.0_11/jre/bin/java -cp /dati/jbossws/stack/native/trunk/modules/testsuite/native-tests/target/test-classes org.jboss.test.ws.jaxrpc.samples.wssecurity.PasswordUtil /dati/jbossws/stack/native/trunk/modules/testsuite/native-tests/target/test-resources/jaxrpc/samples/wssecurity/keystore.password</key-store-password>
+ <trust-store-file>WEB-INF/wsse.truststore</trust-store-file>
+ <trust-store-password>{CLASS}org.jboss.security.plugins.FilePassword:/dati/jbossws/stack/native/trunk/modules/testsuite/native-tests/target/test-resources/jaxrpc/samples/wssecurity/keystore.password</trust-store-password>
+ <config>
+ <sign type="x509v3" alias="wsse"/>
+ <encrypt type="x509v3" alias="wsse"/>
+ <requires>
+ <signature/>
+ <encryption/>
+ </requires>
+ </config>
+</jboss-ws-security>
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/wsse.keystore
===================================================================
(Binary files differ)
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/wsse.keystore
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/wsse.truststore
===================================================================
(Binary files differ)
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/wsse.truststore
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/wstools-config.xml
===================================================================
--- framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/wstools-config.xml (rev 0)
+++ framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/wstools-config.xml 2010-02-10 14:56:59 UTC (rev 11563)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wstools -cp ../../../output/classes -config wstools-config.xml
+-->
+
+<configuration xmlns="http://www.jboss.org/jbossws-tools"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <java-wsdl>
+ <service name="HelloService" style="rpc" endpoint="org.jboss.test.ws.jaxrpc.samples.wssecurity.Hello"/>
+ <namespaces target-namespace="http://org.jboss.ws/samples/wssecurity" type-namespace="http://org.jboss.ws/samples/wssecurity/types"/>
+ <mapping file="jaxrpc-mapping.xml"/>
+ <webservices servlet-link="HelloService"/>
+ </java-wsdl>
+</configuration>
\ No newline at end of file
Property changes on: framework/branches/jaxrpc-cxf/testsuite/test/resources/jaxrpc/samples/wssecurity/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
14 years, 4 months
JBossWS SVN: r11562 - stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-02-10 06:20:31 -0500 (Wed, 10 Feb 2010)
New Revision: 11562
Modified:
stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources/all-deploy.conf
stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources/default-deploy.conf
stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources/standard-deploy.conf
Log:
[JBWS-2921] Updating default uninstall file list
Modified: stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources/all-deploy.conf
===================================================================
--- stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources/all-deploy.conf 2010-02-10 11:16:43 UTC (rev 11561)
+++ stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources/all-deploy.conf 2010-02-10 11:20:31 UTC (rev 11562)
@@ -1 +1 @@
-bin/wsconsume.bat bin/wsconsume.sh bin/wsprovide.bat bin/wsprovide.sh bin/wsrunclient.bat bin/wsrunclient.sh bin/wstools.bat bin/wstools.sh client/jettison.jar client/jaxb-api.jar client/FastInfoset.jar client/commons-beanutils.jar client/jaxb-impl.jar client/jaxb-xjc.jar client/jaxws-rt.jar client/jaxws-tools.jar client/jbossws-native-jaxrpc.jar client/jaxrpc-api.jar client/jbossws-native-jaxws.jar client/jaxws-api.jar client/jsr181-api.jar client/jbossws-native-saaj.jar client/saaj-api.jar client/jbossws-native-client.jar client/jbossws-native-core.jar client/jbossws-common.jar client/jbossws-framework.jar client/jbossws-spi.jar client/netty.jar client/policy.jar client/stax-ex.jar client/streambuffer.jar client/wsdl4j.jar lib/jaxb-api.jar lib/jaxb-impl.jar common/lib/jbossws-native-jaxrpc.jar common/lib/jaxrpc-api.jar common/lib/jbossws-native-jaxws.jar common/lib/jaxws-api.jar common/lib/jsr181-api.jar common/lib/jbossws-native-saaj.jar common/lib/saaj-api.jar common/li!
b/jbossws-common.jar common/lib/jbossws-framework.jar common/lib/jbossws-spi.jar common/lib/commons-beanutils.jar lib/endorsed/jbossws-native-* lib/endorsed/jaxb-api.jar server/all/deploy/jbossws.sar server/all/deploy/jbossws-console.war server/all/deploy/juddi-service.sar server/all/deployers/jbossws.deployer/FastInfoset.jar server/all/deployers/jbossws.deployer/jboss-jaxb-intros.jar server/all/deployers/jbossws.deployer/jbossws-native-core.jar server/all/deployers/jbossws.deployer/jettison.jar server/all/deployers/jbossws.deployer/netty.jar server/all/deployers/jbossws.deployer/policy.jar server/all/deployers/jbossws.deployer/wsdl4j.jar server/all/deployers/jbossws.deployer/xmlsec.jar server/all/deployers/jbossws.deployer/META-INF/jboss-beans.xml server/all/deployers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml server/all/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml server/all/deployers/jbossws.deployer/META-INF/standard-*-config.xml
+bin/wsconsume.bat bin/wsconsume.sh bin/wsprovide.bat bin/wsprovide.sh bin/wsrunclient.bat bin/wsrunclient.sh bin/wstools.bat bin/wstools.sh client/jettison.jar client/jaxb-api.jar client/FastInfoset.jar client/commons-beanutils.jar client/jaxb-impl.jar client/jaxb-xjc.jar client/jaxws-rt.jar client/jaxws-tools.jar client/jbossws-native-jaxrpc.jar client/jaxrpc-api.jar client/jbossws-native-jaxws.jar client/jbossws-native-factories.jar client/jbossws-native-services.jar client/jaxws-api.jar client/jsr181-api.jar client/jbossws-native-saaj.jar client/saaj-api.jar client/jbossws-native-client.jar client/jbossws-native-core.jar client/jbossws-common.jar client/jbossws-framework.jar client/jbossws-spi.jar client/netty.jar client/policy.jar client/stax-ex.jar client/streambuffer.jar client/wsdl4j.jar lib/jaxb-api.jar lib/jaxb-impl.jar common/lib/jbossws-native-jaxrpc.jar common/lib/jaxrpc-api.jar common/lib/jbossws-native-jaxws.jar common/lib/jaxws-api.jar common/lib/jsr181-api.j!
ar common/lib/jbossws-native-saaj.jar common/lib/saaj-api.jar common/lib/jbossws-common.jar common/lib/jbossws-framework.jar common/lib/jbossws-spi.jar common/lib/commons-beanutils.jar lib/endorsed/jbossws-native-* lib/endorsed/jaxb-api.jar server/all/deploy/jbossws.sar server/all/deploy/jbossws-console.war server/all/deploy/juddi-service.sar server/all/deployers/jbossws.deployer/FastInfoset.jar server/all/deployers/jbossws.deployer/jboss-jaxb-intros.jar server/all/deployers/jbossws.deployer/jbossws-native-core.jar server/all/deployers/jbossws.deployer/jbossws-native-factories.jar server/all/deployers/jbossws.deployer/jbossws-native-services.jar server/all/deployers/jbossws.deployer/jettison.jar server/all/deployers/jbossws.deployer/netty.jar server/all/deployers/jbossws.deployer/policy.jar server/all/deployers/jbossws.deployer/wsdl4j.jar server/all/deployers/jbossws.deployer/xmlsec.jar server/all/deployers/jbossws.deployer/META-INF/jboss-beans.xml server/all/deployers/jbos!
sws.deployer/META-INF/jbossws-deployer-jboss-beans.xml server/!
all/depl
oyers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml server/all/deployers/jbossws.deployer/META-INF/standard-*-config.xml
Modified: stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources/default-deploy.conf
===================================================================
--- stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources/default-deploy.conf 2010-02-10 11:16:43 UTC (rev 11561)
+++ stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources/default-deploy.conf 2010-02-10 11:20:31 UTC (rev 11562)
@@ -1 +1 @@
-bin/wsconsume.bat bin/wsconsume.sh bin/wsprovide.bat bin/wsprovide.sh bin/wsrunclient.bat bin/wsrunclient.sh bin/wstools.bat bin/wstools.sh client/jettison.jar client/jaxb-api.jar client/FastInfoset.jar client/commons-beanutils.jar client/jaxb-impl.jar client/jaxb-xjc.jar client/jaxws-rt.jar client/jaxws-tools.jar client/jbossws-native-jaxrpc.jar client/jaxrpc-api.jar client/jbossws-native-jaxws.jar client/jaxws-api.jar client/jsr181-api.jar client/jbossws-native-saaj.jar client/saaj-api.jar client/jbossws-native-client.jar client/jbossws-native-core.jar client/jbossws-common.jar client/jbossws-framework.jar client/jbossws-spi.jar client/netty.jar client/policy.jar client/stax-ex.jar client/streambuffer.jar client/wsdl4j.jar lib/jaxb-api.jar lib/jaxb-impl.jar common/lib/jbossws-native-jaxrpc.jar common/lib/jaxrpc-api.jar common/lib/jbossws-native-jaxws.jar common/lib/jaxws-api.jar common/lib/jsr181-api.jar common/lib/jbossws-native-saaj.jar common/lib/saaj-api.jar common/li!
b/jbossws-common.jar common/lib/jbossws-framework.jar common/lib/jbossws-spi.jar common/lib/commons-beanutils.jar lib/endorsed/jbossws-native-* lib/endorsed/jaxb-api.jar server/default/deploy/jbossws.sar server/default/deploy/jbossws-console.war server/default/deploy/juddi-service.sar server/default/deployers/jbossws.deployer/FastInfoset.jar server/default/deployers/jbossws.deployer/jboss-jaxb-intros.jar server/default/deployers/jbossws.deployer/jbossws-native-core.jar server/default/deployers/jbossws.deployer/jettison.jar server/default/deployers/jbossws.deployer/netty.jar server/default/deployers/jbossws.deployer/policy.jar server/default/deployers/jbossws.deployer/wsdl4j.jar server/default/deployers/jbossws.deployer/xmlsec.jar server/default/deployers/jbossws.deployer/META-INF/jboss-beans.xml server/default/deployers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml server/default/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml server/defau!
lt/deployers/jbossws.deployer/META-INF/standard-*-config.xml
+bin/wsconsume.bat bin/wsconsume.sh bin/wsprovide.bat bin/wsprovide.sh bin/wsrunclient.bat bin/wsrunclient.sh bin/wstools.bat bin/wstools.sh client/jettison.jar client/jaxb-api.jar client/FastInfoset.jar client/commons-beanutils.jar client/jaxb-impl.jar client/jaxb-xjc.jar client/jaxws-rt.jar client/jaxws-tools.jar client/jbossws-native-jaxrpc.jar client/jaxrpc-api.jar client/jbossws-native-jaxws.jar client/jbossws-native-factories.jar client/jaxws-api.jar client/jsr181-api.jar client/jbossws-native-saaj.jar client/saaj-api.jar client/jbossws-native-client.jar client/jbossws-native-core.jar client/jbossws-native-services.jar client/jbossws-common.jar client/jbossws-framework.jar client/jbossws-spi.jar client/netty.jar client/policy.jar client/stax-ex.jar client/streambuffer.jar client/wsdl4j.jar lib/jaxb-api.jar lib/jaxb-impl.jar common/lib/jbossws-native-jaxrpc.jar common/lib/jaxrpc-api.jar common/lib/jbossws-native-jaxws.jar common/lib/jaxws-api.jar common/lib/jsr181-api.j!
ar common/lib/jbossws-native-saaj.jar common/lib/saaj-api.jar common/lib/jbossws-common.jar common/lib/jbossws-framework.jar common/lib/jbossws-spi.jar common/lib/commons-beanutils.jar lib/endorsed/jbossws-native-* lib/endorsed/jaxb-api.jar server/default/deploy/jbossws.sar server/default/deploy/jbossws-console.war server/default/deploy/juddi-service.sar server/default/deployers/jbossws.deployer/FastInfoset.jar server/default/deployers/jbossws.deployer/jboss-jaxb-intros.jar server/default/deployers/jbossws.deployer/jbossws-native-core.jar server/default/deployers/jbossws.deployer/jbossws-native-factories.jar server/default/deployers/jbossws.deployer/jbossws-native-services.jar server/default/deployers/jbossws.deployer/jettison.jar server/default/deployers/jbossws.deployer/netty.jar server/default/deployers/jbossws.deployer/policy.jar server/default/deployers/jbossws.deployer/wsdl4j.jar server/default/deployers/jbossws.deployer/xmlsec.jar server/default/deployers/jbossws.dep!
loyer/META-INF/jboss-beans.xml server/default/deployers/jbossw!
s.deploy
er/META-INF/jbossws-deployer-jboss-beans.xml server/default/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml server/default/deployers/jbossws.deployer/META-INF/standard-*-config.xml
Modified: stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources/standard-deploy.conf
===================================================================
--- stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources/standard-deploy.conf 2010-02-10 11:16:43 UTC (rev 11561)
+++ stack/metro/branches/jaxrpc-cxf/modules/resources/src/main/resources/resources/standard-deploy.conf 2010-02-10 11:20:31 UTC (rev 11562)
@@ -1 +1 @@
-bin/wsconsume.bat bin/wsconsume.sh bin/wsprovide.bat bin/wsprovide.sh bin/wsrunclient.bat bin/wsrunclient.sh bin/wstools.bat bin/wstools.sh client/jettison.jar client/jaxb-api.jar client/FastInfoset.jar client/commons-beanutils.jar client/jaxb-impl.jar client/jaxb-xjc.jar client/jaxws-rt.jar client/jaxws-tools.jar client/jbossws-native-jaxrpc.jar client/jaxrpc-api.jar client/jbossws-native-jaxws.jar client/jaxws-api.jar client/jsr181-api.jar client/jbossws-native-saaj.jar client/saaj-api.jar client/jbossws-native-client.jar client/jbossws-native-core.jar client/jbossws-common.jar client/jbossws-framework.jar client/jbossws-spi.jar client/netty.jar client/policy.jar client/stax-ex.jar client/streambuffer.jar client/wsdl4j.jar lib/jaxb-api.jar lib/jaxb-impl.jar common/lib/jbossws-native-jaxrpc.jar common/lib/jaxrpc-api.jar common/lib/jbossws-native-jaxws.jar common/lib/jaxws-api.jar common/lib/jsr181-api.jar common/lib/jbossws-native-saaj.jar common/lib/saaj-api.jar common/li!
b/jbossws-common.jar common/lib/jbossws-framework.jar common/lib/jbossws-spi.jar common/lib/commons-beanutils.jar lib/endorsed/jbossws-native-* lib/endorsed/jaxb-api.jar server/standard/deploy/jbossws.sar server/standard/deploy/jbossws-console.war server/standard/deploy/juddi-service.sar server/standard/deployers/jbossws.deployer/FastInfoset.jar server/standard/deployers/jbossws.deployer/jboss-jaxb-intros.jar server/standard/deployers/jbossws.deployer/jbossws-native-core.jar server/standard/deployers/jbossws.deployer/jettison.jar server/standard/deployers/jbossws.deployer/netty.jar server/standard/deployers/jbossws.deployer/policy.jar server/standard/deployers/jbossws.deployer/wsdl4j.jar server/standard/deployers/jbossws.deployer/xmlsec.jar server/standard/deployers/jbossws.deployer/META-INF/jboss-beans.xml server/standard/deployers/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml server/standard/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xm!
l server/standard/deployers/jbossws.deployer/META-INF/standard!
-*-confi
g.xml
+bin/wsconsume.bat bin/wsconsume.sh bin/wsprovide.bat bin/wsprovide.sh bin/wsrunclient.bat bin/wsrunclient.sh bin/wstools.bat bin/wstools.sh client/jettison.jar client/jaxb-api.jar client/FastInfoset.jar client/commons-beanutils.jar client/jaxb-impl.jar client/jaxb-xjc.jar client/jaxws-rt.jar client/jaxws-tools.jar client/jbossws-native-jaxrpc.jar client/jaxrpc-api.jar client/jbossws-native-jaxws.jar client/jbossws-native-factories.jar client/jaxws-api.jar client/jsr181-api.jar client/jbossws-native-saaj.jar client/saaj-api.jar client/jbossws-native-client.jar client/jbossws-native-core.jar client/jbossws-native-services.jar client/jbossws-common.jar client/jbossws-framework.jar client/jbossws-spi.jar client/netty.jar client/policy.jar client/stax-ex.jar client/streambuffer.jar client/wsdl4j.jar lib/jaxb-api.jar lib/jaxb-impl.jar common/lib/jbossws-native-jaxrpc.jar common/lib/jaxrpc-api.jar common/lib/jbossws-native-jaxws.jar common/lib/jaxws-api.jar common/lib/jsr181-api.j!
ar common/lib/jbossws-native-saaj.jar common/lib/saaj-api.jar common/lib/jbossws-common.jar common/lib/jbossws-framework.jar common/lib/jbossws-spi.jar common/lib/commons-beanutils.jar lib/endorsed/jbossws-native-* lib/endorsed/jaxb-api.jar server/standard/deploy/jbossws.sar server/standard/deploy/jbossws-console.war server/standard/deploy/juddi-service.sar server/standard/deployers/jbossws.deployer/FastInfoset.jar server/standard/deployers/jbossws.deployer/jboss-jaxb-intros.jar server/standard/deployers/jbossws.deployer/jbossws-native-core.jar server/standard/deployers/jbossws.deployer/jbossws-native-factories.jar server/standard/deployers/jbossws.deployer/jbossws-native-services.jar server/standard/deployers/jbossws.deployer/jettison.jar server/standard/deployers/jbossws.deployer/netty.jar server/standard/deployers/jbossws.deployer/policy.jar server/standard/deployers/jbossws.deployer/wsdl4j.jar server/standard/deployers/jbossws.deployer/xmlsec.jar server/standard/deploye!
rs/jbossws.deployer/META-INF/jboss-beans.xml server/standard/d!
eployers
/jbossws.deployer/META-INF/jbossws-deployer-jboss-beans.xml server/standard/deployers/jbossws.deployer/META-INF/jbossws-container-jboss-beans.xml server/standard/deployers/jbossws.deployer/META-INF/standard-*-config.xml
14 years, 4 months
JBossWS SVN: r11561 - in stack/metro/branches/jaxrpc-cxf/modules/server/src/main: java/org/jboss/wsf/stack/metro/metadata and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-02-10 06:16:43 -0500 (Wed, 10 Feb 2010)
New Revision: 11561
Modified:
stack/metro/branches/jaxrpc-cxf/modules/server/src/main/java/org/jboss/wsf/stack/metro/SunJaxwsDeploymentAspect.java
stack/metro/branches/jaxrpc-cxf/modules/server/src/main/java/org/jboss/wsf/stack/metro/metadata/RuntimeModelDeploymentAspect.java
stack/metro/branches/jaxrpc-cxf/modules/server/src/main/resources/jbossws-metro-config-as6.xml
Log:
Using new AbstractDeploymentAspect, moving WSAspectizedDeployer to stack specific config, providing sensible values for isForJaxWs / isForJaxRpc
Modified: stack/metro/branches/jaxrpc-cxf/modules/server/src/main/java/org/jboss/wsf/stack/metro/SunJaxwsDeploymentAspect.java
===================================================================
--- stack/metro/branches/jaxrpc-cxf/modules/server/src/main/java/org/jboss/wsf/stack/metro/SunJaxwsDeploymentAspect.java 2010-02-10 09:31:34 UTC (rev 11560)
+++ stack/metro/branches/jaxrpc-cxf/modules/server/src/main/java/org/jboss/wsf/stack/metro/SunJaxwsDeploymentAspect.java 2010-02-10 11:16:43 UTC (rev 11561)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * 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.
*
@@ -21,28 +21,28 @@
*/
package org.jboss.wsf.stack.metro;
+import java.net.URL;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.xml.ws.BindingType;
+import javax.xml.ws.soap.SOAPBinding;
+
+import org.jboss.wsf.common.integration.AbstractDeploymentAspect;
import org.jboss.wsf.common.integration.WSConstants;
import org.jboss.wsf.spi.deployment.Deployment;
-import org.jboss.wsf.spi.deployment.DeploymentAspect;
import org.jboss.wsf.spi.deployment.Endpoint;
+import org.jboss.wsf.stack.metro.metadata.RuntimeModelDeploymentAspect;
import org.jboss.wsf.stack.metro.metadata.sunjaxws.DDEndpoint;
import org.jboss.wsf.stack.metro.metadata.sunjaxws.DDEndpoints;
-import org.jboss.wsf.stack.metro.metadata.RuntimeModelDeploymentAspect;
-import javax.xml.ws.BindingType;
-import javax.xml.ws.soap.SOAPBinding;
-
-import java.net.URL;
-import java.util.HashMap;
-import java.util.Map;
-
/**
* An aspect that generates sun-jaxws.xml
*
* @author Thomas.Diesler(a)jboss.org
* @since 10-May-2007
*/
-public class SunJaxwsDeploymentAspect extends DeploymentAspect
+public class SunJaxwsDeploymentAspect extends AbstractDeploymentAspect
{
@Override
@SuppressWarnings("unchecked")
Modified: stack/metro/branches/jaxrpc-cxf/modules/server/src/main/java/org/jboss/wsf/stack/metro/metadata/RuntimeModelDeploymentAspect.java
===================================================================
--- stack/metro/branches/jaxrpc-cxf/modules/server/src/main/java/org/jboss/wsf/stack/metro/metadata/RuntimeModelDeploymentAspect.java 2010-02-10 09:31:34 UTC (rev 11560)
+++ stack/metro/branches/jaxrpc-cxf/modules/server/src/main/java/org/jboss/wsf/stack/metro/metadata/RuntimeModelDeploymentAspect.java 2010-02-10 11:16:43 UTC (rev 11561)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * 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.
*
@@ -21,22 +21,22 @@
*/
package org.jboss.wsf.stack.metro.metadata;
-import com.sun.xml.ws.api.server.BoundEndpoint;
-import com.sun.xml.ws.api.server.Container;
-import com.sun.xml.ws.api.server.Module;
-import com.sun.xml.ws.api.server.ResourceInjector;
-import com.sun.xml.ws.api.server.ServerPipelineHook;
-import com.sun.xml.ws.transport.http.DeploymentDescriptorParser;
-import com.sun.xml.ws.transport.http.ResourceLoader;
-import com.sun.xml.ws.transport.http.servlet.ServletAdapter;
-import com.sun.xml.ws.transport.http.servlet.ServletAdapterList;
+import java.io.IOException;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import javax.servlet.ServletContext;
+import javax.xml.ws.WebServiceException;
+
import org.jboss.logging.Logger;
import org.jboss.wsf.common.ResourceLoaderAdapter;
+import org.jboss.wsf.common.integration.AbstractDeploymentAspect;
import org.jboss.wsf.common.integration.WSConstants;
import org.jboss.wsf.spi.deployment.ArchiveDeployment;
import org.jboss.wsf.spi.deployment.Deployment;
-import org.jboss.wsf.spi.deployment.DeploymentAspect;
import org.jboss.wsf.spi.deployment.Endpoint;
import org.jboss.wsf.spi.deployment.UnifiedVirtualFile;
import org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt;
@@ -44,14 +44,15 @@
import org.jboss.wsf.stack.metro.MessageStreamAdapter;
import org.jboss.wsf.stack.metro.log.MessageLogPipelineHook;
-import javax.xml.ws.WebServiceException;
-import javax.servlet.ServletContext;
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Map;
-import java.util.List;
+import com.sun.xml.ws.api.server.BoundEndpoint;
+import com.sun.xml.ws.api.server.Container;
+import com.sun.xml.ws.api.server.Module;
+import com.sun.xml.ws.api.server.ResourceInjector;
+import com.sun.xml.ws.api.server.ServerPipelineHook;
+import com.sun.xml.ws.transport.http.DeploymentDescriptorParser;
+import com.sun.xml.ws.transport.http.ResourceLoader;
+import com.sun.xml.ws.transport.http.servlet.ServletAdapter;
+import com.sun.xml.ws.transport.http.servlet.ServletAdapterList;
/**
* Creates a Metro runtime model and associates it with the deployment.
@@ -67,7 +68,7 @@
*
* @author Heiko.Braun(a)jboss.com
*/
-public class RuntimeModelDeploymentAspect extends DeploymentAspect
+public class RuntimeModelDeploymentAspect extends AbstractDeploymentAspect
{
private static final org.jboss.logging.Logger log = Logger.getLogger(RuntimeModelDeploymentAspect.class);
protected static final String JAXWS_RI_RUNTIME = "/WEB-INF/sun-jaxws.xml";
Modified: stack/metro/branches/jaxrpc-cxf/modules/server/src/main/resources/jbossws-metro-config-as6.xml
===================================================================
--- stack/metro/branches/jaxrpc-cxf/modules/server/src/main/resources/jbossws-metro-config-as6.xml 2010-02-10 09:31:34 UTC (rev 11560)
+++ stack/metro/branches/jaxrpc-cxf/modules/server/src/main/resources/jbossws-metro-config-as6.xml 2010-02-10 11:16:43 UTC (rev 11561)
@@ -36,11 +36,13 @@
</entry>
</map>
</property>
+ <property name="forJaxRpc">false</property>
</bean>
<bean name="WSMetroEndpointHandlerDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect">
<property name="requires">ContainerMetaData</property>
<property name="provides">StackEndpointHandler</property>
+ <property name="forJaxRpc">false</property>
</bean>
<bean name="WSMetroEndpointRecordProcessorDeploymentAspect" class="org.jboss.wsf.framework.deployment.EndpointRecordProcessorDeploymentAspect">
@@ -53,16 +55,19 @@
<inject bean="WSLogRecorder"/>
</list>
</property>
+ <property name="forJaxRpc">false</property>
</bean>
<bean name="WSMetroDescriptorDeploymentAspect" class="org.jboss.wsf.stack.metro.SunJaxwsDeploymentAspect">
<property name="requires">URLPattern</property>
<property name="provides">StackDescriptor</property>
+ <property name="forJaxRpc">false</property>
</bean>
<bean name="WSRuntimeModelDeploymentAspect" class="org.jboss.wsf.stack.metro.metadata.RuntimeModelDeploymentAspect">
<property name="requires">StackDescriptor</property>
<property name="provides">RuntimeModel</property>
+ <property name="forJaxRpc">false</property>
</bean>
</deployment>
14 years, 4 months
JBossWS SVN: r11560 - stack/metro/branches.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-02-10 04:31:34 -0500 (Wed, 10 Feb 2010)
New Revision: 11560
Added:
stack/metro/branches/jaxrpc-cxf/
Log:
[JBWS-2895] Branching metro stack too (-r 11479) for working on prototypes
Copied: stack/metro/branches/jaxrpc-cxf (from rev 11479, stack/metro/trunk)
14 years, 4 months