[jboss-svn-commits] JBossWS SVN: r865 - in trunk: . docs/user-guide/project/en docs/user-guide/project/en/modules/endpoints docs/user-guide/project/en/modules/mtom-xop docs/user-guide/project/en/modules/secureejb docs/user-guide/project/en/modules/wssecurity src/main/java/javax/xml src/main/java/javax/xml/rpc src/main/java/javax/xml/rpc/encoding src/main/java/javax/xml/rpc/handler src/main/java/javax/xml/rpc/handler/soap src/main/java/javax/xml/rpc/holders src/main/java/javax/xml/rpc/server src/main/java/javax/xml/rpc/soap src/main/java/org/jboss/ws/integration/tomcat src/main/java/org/jboss/ws/server src/main/java/org/jboss/ws/tools src/main/resources/jbossws.war/JBoss/WEB-INF src/test src/test/etc src/test/java/org/jboss/test/ws src/test/java/org/jboss/test/ws/jbws1068 src/test/java/org/jboss/test/ws/jbws718 src/test/java/org/jboss/test/ws/jbws732 src/test/java/org/jboss/test/ws/jbws801 src/test/java/org/jboss/test/ws/jbws944 src/test/java/org/jboss/test/ws/samples/jmstransport src/! test/java/org/jboss/test/ws/samples/secureejb src/test/resources src/test/resources/jbws1068 src/test/resources/jbws944 src/test/resources/jbws944/META-INF src/test/resources/jbws944/META-INF/wsdl src/test/resources/samples/secureejb/META-INF src/test/resources/samples-override/secureejb/META-INF/wsdl
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Aug 30 18:34:21 EDT 2006
Author: thomas.diesler at jboss.com
Date: 2006-08-30 18:32:11 -0400 (Wed, 30 Aug 2006)
New Revision: 865
Added:
trunk/docs/user-guide/project/en/modules/endpoints/template-config.xml
trunk/src/main/java/javax/xml/rpc/
trunk/src/main/java/javax/xml/rpc/Call.java
trunk/src/main/java/javax/xml/rpc/JAXRPCException.java
trunk/src/main/java/javax/xml/rpc/NamespaceConstants.java
trunk/src/main/java/javax/xml/rpc/ParameterMode.java
trunk/src/main/java/javax/xml/rpc/Service.java
trunk/src/main/java/javax/xml/rpc/ServiceException.java
trunk/src/main/java/javax/xml/rpc/ServiceFactory.java
trunk/src/main/java/javax/xml/rpc/Stub.java
trunk/src/main/java/javax/xml/rpc/encoding/
trunk/src/main/java/javax/xml/rpc/encoding/DeserializationContext.java
trunk/src/main/java/javax/xml/rpc/encoding/Deserializer.java
trunk/src/main/java/javax/xml/rpc/encoding/DeserializerFactory.java
trunk/src/main/java/javax/xml/rpc/encoding/SerializationContext.java
trunk/src/main/java/javax/xml/rpc/encoding/Serializer.java
trunk/src/main/java/javax/xml/rpc/encoding/SerializerFactory.java
trunk/src/main/java/javax/xml/rpc/encoding/TypeMapping.java
trunk/src/main/java/javax/xml/rpc/encoding/TypeMappingRegistry.java
trunk/src/main/java/javax/xml/rpc/encoding/XMLType.java
trunk/src/main/java/javax/xml/rpc/handler/
trunk/src/main/java/javax/xml/rpc/handler/GenericHandler.java
trunk/src/main/java/javax/xml/rpc/handler/Handler.java
trunk/src/main/java/javax/xml/rpc/handler/HandlerChain.java
trunk/src/main/java/javax/xml/rpc/handler/HandlerInfo.java
trunk/src/main/java/javax/xml/rpc/handler/HandlerRegistry.java
trunk/src/main/java/javax/xml/rpc/handler/MessageContext.java
trunk/src/main/java/javax/xml/rpc/handler/soap/
trunk/src/main/java/javax/xml/rpc/handler/soap/SOAPMessageContext.java
trunk/src/main/java/javax/xml/rpc/holders/
trunk/src/main/java/javax/xml/rpc/holders/BigDecimalHolder.java
trunk/src/main/java/javax/xml/rpc/holders/BigIntegerHolder.java
trunk/src/main/java/javax/xml/rpc/holders/BooleanHolder.java
trunk/src/main/java/javax/xml/rpc/holders/BooleanWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/ByteArrayHolder.java
trunk/src/main/java/javax/xml/rpc/holders/ByteHolder.java
trunk/src/main/java/javax/xml/rpc/holders/ByteWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/CalendarHolder.java
trunk/src/main/java/javax/xml/rpc/holders/DoubleHolder.java
trunk/src/main/java/javax/xml/rpc/holders/DoubleWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/FloatHolder.java
trunk/src/main/java/javax/xml/rpc/holders/FloatWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/Holder.java
trunk/src/main/java/javax/xml/rpc/holders/IntHolder.java
trunk/src/main/java/javax/xml/rpc/holders/IntegerWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/LongHolder.java
trunk/src/main/java/javax/xml/rpc/holders/LongWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/ObjectHolder.java
trunk/src/main/java/javax/xml/rpc/holders/QNameHolder.java
trunk/src/main/java/javax/xml/rpc/holders/ShortHolder.java
trunk/src/main/java/javax/xml/rpc/holders/ShortWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/StringHolder.java
trunk/src/main/java/javax/xml/rpc/server/
trunk/src/main/java/javax/xml/rpc/server/ServiceLifecycle.java
trunk/src/main/java/javax/xml/rpc/server/ServletEndpointContext.java
trunk/src/main/java/javax/xml/rpc/soap/
trunk/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java
trunk/src/main/java/org/jboss/ws/integration/tomcat/wspublish.java
trunk/src/test/java/org/jboss/test/ws/jbws1068/
trunk/src/test/java/org/jboss/test/ws/jbws1068/JBWS1068TestCase.java
trunk/src/test/resources/jbws1068/
trunk/src/test/resources/jbws1068/wsrp_services.wsdl
trunk/src/test/resources/jbws1068/wsrp_v1_bindings.wsdl
trunk/src/test/resources/jbws1068/wsrp_v1_interfaces.wsdl
trunk/src/test/resources/jbws1068/wsrp_v1_types.xsd
trunk/src/test/resources/jbws944/
trunk/src/test/resources/jbws944/META-INF/
trunk/src/test/resources/jbws944/META-INF/application-client.xml
trunk/src/test/resources/jbws944/META-INF/jaxrpc-mapping.xml
trunk/src/test/resources/jbws944/META-INF/jboss-client.xml
trunk/src/test/resources/jbws944/META-INF/wsdl/
trunk/src/test/resources/jbws944/META-INF/wsdl/TestService.wsdl
trunk/src/test/resources/jbws944/wstools-config.xml
Removed:
trunk/src/main/java/javax/xml/rpc/Call.java
trunk/src/main/java/javax/xml/rpc/JAXRPCException.java
trunk/src/main/java/javax/xml/rpc/NamespaceConstants.java
trunk/src/main/java/javax/xml/rpc/ParameterMode.java
trunk/src/main/java/javax/xml/rpc/Service.java
trunk/src/main/java/javax/xml/rpc/ServiceException.java
trunk/src/main/java/javax/xml/rpc/ServiceFactory.java
trunk/src/main/java/javax/xml/rpc/Stub.java
trunk/src/main/java/javax/xml/rpc/encoding/
trunk/src/main/java/javax/xml/rpc/encoding/DeserializationContext.java
trunk/src/main/java/javax/xml/rpc/encoding/Deserializer.java
trunk/src/main/java/javax/xml/rpc/encoding/DeserializerFactory.java
trunk/src/main/java/javax/xml/rpc/encoding/SerializationContext.java
trunk/src/main/java/javax/xml/rpc/encoding/Serializer.java
trunk/src/main/java/javax/xml/rpc/encoding/SerializerFactory.java
trunk/src/main/java/javax/xml/rpc/encoding/TypeMapping.java
trunk/src/main/java/javax/xml/rpc/encoding/TypeMappingRegistry.java
trunk/src/main/java/javax/xml/rpc/encoding/XMLType.java
trunk/src/main/java/javax/xml/rpc/handler/
trunk/src/main/java/javax/xml/rpc/handler/GenericHandler.java
trunk/src/main/java/javax/xml/rpc/handler/Handler.java
trunk/src/main/java/javax/xml/rpc/handler/HandlerChain.java
trunk/src/main/java/javax/xml/rpc/handler/HandlerInfo.java
trunk/src/main/java/javax/xml/rpc/handler/HandlerRegistry.java
trunk/src/main/java/javax/xml/rpc/handler/MessageContext.java
trunk/src/main/java/javax/xml/rpc/handler/soap/
trunk/src/main/java/javax/xml/rpc/handler/soap/SOAPMessageContext.java
trunk/src/main/java/javax/xml/rpc/holders/
trunk/src/main/java/javax/xml/rpc/holders/BigDecimalHolder.java
trunk/src/main/java/javax/xml/rpc/holders/BigIntegerHolder.java
trunk/src/main/java/javax/xml/rpc/holders/BooleanHolder.java
trunk/src/main/java/javax/xml/rpc/holders/BooleanWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/ByteArrayHolder.java
trunk/src/main/java/javax/xml/rpc/holders/ByteHolder.java
trunk/src/main/java/javax/xml/rpc/holders/ByteWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/CalendarHolder.java
trunk/src/main/java/javax/xml/rpc/holders/DoubleHolder.java
trunk/src/main/java/javax/xml/rpc/holders/DoubleWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/FloatHolder.java
trunk/src/main/java/javax/xml/rpc/holders/FloatWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/Holder.java
trunk/src/main/java/javax/xml/rpc/holders/IntHolder.java
trunk/src/main/java/javax/xml/rpc/holders/IntegerWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/LongHolder.java
trunk/src/main/java/javax/xml/rpc/holders/LongWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/ObjectHolder.java
trunk/src/main/java/javax/xml/rpc/holders/QNameHolder.java
trunk/src/main/java/javax/xml/rpc/holders/ShortHolder.java
trunk/src/main/java/javax/xml/rpc/holders/ShortWrapperHolder.java
trunk/src/main/java/javax/xml/rpc/holders/StringHolder.java
trunk/src/main/java/javax/xml/rpc/server/
trunk/src/main/java/javax/xml/rpc/server/ServiceLifecycle.java
trunk/src/main/java/javax/xml/rpc/server/ServletEndpointContext.java
trunk/src/main/java/javax/xml/rpc/soap/
trunk/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java
trunk/src/main/java/org/jboss/ws/tools/wspublish.java
trunk/src/test/java/org/jboss/test/ws/jbws1068/JBWS1068TestCase.java
trunk/src/test/resources/jbws1068/wsrp_services.wsdl
trunk/src/test/resources/jbws1068/wsrp_v1_bindings.wsdl
trunk/src/test/resources/jbws1068/wsrp_v1_interfaces.wsdl
trunk/src/test/resources/jbws1068/wsrp_v1_types.xsd
trunk/src/test/resources/jbws944/META-INF/
trunk/src/test/resources/jbws944/META-INF/application-client.xml
trunk/src/test/resources/jbws944/META-INF/jaxrpc-mapping.xml
trunk/src/test/resources/jbws944/META-INF/jboss-client.xml
trunk/src/test/resources/jbws944/META-INF/wsdl/
trunk/src/test/resources/jbws944/META-INF/wsdl/TestService.wsdl
trunk/src/test/resources/jbws944/wstools-config.xml
Modified:
trunk/build.xml
trunk/docs/user-guide/project/en/master.template
trunk/docs/user-guide/project/en/modules/endpoints/endpoints.xml
trunk/docs/user-guide/project/en/modules/mtom-xop/mtom-xop.xml
trunk/docs/user-guide/project/en/modules/secureejb/secure-ejb.xml
trunk/docs/user-guide/project/en/modules/wssecurity/wssecurity.xml
trunk/src/main/java/org/jboss/ws/integration/tomcat/TomcatServiceEndpointPublisher.java
trunk/src/main/java/org/jboss/ws/server/HttpServer.java
trunk/src/main/resources/jbossws.war/JBoss/WEB-INF/web.xml
trunk/src/test/build.xml
trunk/src/test/etc/log4j.xml
trunk/src/test/java/org/jboss/test/ws/TomcatTestDeployer.java
trunk/src/test/java/org/jboss/test/ws/jbws718/JBWS718TestCase.java
trunk/src/test/java/org/jboss/test/ws/jbws732/JBWS732TestCase.java
trunk/src/test/java/org/jboss/test/ws/jbws801/JBWS801TestCase.java
trunk/src/test/java/org/jboss/test/ws/jbws944/JBWS944TestCase.java
trunk/src/test/java/org/jboss/test/ws/samples/jmstransport/JMSTransportTestCase.java
trunk/src/test/java/org/jboss/test/ws/samples/secureejb/SecureEJBTestCase.java
trunk/src/test/resources/samples-override/secureejb/META-INF/wsdl/OrganizationService.wsdl
trunk/src/test/resources/samples/secureejb/META-INF/application-client.xml
trunk/src/test/resources/samples/secureejb/META-INF/ejb-jar.xml
trunk/src/test/resources/samples/secureejb/META-INF/jboss.xml
trunk/src/test/resources/samples/secureejb/META-INF/webservices.xml
trunk/version.properties
Log:
Add JBWS-1068 test case.
Add CONFIDETIAL test case for ejb.
Add JBWS-944 test case.
Build jboss-jaxrpc, jboss-saaj
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/build.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -26,7 +26,7 @@
<property environment="env"/>
<property name="build.dir" value="${basedir}/output"/>
<property name="build.classes.dir" value="${build.dir}/classes"/>
- <property name="build.retro.dir" value="${build.dir}/classes14"/>
+ <property name="build.classes14.dir" value="${build.dir}/classes14"/>
<property name="build.etc.dir" value="${build.dir}/etc"/>
<property name="build.lib.dir" value="${build.dir}/lib"/>
<property name="build.resources.dir" value="${build.dir}/resources"/>
@@ -117,28 +117,44 @@
<target name="compile" depends="init,compile-classes,compile-etc,compile-resources" description="Compile all source files."/>
<!-- Compile java sources -->
- <target name="compile-classes" depends="compile-core,compile-integration"/>
+ <target name="compile-classes" depends="compile-interfaces,compile-core,compile-integration"/>
<!-- Compile core java sources -->
- <target name="compile-core" depends="init">
+ <target name="compile-interfaces" depends="init">
+ <mkdir dir="${build.classes14.dir}"/>
+ <javac srcdir="${src.java.dir}" destdir="${build.classes14.dir}" debug="${javac.debug}" verbose="${javac.verbose}"
+ deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}" source="1.4" target="1.4">
+ <include name="javax/xml/rpc/**"/>
+ <include name="javax/xml/soap/**"/>
+ <classpath refid="core.classpath"/>
+ </javac>
+ </target>
+
+ <!-- Compile core java sources -->
+ <target name="compile-core" depends="compile-interfaces">
<mkdir dir="${build.classes.dir}"/>
- <javac srcdir="${src.java.dir}" destdir="${build.classes.dir}" debug="${javac.debug}" verbose="${javac.verbose}"
- deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
+ <javac srcdir="${src.java.dir}" sourcepath="" destdir="${build.classes.dir}" debug="${javac.debug}" verbose="${javac.verbose}"
+ deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
+ <include name="javax/xml/ws/**"/>
+ <include name="javax/jws/**"/>
+ <include name="org/jboss/ws/**"/>
<exclude name="org/jboss/ws/integration/**"/>
<exclude name="org/jboss/ws/transport/jms/**"/>
<exclude name="org/jboss/ws/server/ServiceEndpointInterceptor.java"/>
+ <classpath path="${build.classes14.dir}"/>
<classpath refid="core.classpath"/>
</javac>
</target>
<!-- Compile interation java sources -->
- <target name="compile-integration" depends="init">
+ <target name="compile-integration" depends="compile-core">
<mkdir dir="${build.classes.dir}"/>
- <javac srcdir="${src.java.dir}" destdir="${build.classes.dir}" debug="${javac.debug}" verbose="${javac.verbose}"
+ <javac srcdir="${src.java.dir}" sourcepath="" destdir="${build.classes.dir}" debug="${javac.debug}" verbose="${javac.verbose}"
deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
<include name="org/jboss/ws/integration/**"/>
<include name="org/jboss/ws/transport/jms/**"/>
<include name="org/jboss/ws/server/ServiceEndpointInterceptor.java"/>
+ <classpath path="${build.classes14.dir}"/>
<classpath refid="integration.classpath"/>
</javac>
</target>
@@ -181,11 +197,35 @@
-->
<target name="module-jars">
+ <!-- Build jboss-jaxrpc.jar -->
+ <mkdir dir="${build.lib.dir}"/>
+ <jar jarfile="${build.lib.dir}/jboss-jaxrpc.jar" manifest="${build.etc.dir}/default.mf">
+ <fileset dir="${build.classes14.dir}">
+ <include name="javax/xml/rpc/**"/>
+ </fileset>
+ </jar>
+
+ <!-- Build jboss-saaj.jar -->
+ <mkdir dir="${build.lib.dir}"/>
+ <jar jarfile="${build.lib.dir}/jboss-saaj.jar" manifest="${build.etc.dir}/default.mf">
+ <fileset dir="${build.classes14.dir}">
+ <include name="javax/xml/soap/**"/>
+ </fileset>
+ </jar>
+
+ <!-- Build jboss-jaxws.jar -->
+ <mkdir dir="${build.lib.dir}"/>
+ <jar jarfile="${build.lib.dir}/jboss-jaxws.jar" manifest="${build.etc.dir}/default.mf">
+ <fileset dir="${build.classes.dir}">
+ <include name="javax/jws/**"/>
+ <include name="javax/xml/ws/**"/>
+ </fileset>
+ </jar>
+
<!-- Build jbossws-core.jar -->
<mkdir dir="${build.lib.dir}"/>
<jar jarfile="${build.lib.dir}/jbossws-core.jar" manifest="${build.etc.dir}/default.mf">
<fileset dir="${build.classes.dir}">
- <include name="javax/**"/>
<include name="org/jboss/ws/**"/>
<exclude name="org/jboss/ws/integration/**"/>
<exclude name="org/jboss/ws/transport/jms/**"/>
@@ -279,6 +319,7 @@
<include name="jbossws-jboss-integration.jar"/>
<include name="jbossws-context.war"/>
<include name="jbossws-core.jar"/>
+ <include name="jboss-jaxws.jar"/>
<include name="jbossws.beans"/>
</fileset>
<fileset dir="${thirdparty.dir}">
@@ -304,11 +345,19 @@
<target name="module-jars14" depends="jbossretro">
+ <!-- Build jboss-jaxws14.jar -->
+ <mkdir dir="${build.lib.dir}"/>
+ <jar jarfile="${build.lib.dir}/jboss-jaxws14.jar" manifest="${build.etc.dir}/default.mf">
+ <fileset dir="${build.classes14.dir}">
+ <include name="javax/jws/**"/>
+ <include name="javax/xml/ws/**"/>
+ </fileset>
+ </jar>
+
<!-- Build jbossws14-core.jar -->
<mkdir dir="${build.lib.dir}"/>
<jar jarfile="${build.lib.dir}/jbossws14-core.jar" manifest="${build.etc.dir}/default.mf">
- <fileset dir="${build.retro.dir}">
- <include name="javax/**"/>
+ <fileset dir="${build.classes14.dir}">
<include name="org/jboss/ws/**"/>
<exclude name="org/jboss/ws/integration/**"/>
<exclude name="org/jboss/ws/transport/jms/**"/>
@@ -322,7 +371,7 @@
<!-- Build jbossws-jboss-integration.jar -->
<jar jarfile="${build.lib.dir}/jbossws14-jboss-integration.jar" manifest="${build.etc.dir}/default.mf">
- <fileset dir="${build.retro.dir}">
+ <fileset dir="${build.classes14.dir}">
<include name="org/jboss/ws/integration/*.class"/>
<include name="org/jboss/ws/integration/jboss/**"/>
<include name="org/jboss/ws/transport/jms/**"/>
@@ -332,7 +381,7 @@
<!-- Build jbossws14-client.jar -->
<jar jarfile="${build.lib.dir}/jbossws14-client.jar" manifest="${build.etc.dir}/default.mf">
- <fileset dir="${build.retro.dir}">
+ <fileset dir="${build.classes14.dir}">
<include name="javax/**"/>
<include name="org/jboss/ws/**"/>
<exclude name="org/jboss/ws/integration/jboss/**"/>
@@ -359,6 +408,7 @@
<include name="jbossws14-jboss-integration.jar"/>
<include name="jbossws14-core.jar"/>
<include name="jbossws-context.war"/>
+ <include name="jboss-jaxws14.jar"/>
<include name="jbossws.beans"/>
</fileset>
<fileset dir="${thirdparty.dir}">
@@ -390,10 +440,12 @@
</classpath>
</taskdef>
- <mkdir dir="${build.retro.dir}"/>
+ <mkdir dir="${build.classes14.dir}"/>
- <retro destdir="${build.retro.dir}">
+ <retro destdir="${build.classes14.dir}">
<classpath>
+ <pathelement location="${build.lib.dir}/jboss-jaxrpc.jar"/>
+ <pathelement location="${build.lib.dir}/jboss-saaj.jar"/>
<pathelement location="${thirdparty.dir}/javassist.jar"/>
<pathelement location="${thirdparty.dir}/jbossretro.jar"/>
<pathelement location="${thirdparty.dir}/jboss-backport-concurrent.jar"/>
@@ -405,7 +457,7 @@
<src path="${build.classes.dir}"/>
</retro>
- <copy todir="${build.retro.dir}">
+ <copy todir="${build.classes14.dir}">
<fileset dir="${build.resources.dir}">
<include name="schema/**"/>
<include name="dtd/**"/>
@@ -464,8 +516,6 @@
<!-- Deploy to jboss -->
<target name="deploy-to-server">
- <copy todir="${jboss.deploy.home}/client" file="${thirdparty.dir}/jboss-xml-binding.jar" overwrite="true"/>
- <copy todir="${jboss.deploy.home}/lib" file="${thirdparty.dir}/jboss-xml-binding.jar" overwrite="true"/>
<copy todir="${jboss.deploy.home}/client" file="${build.lib.dir}/${jbossws}-client.jar" overwrite="true"/>
<delete dir="${jboss.deploy.home}/server/${jboss.server.instance}/deploy/${jbossws}.sar"/>
<mkdir dir="${jboss.deploy.home}/server/${jboss.server.instance}/deploy/${jbossws}.sar"/>
@@ -497,8 +547,6 @@
<!-- Build jbossws-thirdparty.jar -->
<mkdir dir="${build.lib.dir}/build"/>
<unjar dest="${build.lib.dir}/build" src="${jboss.lib}/jboss-common.jar"/>
- <unjar dest="${build.lib.dir}/build" src="${jboss.server.lib}/jboss-jaxrpc.jar"/>
- <unjar dest="${build.lib.dir}/build" src="${jboss.server.lib}/jboss-saaj.jar"/>
<unjar dest="${build.lib.dir}/build" src="${jboss.server.lib}/jboss-j2ee.jar"/>
<unjar dest="${build.lib.dir}/build" src="${thirdparty.dir}/jboss-container.jar"/>
<unjar dest="${build.lib.dir}/build" src="${thirdparty.dir}/jboss-dependency.jar"/>
@@ -523,12 +571,15 @@
<target name="release" depends="all" description="Release to jboss.local.repository">
<!-- jbossws -->
- <property name="jbossws.dir" value="${jboss.local.repository}/jboss/jbossws/${version.id}"/>
+ <property name="jbossws.dir" value="${jboss.local.repository}/jboss/jbossws/${repository.id}"/>
<mkdir dir="${jbossws.dir}/lib"/>
<copy todir="${jbossws.dir}/lib" overwrite="true">
<fileset dir="${build.lib.dir}">
<include name="jbossws.sar"/>
<include name="jbossws-client.jar"/>
+ <include name="jboss-jaxrpc.jar"/>
+ <include name="jboss-jaxws.jar"/>
+ <include name="jboss-saaj.jar"/>
</fileset>
</copy>
<copy tofile="${jbossws.dir}/component-info.xml" file="${src.etc.dir}/jbossws-component-info.xml" filtering="true" overwrite="true">
@@ -538,12 +589,15 @@
</copy>
<!-- jbossws14 -->
- <property name="jbossws14.dir" value="${jboss.local.repository}/jboss/jbossws14/${version.id}"/>
+ <property name="jbossws14.dir" value="${jboss.local.repository}/jboss/jbossws14/${repository.id}"/>
<mkdir dir="${jbossws14.dir}/lib"/>
<copy todir="${jbossws14.dir}/lib" overwrite="true">
<fileset dir="${build.lib.dir}">
<include name="jbossws14.sar"/>
<include name="jbossws14-client.jar"/>
+ <include name="jboss-jaxws14.jar"/>
+ <include name="jboss-jaxrpc.jar"/>
+ <include name="jboss-saaj.jar"/>
</fileset>
</copy>
<copy tofile="${jbossws14.dir}/component-info.xml" file="${src.etc.dir}/jbossws14-component-info.xml" filtering="true" overwrite="true">
Modified: trunk/docs/user-guide/project/en/master.template
===================================================================
--- trunk/docs/user-guide/project/en/master.template 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/docs/user-guide/project/en/master.template 2006-08-30 22:32:11 UTC (rev 865)
@@ -23,6 +23,7 @@
<!ENTITY s-jsr181-pojo-endpoint SYSTEM "modules/endpoints/jsr181-pojo-endpoint.xml">
<!ENTITY s-jsr181-ejb3-endpoint SYSTEM "modules/endpoints/jsr181-ejb3-endpoint.xml">
<!ENTITY s-service-lifecycle SYSTEM "modules/endpoints/service-lifecycle.xml">
+<!ENTITY s-templates SYSTEM "modules/endpoints/template-config.xml">
<!ENTITY ch-clients SYSTEM "modules/clients/clients.xml">
<!ENTITY s-jsr109-clients SYSTEM "modules/clients/jsr109-clients.xml">
<!ENTITY s-dii-clients SYSTEM "modules/clients/dii-clients.xml">
@@ -74,9 +75,9 @@
</para>
<para> If you have questions regarding JBossWS, please feel to ask the JBossWS team.</para>
- <para>Web Service Lead - thomas.diesler at jboss.org</para>
- <para>WS-Security, WSTools - jason.greene at jboss.org</para>
- <para>WS-Eventing, Standards - heiko.braun at jboss.org</para>
+ <para>Web Service Lead - Thomas Diesler</para>
+ <para>WS-Security, WSTools - Jason Greene</para>
+ <para>WS-Eventing, Standards - Heiko Braun</para>
</preface>
Modified: trunk/docs/user-guide/project/en/modules/endpoints/endpoints.xml
===================================================================
--- trunk/docs/user-guide/project/en/modules/endpoints/endpoints.xml 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/docs/user-guide/project/en/modules/endpoints/endpoints.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -14,5 +14,6 @@
&s-jsr109-endpoints;
&s-jsr181-endpoints;
&s-service-lifecycle;
+ &s-templates;
</chapter>
Copied: trunk/docs/user-guide/project/en/modules/endpoints/template-config.xml (from rev 863, branches/tdiesler/trunk/docs/user-guide/project/en/modules/endpoints/template-config.xml)
Modified: trunk/docs/user-guide/project/en/modules/mtom-xop/mtom-xop.xml
===================================================================
--- trunk/docs/user-guide/project/en/modules/mtom-xop/mtom-xop.xml 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/docs/user-guide/project/en/modules/mtom-xop/mtom-xop.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -3,96 +3,142 @@
<!-- $Id$ -->
<chapter id="mtom-xop">
-
- <title>MTOM/XOP</title>
-
- <para>This chapter describes Message Transmission Optimization Mechanism (MTOM) and XML-binary Optimized Packaging (XOP),
- a means of more efficiently serializing XML Infosets that have certain types of content.
- The related specifications are <ulink url=" http://www.w3.org/TR/soap12-mtom/">SOAP Message Transmission Optimization Mechanism (MTOM)</ulink>
- and <ulink url="http://www.w3.org/TR/xop10/">XML-binary Optimized Packaging (XOP)</ulink>
- </para>
-
- <para>The MTOM/XOP example uses a service endpoint interface with the same operations as in <link linkend="attachments">SOAP with Attachments</link>
- </para>
-
- <para><command>Generating required deployment artifacts</command></para>
-
- <para>Run wstools with the following configuration</para>
-
- <para>
- <programlisting>
- <ulink url="http://jira.jboss.org/jira/browse/JBWS-703">FIXME: JBWS-703</ulink>
- </programlisting>
- </para>
-
- <para>WSTools does generate schema elements of type xsd:base64Binary with the associated xmime:expectedContentTypes.
- There is no special mime binding.</para>
-
- <para>
- <programlisting><![CDATA[
- <element name="imagegif" xmime:expectedContentTypes="image/gif"
- type="xmime:base64Binary"/>
- <element name="imagejpeg" xmime:expectedContentTypes="image/jpeg"
- type="xmime:base64Binary"/>
- <element name="textplain" xmime:expectedContentTypes="text/plain"
- type="xmime:base64Binary"/>
- <element name="multipart" xmime:expectedContentTypes="multipart/*"
- type="xmime:base64Binary"/>
- <element name="textxml" xmime:expectedContentTypes="text/xml"
- type="xmime:base64Binary"/>
- <element name="applxml" xmime:expectedContentTypes="application/xml"
- type="xmime:base64Binary"/>
-
- <binding name="XOPTestBinding" type="tns:XOPTest">
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
- <operation name="sendMimeImageGIF">
- <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>
+
+ <title>MTOM/XOP</title>
+
+ <para>This chapter describes Message Transmission Optimization Mechanism (MTOM) and XML-binary Optimized Packaging (XOP),
+ a means of more efficiently serializing XML Infosets that have certain types of content.
+ The related specifications are <ulink url=" http://www.w3.org/TR/soap12-mtom/">SOAP Message Transmission Optimization Mechanism (MTOM)</ulink>
+ and <ulink url="http://www.w3.org/TR/xop10/">XML-binary Optimized Packaging (XOP)</ulink>
+ </para>
+
+ <para>The MTOM/XOP example uses a service endpoint interface with the same operations as in <link linkend="attachments">SOAP with Attachments</link>
+ </para>
+
+ <sect1 id="mtom-schema-elements">
+ <title>MTOM schema elements</title>
+
+
+ <para>Currently neither wstools nor wscompile has support for MTOM.
+ Fortunatly a MTOM optimizable element decalaration isn't that difficult to understand
+ and can easily be created manually:</para>
+
+ <para>
+ <programlisting><![CDATA[
+ <schema xmlns="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://org.jboss.ws/samples/mtom"
+ xmlns:xmime="http://www.w3.org/2005/05/xmlmime">
+
+ (1) <import schemaLocation="http://www.w3.org/2005/05/xmlmime" namespace="http://www.w3.org/2005/05/xmlmime"/>
+
+ (2) <element name="imagejpeg" xmime:contentType="image/jpeg" type="xmime:base64Binary"/>
+ </schema>
+ ]]></programlisting>
+
+ <orderedlist>
+ <listitem>
+ <para>
+ Import the xmime schema declarations
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Derive your element declaration from xmime:base64Binary
+ </para>
+ </listitem>
+ </orderedlist>
+
+ The JBossWS MTOM implementation scans the associated schema
+ and will treat any xmime:base64Binary occurance as a MTOM optimizable parameter.
+ </para>
+
+ </sect1>
+
+ <sect1 id="mtom-schema-elements">
+ <title>Supported MTOM parameter types</title>
+ <para>
+ <table frame="all">
+ <title>Java to Mime mapping</title>
+ <tgroup cols="2">
+ <tbody>
+ <row>
+ <entry>image/jpeg</entry>
+ <entry>java.awt.Image</entry>
+ </row>
+ <row>
+ <entry>text/xml</entry>
+ <entry>javax.xml.transform.Source</entry>
+ </row>
+ <row>
+ <entry>application/xml</entry>
+ <entry>javax.xml.transform.Source</entry>
+ </row>
+ <row>
+ <entry>*/*</entry>
+ <entry>javax.activation.DataHandler</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </para>
+
+ The above table shows a list of supported endpoint parameter types. The recommended approach is to use
+ the <ulink url="http://java.sun.com/j2ee/1.4/docs/api/javax/activation/DataHandler.html">
+ javax.activation.DataHandler</ulink> classes to represent binary data as service endpoint parameters.
+
+ </sect1>
+
+ <sect1>
+ <title>An example MTOM request</title>
+
+ <para>The incomming message is multipart/related. The first part is the SOAP Envelope.</para>
+
+ <para>
+ <programlisting><![CDATA[
+POST /jbossws-samples-mtom HTTP/1.1
+SOAPAction: ""
+Content-Type: multipart/related; start-info="text/xml";
+ type="application/xop+xml";
+ start="<rootpart at ws.jboss.org>";
+ boundary="----=_Part_2_29441291.1153833579421"
+User-Agent: Java/1.5.0_07
+Host: localhost:8081
+Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
+Connection: keep-alive
+Content-Length: 915
+
+
+------=_Part_2_29441291.1153833579421
+Content-Type: application/xop+xml; type="text/xml"
+Content-Transfer-Encoding: 8bit
+Content-ID: <rootpart at ws.jboss.org>
+
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
+ <env:Header/>
+ <env:Body>
+ <ns1:sendMimeTextXML xmlns:ns1='http://org.jboss.ws/samples/mtom'>
+ <message>Some text message</message>
+ <ns1:textxml>
+ <xop:Include
+ href='cid:textxml-590c9216-9871-48a8-9239-f73831644442 at ws.jboss.org'
+ xmlns:xop='http://www.w3.org/2004/08/xop/include'/>
+ </ns1:textxml>
+ </ns1:sendMimeTextXML>
+ </env:Body>
+</env:Envelope>
+------=_Part_2_29441291.1153833579421
+Content-Type: text/xml
+Content-Transfer-Encoding: binary
+Content-Id: <textxml-590c9216-9871-48a8-9239-f73831644442 at ws.jboss.org>
+
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<mime-message>This is an xml attachment.</mime-message>
+
+------=_Part_2_29441291.1153833579421--
+
]]></programlisting></para>
-
- <para><command>SOAP message exchange</command></para>
-
- <para>The incomming message is multipart/related. The first part is the SOAP Envelope.</para>
-
- <para>
- <programlisting><![CDATA[
- Incomming SOAPMessage
+
+ </sect1>
- <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
- <env:Header/>
- <env:Body>
- <ns1:sendMimeImageGIF xmlns:ns1='http://org.jboss.ws/samples/mtom'>
- <message>Some text message</message>
- <ns1:imagegif xmime:contentType='image/gif'
- xmlns:xmime='http://www.w3.org/2004/11/xmlmime'>
- <xop:Include href='cid:imagegif-... at ws.jboss.org'
- xmlns:xop='http://www.w3.org/2004/08/xop/include'/>
- </ns1:imagegif>
- </ns1:sendMimeImageGIF>
- </env:Body>
- </env:Envelope>
- ]]></programlisting></para>
-
- <para>
- <programlisting><![CDATA[
- Outgoing SOAPMessage
-
- <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
- <env:Header/>
- <env:Body>
- <ns1:sendMimeImageGIFResponse xmlns:ns1='http://org.jboss.ws/samples/mtom'>
- <result>[pass]</result>
- </ns1:sendMimeImageGIFResponse>
- </env:Body>
- </env:Envelope>
- ]]></programlisting></para>
-
</chapter>
\ No newline at end of file
Modified: trunk/docs/user-guide/project/en/modules/secureejb/secure-ejb.xml
===================================================================
--- trunk/docs/user-guide/project/en/modules/secureejb/secure-ejb.xml 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/docs/user-guide/project/en/modules/secureejb/secure-ejb.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -198,8 +198,7 @@
</jboss>
]]></programlisting></para>
- <para>At last, make sure that your WSDL files point to the right url.
- Otherwise your webservice client may be redirected to the unsecure HTTP access method.
+ <para>At last, make sure that the endpoint address in your WSDL file uses a secure protocol.
The easiest way is to add "https://" to the SOAP Address entry:</para>
<para>
Modified: trunk/docs/user-guide/project/en/modules/wssecurity/wssecurity.xml
===================================================================
--- trunk/docs/user-guide/project/en/modules/wssecurity/wssecurity.xml 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/docs/user-guide/project/en/modules/wssecurity/wssecurity.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -3,58 +3,60 @@
<!-- $Id$ -->
<chapter id="wssecurity">
-
- <title>WS-Security</title>
-
- <para>WS-Security standardizes authorization, encryption, and digital signature processing of web services.
- Unlike transport security models, such as SSL, WS-Security applies security directly to the elements of the web service message.
- This increases the flexibility of your web services, by allowing any message model to be used (point to point, multi-hop relay, etc).
- </para>
-
- <para>This chapter describes how to use WS-Security to sign and encrypt a simple SOAP message.</para>
-
- <para><command>Specifications</command></para>
-
- <para>WS-Security is defined by the combination of the following specifications:</para>
- <para>
- <itemizedlist>
- <listitem>
- <para><ulink url="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0.pdf">SOAP Message Security 1.0</ulink></para>
- </listitem>
- <listitem>
- <para><ulink url="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0.pdf">Username Token Profile 1.0</ulink></para>
- </listitem>
- <listitem>
- <para><ulink url="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0.pdf">X.509 Token Profile 1.0</ulink></para>
- </listitem>
- <listitem>
- <para><ulink url="http://www.w3.org/TR/xmlenc-core">W3C XML Encryption</ulink></para>
- </listitem>
- <listitem>
- <para><ulink url="http://www.w3.org/TR/xmldsig-core">W3C XML Signature</ulink></para>
- </listitem>
- <listitem>
- <para><ulink url="http://www.ws-i.org/Profiles/BasicSecurityProfile-1.0.html">Basic Security Profile 1.0 (Still in Draft)</ulink></para>
- </listitem>
- </itemizedlist> </para>
+ <title>WS-Security</title>
- <para> Lets start with a trivial service endpoint interface (SEI) that echos a user defined type.</para>
-
- <para>
- <programlisting><![CDATA[
+ <para>WS-Security standardizes authorization, encryption, and digital signature processing of web services.
+ Unlike transport security models, such as SSL, WS-Security applies security directly to the elements of the web service message.
+ This increases the flexibility of your web services, by allowing any message model to be used (point to point, multi-hop relay, etc).
+ </para>
+
+ <para>This chapter describes how to use WS-Security to sign and encrypt a simple SOAP message.</para>
+
+ <para><command>Specifications</command></para>
+
+ <para>WS-Security is defined by the combination of the following specifications:</para>
+
+ <para>
+ <itemizedlist>
+ <listitem>
+ <para><ulink url="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0.pdf">SOAP Message Security 1.0</ulink></para>
+ </listitem>
+ <listitem>
+ <para><ulink url="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0.pdf">Username Token Profile 1.0</ulink></para>
+ </listitem>
+ <listitem>
+ <para><ulink url="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0.pdf">X.509 Token Profile 1.0</ulink></para>
+ </listitem>
+ <listitem>
+ <para><ulink url="http://www.w3.org/TR/xmlenc-core">W3C XML Encryption</ulink></para>
+ </listitem>
+ <listitem>
+ <para><ulink url="http://www.w3.org/TR/xmldsig-core">W3C XML Signature</ulink></para>
+ </listitem>
+ <listitem>
+ <para><ulink url="http://www.ws-i.org/Profiles/BasicSecurityProfile-1.0.html">Basic Security Profile 1.0 (Still in Draft)</ulink></para>
+ </listitem>
+ </itemizedlist> </para>
+
+ <sect1>
+ <title>Generating required deployment artifacts</title>
+
+ <para> Lets start with a trivial service endpoint interface (SEI) that echos a user defined type.</para>
+
+ <para>
+ <programlisting><![CDATA[
public interface Hello extends Remote
{
public UserType echoUserType(UserType in0) throws RemoteException;
}
]]></programlisting></para>
-
- <para><command>Generating required deployment artifacts</command></para>
- <para>Run wstools with the following configuration</para>
-
- <para>
- <programlisting><![CDATA[
+
+ <para>Run wstools with the following configuration</para>
+
+ <para>
+ <programlisting><![CDATA[
<configuration ...>
<java-wsdl>
<service name="HelloService" style="rpc"
@@ -68,104 +70,234 @@
</java-wsdl>
</configuration>
]]></programlisting></para>
-
- <para><command>Server configuration (jboss-wsse-server.xml)</command></para>
-
- <para>In this example we configure both the client and the server to sign the message body.
- Both also require this from each other. So, if you remove either the client or the server security deployment descriptor,
- you will notice that the other party will throw a fault explaining that the message did not conform to the proper security requirements.</para>
-
- <para>
- <programlisting><![CDATA[
+ </sect1>
+
+ <sect1>
+ <title>Configuration and setup</title>
+
+ <sect2>
+ <title>Enable security processing</title>
+ <para>
+ JBossWS uses generic <link linkend="handlers">JAXRPC handlers</link> to identify ws-security encoded requests
+ and invoke the security components to sign and encrypt messages. In order to enable security processing,
+ the client and server side need to include a corressponding handler configuration. The preferred way is to reference
+ a <link linkend="template-config">predefined endpoint configuration</link> (excerpt from WEB-INF/web.xml):
+
+ <programlisting><![CDATA[
+<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>
+ (1) <param-name>jbossws-config-name</param-name>>
+ (2) <param-value>Standard Secure Endpoint</param-value>
+ </context-param>
+
+ <servlet>
+ <servlet-name>HelloService</servlet-name>
+ <servlet-class>org.jboss.test.ws.samples.wssecurity.HelloJavaBean</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>HelloService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+</web-app> ]]></programlisting>
+
+ <orderedlist>
+ <listitem>
+ <para>
+ JBossWS specific context param
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Point it to 'Standard Secure Endpoint'
+ </para>
+ </listitem>
+ </orderedlist>
+ </para>
+
+ <para>
+ Or the equivalent on the client side (excerpt from META-INF/jboss-client.xml):
+ <programlisting><![CDATA[
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ (1) <config-name>Standard Secure Client</config-name>
+ <wsdl-override>http://@jbosstest.host.name@:8080/jbossws-samples-wssecurity-encrypt?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
+ ]]></programlisting>
+
+ <orderedlist>
+ <listitem>
+ <para>
+ JBossWS configuration. Point it to 'Standard Secure Client'
+ </para>
+ </listitem>
+ </orderedlist>
+ </para>
+
+ <sect3>
+ <title>Security processing with JSR-181 endpoints</title>
+ <para>
+ With JSR-181 endpoints we can't directly reference a predefined endpoint configuration,
+ therefore we have to reference the necessary handlers directly to be able to process WSSE messages:
+
+ <programlisting><![CDATA[
+[...]
+(1) @HandlerChain(file = "resource://config/ServerHandlers.xml", name = "SecureHandlerChain")
+public class EJB3Bean01 implements EJB3RemoteInterface
+{
+ @WebMethod
+ public String echo(String input)
+ {
+ return input;
+ }
+}
+ ]]></programlisting>
+
+ <orderedlist>
+ <listitem>
+ <para>
+ Reference to handler configuration file that specifies the WSSE handlers needed
+ </para>
+ </listitem>
+ </orderedlist>
+
+ <note><para>These excerpts are taken from the JSR181 ejb endpoint examples shipped with the distribution</para></note>
+
+ Contents of the ServerHandler.xml file referenced above:
+ <programlisting><![CDATA[
+<?xml version="1.0" encoding="UTF-8"?>
+
+<handler-config>
+ <handler-chain>
+ <handler-chain-name>SecureHandlerChain</handler-chain-name>
+ <handler>
+ <handler-name>WSSecurityHandlerInbound</handler-name>
+ <handler-class>org.jboss.ws.wsse.WSSecurityHandlerInbound</handler-class>
+ </handler>
+ </handler-chain>
+</handler-config>
+ ]]></programlisting>
+
+ </para>
+ </sect3>
+ </sect2>
+
+ <sect2>
+ <title>Configure the WS-Security implementation</title>
+ Once you enabled security processing, it's time configure the ws-security implementation.
+ Both client and server require configuration files that specify key-store, trust-store
+ and various other ws-security specific options.
+
+ <para><command>Server side configuration (jboss-wsse-server.xml)</command></para>
+
+ <para>In this example we configure both the client and the server to sign the message body.
+ Both also require this from each other. So, if you remove either the client or the server security deployment descriptor,
+ you will notice that the other party will throw a fault explaining that the message did not conform to the proper security requirements.</para>
+
+ <para>
+ <programlisting><![CDATA[
<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">
- 1. <key-store-file>WEB-INF/wsse.keystore</key-store-file>
- 2. <key-store-password>jbossws</key-store-password>
- 3. <trust-store-file>WEB-INF/wsse.truststore</trust-store-file>
- 4. <trust-store-password>jbossws</trust-store-password>
- 5. <config>
- 6. <sign type="x509v3" alias="wsse"/>
- 7. <requires>
- 8. <signature/>
+ (1) <key-store-file>WEB-INF/wsse.keystore</key-store-file>
+ (2) <key-store-password>jbossws</key-store-password>
+ (3) <trust-store-file>WEB-INF/wsse.truststore</trust-store-file>
+ (4) <trust-store-password>jbossws</trust-store-password>
+ (5) <config>
+ (6) <sign type="x509v3" alias="wsse"/>
+ (7) <requires>
+ (8) <signature/>
</requires>
</config>
</jboss-ws-security>
]]></programlisting></para>
- <para>
- <orderedlist>
- <listitem>
- <para>This specifies that the key store we wish to use is WEB-INF/wsse.keystore, which is located in our war file.</para>
- </listitem>
- <listitem>
- <para>This specifies that the store password is "jbossws"</para>
- </listitem>
- <listitem>
- <para>This specifies that the trust store we wish to use is WEB-INF/wsse.truststore, which is located in our war file.</para>
- </listitem>
- <listitem>
- <para>This specifies that the trust store password is also "jbossws"</para>
- </listitem>
- <listitem>
- <para>Here we start our root config block. The root config block is the default configuration for all services in this war file.</para>
- </listitem>
- <listitem>
- <para>This means that the server must sign the message body of all responses. Type means that we are to use a X.509v3 certificate (a standard certificate). The alias option says that the certificate/key pair to use for signing is in the key store under the "wsse" alias</para>
- </listitem>
- <listitem>
- <para>Here we start our optional requires block. This block specifies all security requirements that must be met when the server receives a message.</para>
- </listitem>
- <listitem>
- <para> This means that all web services in this war file require the message body to be siged.</para>
- </listitem>
- </orderedlist>
- </para>
+ <para>
+ <orderedlist>
+ <listitem>
+ <para>This specifies that the key store we wish to use is WEB-INF/wsse.keystore, which is located in our war file.</para>
+ </listitem>
+ <listitem>
+ <para>This specifies that the store password is "jbossws". Password can be encypted using the {EXT} and {CLASS} commands. Please see samples for their usage.</para>
+ </listitem>
+ <listitem>
+ <para>This specifies that the trust store we wish to use is WEB-INF/wsse.truststore, which is located in our war file.</para>
+ </listitem>
+ <listitem>
+ <para>This specifies that the trust store password is also "jbossws". Password can be encypted using the {EXT} and {CLASS} commands. Please see samples for their usage.</para>
+ </listitem>
+ <listitem>
+ <para>Here we start our root config block. The root config block is the default configuration for all services in this war file.</para>
+ </listitem>
+ <listitem>
+ <para>This means that the server must sign the message body of all responses. Type means that we are to use a X.509v3 certificate (a standard certificate). The alias option says that the certificate/key pair to use for signing is in the key store under the "wsse" alias</para>
+ </listitem>
+ <listitem>
+ <para>Here we start our optional requires block. This block specifies all security requirements that must be met when the server receives a message.</para>
+ </listitem>
+ <listitem>
+ <para> This means that all web services in this war file require the message body to be siged.</para>
+ </listitem>
+ </orderedlist>
+ </para>
+ </sect2>
- <para><command> Client configuration (jboss-wsse-client.xml)</command></para>
-
- <para>
- <programlisting><![CDATA[
+
+ <para><command>Client configuration (jboss-wsse-client.xml)</command></para>
+
+ <para>
+ <programlisting><![CDATA[
<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">
- 1. <config>
- 2. <sign type="x509v3" alias="wsse"/>
- 3. <requires>
- 4. <signature/>
+ (1) <config>
+ (2) <sign type="x509v3" alias="wsse"/>
+ (3) <requires>
+ (4) <signature/>
</requires>
</config>
</jboss-ws-security>
]]></programlisting></para>
- <para>
- <orderedlist>
- <listitem>
- <para>Here we start our root config block. The root config block is the default configuration for all web service clients (Call, Proxy objects).</para>
- </listitem>
- <listitem>
- <para>This means that the client must sign the message body of all requests it sends. Type means that we are to use a X.509v3 certificate (a standard certificate). The alias option says that the certificate/key pair to use for signing is in the key store under the "wsse" alias</para>
- </listitem>
- <listitem>
- <para>Here we start our optional requires block. This block specifies all security requirements that must be met when the client receives a response.</para>
- </listitem>
- <listitem>
- <para> This means that all web service clients must receive signed response messages.</para>
- </listitem>
- </orderedlist>
- </para>
+ <para>
+ <orderedlist>
+ <listitem>
+ <para>Here we start our root config block. The root config block is the default configuration for all web service clients (Call, Proxy objects).</para>
+ </listitem>
+ <listitem>
+ <para>This means that the client must sign the message body of all requests it sends. Type means that we are to use a X.509v3 certificate (a standard certificate). The alias option says that the certificate/key pair to use for signing is in the key store under the "wsse" alias</para>
+ </listitem>
+ <listitem>
+ <para>Here we start our optional requires block. This block specifies all security requirements that must be met when the client receives a response.</para>
+ </listitem>
+ <listitem>
+ <para> This means that all web service clients must receive signed response messages.</para>
+ </listitem>
+ </orderedlist>
+ </para>
- <para>We did not specify a key store or trust store, because client apps instead use the wsse System properties instead. If this was a web or ejb client (meaning a webservice client in a war or ejb jar file), then we would have specified them in the client descriptor.</para>
+ <para>We did not specify a key store or trust store, because client apps instead use the wsse System properties instead. If this was a web or ejb client (meaning a webservice client in a war or ejb jar file), then we would have specified them in the client descriptor.</para>
- <para><command>SOAP message exchange</command></para>
-
- <para>Below you see the incomming SOAP message with the details of the security headers ommited. The idea is, that the SOAP body is still
- plain text, but it is signed in the security header and can therefore not manipulated in transit.</para>
-
- <para>
- <programlisting><![CDATA[
+ </sect1>
+
+ <sect1>
+ <title>SOAP message exchange</title>
+
+ <para>Below you see the incomming SOAP message with the details of the security headers ommited. The idea is, that the SOAP body is still
+ plain text, but it is signed in the security header and can therefore not manipulated in transit.</para>
+
+ <para>
+ <programlisting><![CDATA[
Incomming SOAPMessage
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
@@ -189,38 +321,38 @@
</env:Body>
</env:Envelope>
]]></programlisting></para>
-
- <para><command>Installing the BouncyCastle JCE provider</command></para>
-
- <para>
- The information below has originaly been provided by <ulink url="http://www.bouncycastle.org/specifications.html#install">The Legion of the Bouncy Castle</ulink>.
- </para>
-
- <para>
- The provider can be configured as part of your environment via static registration by adding an
- entry to the java.security properties file (found in $JAVA_HOME/jre/lib/security/java.security,
- where $JAVA_HOME is the location of your JDK/JRE distribution).
- You'll find detailed instructions in the file but basically it comes down to adding a line:
- </para>
- <para>
- <programlisting><![CDATA[
+ </sect1>
+
+ <sect1>
+ <title>Installing the BouncyCastle JCE provider (JDK 1.4)</title>
+
+ <para>
+ The information below has originaly been provided by <ulink url="http://www.bouncycastle.org/specifications.html#install">The Legion of the Bouncy Castle</ulink>.
+ </para>
+
+ <para>
+ The provider can be configured as part of your environment via static registration by adding an
+ entry to the java.security properties file (found in $JAVA_HOME/jre/lib/security/java.security,
+ where $JAVA_HOME is the location of your JDK/JRE distribution).
+ You'll find detailed instructions in the file but basically it comes down to adding a line:
+ </para>
+
+ <para>
+ <programlisting><![CDATA[
security.provider.<n>=org.bouncycastle.jce.provider.BouncyCastleProvider
]]></programlisting></para>
- <para>
- Where <n> is the preference you want the provider at (1 being the most prefered).
- Note: issues arise if the Sun provided providers are not first.
- </para>
+ <para>
+ Where <n> is the preference you want the provider at.
+ <note><para>Issues may arise if the Sun provided providers are not first.</para></note>
+ </para>
- <para>
- Where you put the jar is up to mostly up to you, although with jdk1.4 the best
- (and in some cases only) place to have it is in $JAVA_HOME/jre/lib/ext.
- </para>
-
- <para>
- Note: under Windows there will normally be a JRE and a JDK install of Java if you think you have installed it
- correctly and it still doesn't work chances are you have added the provider to the installation not being used.
- </para>
-
+ <para>
+ Where you put the jar is up to mostly up to you, although with jdk1.4 the best
+ (and in some cases only) place to have it is in $JAVA_HOME/jre/lib/ext.
+ Under Windows there will normally be a JRE and a JDK install of Java if you think you have installed it
+ correctly and it still doesn't work chances are you have added the provider to the installation not being used.
+ </para>
+ </sect1>
</chapter>
\ No newline at end of file
Copied: trunk/src/main/java/javax/xml/rpc (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc)
Deleted: trunk/src/main/java/javax/xml/rpc/Call.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/Call.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/Call.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,259 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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 javax.xml.rpc;
-
-import javax.xml.namespace.QName;
-import java.rmi.RemoteException;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-/** The javax.xml.rpc.Call interface provides support for the dynamic invocation of a service endpoint.
- * The javax.xml.rpc.Service interface acts as a factory for the creation of Call instances.
- *
- * Once a Call instance is created, various setter and getter methods may be used to configure this Call instance.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public interface Call
-{
- /** Standard property: User name for authentication Type: java.lang.String */
- public static final String USERNAME_PROPERTY = "javax.xml.rpc.security.auth.username";
- /** Standard property: Password for authentication Type: java.lang.String */
- public static final String PASSWORD_PROPERTY = "javax.xml.rpc.security.auth.password";
- /** Standard property for operation style. */
- public static final String OPERATION_STYLE_PROPERTY = "javax.xml.rpc.soap.operation.style";
- /** Standard property for SOAPAction. */
- public static final String SOAPACTION_USE_PROPERTY = "javax.xml.rpc.soap.http.soapaction.use";
- /** Standard property for SOAPAction. */
- public static final String SOAPACTION_URI_PROPERTY = "javax.xml.rpc.soap.http.soapaction.uri";
- /** Standard property for encoding Style: Encoding style specified as a namespace URI. */
- public static final String ENCODINGSTYLE_URI_PROPERTY = "javax.xml.rpc.encodingstyle.namespace.uri";
- /** Standard property: This boolean property is used by a service client to indicate whether or not it wants to participate in a session with a service endpoint. */
- public static final String SESSION_MAINTAIN_PROPERTY = "javax.xml.rpc.session.maintain";
-
- /** Indicates whether addParameter and setReturnType methods are to be invoked to specify the parameter and return
- * type specification for a specific operation.
- * @param operationName Qualified name of the operation
- * @return Returns true if the Call implementation class requires addParameter and setReturnType to be invoked in the client code for the specified operation. This method returns false otherwise.
- * @throws IllegalArgumentException If invalid operation name is specified
- */
- public boolean isParameterAndReturnSpecRequired(QName operationName);
-
- /** Adds a parameter type and mode for a specific operation.
- * Note that the client code may not call any addParameter and setReturnType methods before calling the invoke method.
- * In this case, the Call implementation class determines the parameter types by using reflection on parameters,
- * using the WSDL description and configured type mapping registry.
- *
- * @param paramName Name of the parameter
- * @param xmlType XML type of the parameter
- * @param parameterMode Mode of the parameter-whether ParameterMode.IN, ParameterMode.OUT, or ParameterMode.INOUT
- * @throws JAXRPCException This exception may be thrown if the method isParameterAndReturnSpecRequired returns false for this operation.
- * @throws IllegalArgumentException If any illegal parameter name or XML type is specified
- */
- public void addParameter(String paramName, QName xmlType, ParameterMode parameterMode);
-
- /** Adds a parameter type and mode for a specific operation.
- * This method is used to specify the Java type for either OUT or INOUT parameters.
- *
- * @param paramName Name of the parameter
- * @param xmlType XML type of the parameter
- * @param javaType Java class of the parameter
- * @param parameterMode Mode of the parameter-whether ParameterMode.IN, ParameterMode.OUT, or ParameterMode.INOUT
- * @throws JAXRPCException
- * <ul>
- * <li>This exception may be thrown if the method isParameterAndReturnSpecRequired returns false for this operation.
- * <li>If specified XML type and Java type mapping is not valid. For example, TypeMappingRegistry has no serializers for this mapping.
- * </ul>
- * @throws IllegalArgumentException If any illegal parameter name or XML type is specified
- * @throws UnsupportedOperationException If this method is not supported
- */
- public void addParameter(String paramName, QName xmlType, Class javaType, ParameterMode parameterMode);
-
- /** Gets the XML type of a parameter by name.
- *
- * @param paramName - Name of the parameter
- * @return Returns XML type for the specified parameter
- */
- public QName getParameterTypeByName(String paramName);
-
- /** Sets the return type for a specific operation. Invoking setReturnType(null) removes the return type for this Call object.
- *
- * @param xmlType XML data type of the return value
- * @throws JAXRPCException This exception may be thrown when the method isParameterAndReturnSpecRequired returns false.
- * @throws IllegalArgumentException If an illegal XML type is specified
- */
- public void setReturnType(QName xmlType);
-
- /** Sets the return type for a specific operation.
- *
- * @param xmlType XML data type of the return value
- * @param javaType Java Class of the return value
- * @throws JAXRPCException
- * <ul>
- * <li>This exception may be thrown if this method is invoked when the method isParameterAndReturnSpecRequired returns false.
- * <li>If XML type and Java type cannot be mapped using the standard type mapping or TypeMapping registry
- * </ul>
- * @throws UnsupportedOperationException If this method is not supported
- * @throws IllegalArgumentException If an illegal XML type is specified
- */
- public void setReturnType(QName xmlType, Class javaType);
-
- /** Gets the return type for a specific operation
- *
- * @return Returns the XML type for the return value
- */
- public QName getReturnType();
-
- /** Removes all specified parameters from this Call instance. Note that this method removes only the parameters and
- * not the return type. The setReturnType(null) is used to remove the return type.
- * @throws JAXRPCException This exception may be thrown If this method is called when the method isParameterAndReturnSpecRequired returns false for this Call's operation.
- */
- public void removeAllParameters();
-
- /** Gets the name of the operation to be invoked using this Call instance.
- * @return Qualified name of the operation
- */
- public QName getOperationName();
-
- /** Sets the name of the operation to be invoked using this Call instance.
- *
- * @param operationName QName of the operation to be invoked using the Call instance
- */
- public void setOperationName(QName operationName);
-
- /** Gets the qualified name of the port type.
- * @return Qualified name of the port type
- */
- public QName getPortTypeName();
-
- /** Sets the qualified name of the port type.
- *
- * @param portType - Qualified name of the port type
- */
- public void setPortTypeName(QName portType);
-
- /** Sets the address of the target service endpoint. This address must correspond to the transport
- * specified in the binding for this Call instance.
- *
- * @param address Address of the target service endpoint; specified as an URI
- */
- public void setTargetEndpointAddress(String address);
-
- /** Gets the address of a target service endpoint.
- * @return Address of the target service endpoint as an URI
- */
- public String getTargetEndpointAddress();
-
- /** Sets the value for a named property.
- * JAX-RPC specification specifies a standard set of properties that may be passed to the Call.setProperty method.
- *
- * @param name Name of the property
- * @param value Value of the property
- * @throws JAXRPCException
- * <ul>
- * <li> If an optional standard property name is specified, however this Call implementation class does not support the configuration of this property.
- * <li> If an invalid (or unsupported) property name is specified or if a value of mismatched property type is passed.
- * <li> If there is any error in the configuration of a valid property.
- * </ul>
- */
- public void setProperty(String name, Object value);
-
- /** Gets the value of a named property.
- *
- * @param name Name of the property
- * @return Value of the named property
- * @throws JAXRPCException if an invalid or unsupported property name is passed.
- */
- public Object getProperty(String name);
-
- /** Removes a named property.
- * @param name Name of the property
- * @throws JAXRPCException if an invalid or unsupported property name is passed.
- */
- public void removeProperty(String name);
-
- /** Gets the names of configurable properties supported by this Call object.
- * @return Iterator for the property names
- */
- public Iterator getPropertyNames();
-
- /** Invokes a specific operation using a synchronous request-response interaction mode.
- *
- * @param inputParams Object[]--Parameters for this invocation. This includes only the input params
- * @return Returns the return value or null
- * @throws RemoteException if there is any error in the remote method invocation
- * @throws javax.xml.rpc.soap.SOAPFaultException Indicates a SOAP fault
- * @throws JAXRPCException
- * <ul>
- * <li>If there is an error in the configuration of the Call object
- * <li> If inputParams do not match the required parameter set (as specified through the addParameter invocations or in the corresponding WSDL)
- * <li> If parameters and return type are incorrectly specified
- * </ul>
- */
- public Object invoke(Object[] inputParams) throws RemoteException;
-
- /** Invokes a specific operation using a synchronous request-response interaction mode.
- *
- * @param operationName QName of the operation
- * @param inputParams Object[]--Parameters for this invocation. This includes only the input params.
- * @return Return value or null
- * @throws RemoteException if there is any error in the remote method invocation.
- * @throws javax.xml.rpc.soap.SOAPFaultException - Indicates a SOAP fault
- * @throws JAXRPCException
- * <ul>
- * <li> If there is an error in the configuration of the Call object
- * <li> If inputParams do not match the required parameter set (as specified through the addParameter invocations or in the corresponding WSDL)
- * <li> If parameters and return type are incorrectly specified
- * </ul>
- */
- public Object invoke(QName operationName, Object[] inputParams) throws RemoteException;
-
- /** Invokes a remote method using the one-way interaction mode.
- * The client thread does not normally block waiting for the completion of the server processing for this
- * remote method invocation. When the protocol in use is SOAP/HTTP, this method should block until an HTTP response
- * code has been received or an error occurs. This method must not throw any remote exceptions.
- * This method may throw a JAXRPCException during the processing of the one-way remote call.
- *
- * @param inputParams Object[]--Parameters for this invocation. This includes only the input params.
- * @throws JAXRPCException if there is an error in the configuration of the Call object
- * (example: a non-void return type has been incorrectly specified for the one-way call) or
- * if there is any error during the invocation of the one-way remote call
- */
- public void invokeOneWay(Object[] inputParams);
-
- /** Returns a Map of {name, value} for the output parameters of the last invoked operation.
- * The parameter names in the returned Map are of type java.lang.String.
- *
- * @return Map Output parameters for the last Call.invoke(). Empty Map is returned if there are no output parameters.
- * @throws JAXRPCException If this method is invoked for a one-way operation or is invoked before any invoke method has been called.
- */
- public Map getOutputParams();
-
- /** Returns a List values for the output parameters of the last invoked operation.
- *
- * @return java.util.List Values for the output parameters. An empty List is returned if there are no output values.
- * @throws JAXRPCException If this method is invoked for a one-way operation or is invoked before any invoke method has been called.
- */
- public List getOutputValues();
-}
Copied: trunk/src/main/java/javax/xml/rpc/Call.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/Call.java)
Deleted: trunk/src/main/java/javax/xml/rpc/JAXRPCException.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/JAXRPCException.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/JAXRPCException.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,65 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc;
-
-import org.jboss.util.id.SerialVersion;
-
-/**
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public class JAXRPCException extends RuntimeException
-{
- /** @since 4.0.2 */
- static final long serialVersionUID;
- static
- {
- if (SerialVersion.version == SerialVersion.LEGACY)
- serialVersionUID = 2012915834079496799L;
- else
- serialVersionUID = 5213579554532711730L;
- }
-
- public JAXRPCException()
- {
- }
-
- public JAXRPCException(String message)
- {
- super(message);
- }
-
- public JAXRPCException(String message, Throwable cause)
- {
- super(message, cause);
- }
-
- public JAXRPCException(Throwable cause)
- {
- super(cause);
- }
-
- public Throwable getLinkedCause()
- {
- return super.getCause();
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/JAXRPCException.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/JAXRPCException.java)
Deleted: trunk/src/main/java/javax/xml/rpc/NamespaceConstants.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/NamespaceConstants.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/NamespaceConstants.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,40 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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 javax.xml.rpc;
-
-/** Constants used in JAX-RPC for namespace prefixes and URIs
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public class NamespaceConstants
-{
- public static final String NSPREFIX_SOAP_ENVELOPE = "soapenv";
- public static final String NSPREFIX_SOAP_ENCODING = "soapenc";
- public static final String NSPREFIX_SCHEMA_XSD = "xsd";
- public static final String NSPREFIX_SCHEMA_XSI = "xsi";
- public static final String NSURI_SOAP_ENVELOPE = "http://schemas.xmlsoap.org/soap/envelope/";
- public static final String NSURI_SOAP_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
- public static final String NSURI_SOAP_NEXT_ACTOR = "http://schemas.xmlsoap.org/soap/actor/next";
- public static final String NSURI_SCHEMA_XSD = "http://www.w3.org/2001/XMLSchema";
- public static final String NSURI_SCHEMA_XSI = "http://www.w3.org/2001/XMLSchema-instance";
-}
Copied: trunk/src/main/java/javax/xml/rpc/NamespaceConstants.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/NamespaceConstants.java)
Deleted: trunk/src/main/java/javax/xml/rpc/ParameterMode.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/ParameterMode.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/ParameterMode.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,46 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc;
-
-/** A type-safe enumeration for parameter passing modes.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public class ParameterMode
-{
- private String mode;
-
- public static final ParameterMode IN = new ParameterMode("IN");
- public static final ParameterMode OUT = new ParameterMode("OUT");
- public static final ParameterMode INOUT = new ParameterMode("INOUT");
-
- private ParameterMode(String mode)
- {
- this.mode = mode;
- }
-
- public String toString()
- {
- return mode;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/ParameterMode.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/ParameterMode.java)
Deleted: trunk/src/main/java/javax/xml/rpc/Service.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/Service.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/Service.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,151 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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 javax.xml.rpc;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.encoding.TypeMappingRegistry;
-import javax.xml.rpc.handler.HandlerRegistry;
-import java.net.URL;
-import java.rmi.Remote;
-import java.util.Iterator;
-
-/** Service class acts as a factory for:
- * <ul>
- * <li>Dynamic proxy for the target service endpoint.
- * <li>Instance of the type javax.xml.rpc.Call for the dynamic invocation of a remote operation on the target service endpoint.
- * <li>Instance of a generated stub class
- * </ul>
- *
- * @author Scott.Stark at jboss.org
- * @author Thomas.Diesler at jboss.org
- * @version $Revision$
- */
-public interface Service
-{
- /**
- * The getPort method returns either an instance of a generated stub implementation class or a dynamic proxy.
- * A service client uses this dynamic proxy to invoke operations on the target service endpoint.
- * The serviceEndpointInterface specifies the service endpoint interface that is supported by the created dynamic proxy or stub instance.
- *
- * @param portName Qualified name of the service endpoint in the WSDL service descr
- * @param seiClass Service endpoint interface supported by the dynamic proxy or stub instance
- * @return Stub instance or dynamic proxy that supports the specified service endpoint interface
- * @throws ServiceException This exception is thrown in the following cases:
- * <ul>
- * <li>If there is an error in creation of the dynamic proxy or stub instance
- * <li>If there is any missing WSDL metadata as required by this method
- * <li>Optionally, if an illegal serviceEndpointInterface or portName is specified
- * </ul>
- */
- public Remote getPort(QName portName, Class seiClass) throws ServiceException;
-
- /**
- * The getPort method returns either an instance of a generated stub implementation class or a dynamic proxy.
- * The parameter serviceEndpointInterface specifies the service endpoint interface that is supported by the returned stub or proxy.
- * In the implementation of this method, the JAX-RPC runtime system takes the responsibility of selecting a protocol binding (and a port)
- * and configuring the stub accordingly. The returned Stub instance should not be reconfigured by the client.
- */
- public Remote getPort(Class seiClass) throws ServiceException;
-
- /** Gets an array of preconfigured Call objects for invoking operations on the specified port.
- * There is one Call object per operation that can be invoked on the specified port.
- * Each Call object is pre-configured and does not need to be configured using the setter methods on Call interface.
- *
- * Each invocation of the getCalls method returns a new array of preconfigured Call objects
- *
- * This method requires the Service implementation class to have access to the WSDL related metadata.
- *
- * @param portName Qualified name for the target service endpoint
- * @return Call[] Array of pre-configured Call objects
- * @throws ServiceException If this Service class does not have access to the required WSDL metadata or if an illegal portName is specified.
- */
- public Call[] getCalls(QName portName) throws ServiceException;
-
- /** Creates a Call instance.
- *
- * @param portName Qualified name for the target service endpoint
- * @return Call instance
- * @throws ServiceException If any error in the creation of the Call object
- */
- public Call createCall(QName portName) throws ServiceException;
-
- /** Creates a Call instance.
- *
- * @param portName Qualified name for the target service endpoint
- * @param operationName Qualified name of the operation for which this Call object is to be created.
- * @return Call instance
- * @throws ServiceException If any error in the creation of the Call object
- */
- public Call createCall(QName portName, QName operationName) throws ServiceException;
-
- /** Creates a Call instance.
- *
- * @param portName Qualified name for the target service endpoint
- * @param operationName Name of the operation for which this Call object is to be created.
- * @return Call instance
- * @throws ServiceException If any error in the creation of the Call object
- */
- public Call createCall(QName portName, String operationName) throws ServiceException;
-
- /**
- * Creates a Call object not associated with specific operation or target service endpoint.
- * This Call object needs to be configured using the setter methods on the Call interface.
- *
- * @return Call object
- * @throws ServiceException If any error in the creation of the Call object
- */
- public Call createCall() throws ServiceException;
-
- /** Gets the name of this service.
- * @return Qualified name of this service
- */
- public QName getServiceName();
-
- /** Returns an Iterator for the list of QNames of service endpoints grouped by this service
- *
- * @return Returns java.util.Iterator with elements of type javax.xml.namespace.QName
- * @throws ServiceException If this Service class does not have access to the required WSDL metadata
- */
- public Iterator getPorts() throws ServiceException;
-
- /** Gets the location of the WSDL document for this Service.
- *
- * @return URL for the location of the WSDL document for this service
- */
- public URL getWSDLDocumentLocation();
-
- /** Gets the TypeMappingRegistry for this Service object. The returned TypeMappingRegistry instance is pre-configured
- * to support the standard type mapping between XML and Java types types as required by the JAX-RPC specification.
- *
- * @return The TypeMappingRegistry for this Service object.
- * @throws java.lang.UnsupportedOperationException if the Service class does not support the configuration of TypeMappingRegistry.
- */
- public TypeMappingRegistry getTypeMappingRegistry();
-
- /** Returns the configured HandlerRegistry instance for this Service instance.
- *
- * @return HandlerRegistry
- * @throws java.lang.UnsupportedOperationException if the Service class does not support the configuration of a HandlerRegistry
- */
- public HandlerRegistry getHandlerRegistry();
-
-}
Copied: trunk/src/main/java/javax/xml/rpc/Service.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/Service.java)
Deleted: trunk/src/main/java/javax/xml/rpc/ServiceException.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/ServiceException.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/ServiceException.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,65 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc;
-
-import org.jboss.util.id.SerialVersion;
-
-/**
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public class ServiceException extends Exception
-{
- /** @since 4.0.2 */
- static final long serialVersionUID;
- static
- {
- if (SerialVersion.version == SerialVersion.LEGACY)
- serialVersionUID = -4042547292194127311L;
- else
- serialVersionUID = -6582148924441189775L;
- }
-
- public ServiceException()
- {
- }
-
- public ServiceException(String message)
- {
- super(message);
- }
-
- public ServiceException(String message, Throwable cause)
- {
- super(message, cause);
- }
-
- public ServiceException(Throwable cause)
- {
- super(cause);
- }
-
- public Throwable getLinkedCause()
- {
- return super.getCause();
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/ServiceException.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/ServiceException.java)
Deleted: trunk/src/main/java/javax/xml/rpc/ServiceFactory.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/ServiceFactory.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/ServiceFactory.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,193 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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 javax.xml.rpc;
-
-import java.net.URL;
-import java.security.AccessController;
-import java.security.PrivilegedAction;
-import java.util.Properties;
-
-import javax.xml.namespace.QName;
-
-import org.jboss.logging.Logger;
-
-/** The javax.xml.rpc.ServiceFactory is an abstract class that provides a
- * factory for the creation of instances of the type javax.xml.rpc.Service.
- * This abstract class follows the abstract static factory design pattern.
- * This enables a J2SE based client to create a Service instance in a portable
- * manner without using the constructor of the Service implementation class.
- *
- * The ServiceFactory implementation class is set using the
- * javax.xml.rpc.ServiceFactory System property.
- *
- * @author Scott.Stark at jboss.org
- * @author Thomas.Diesler at jboss.org
- * @version 1.1
- */
-public abstract class ServiceFactory
-{
- // provide logging
- private static Logger log = Logger.getLogger(ServiceFactory.class);
-
- // The singlton
- private static ServiceFactory factory;
-
- /** A constant representing the property used to lookup the name of a ServiceFactory implementation class. */
- public static final String SERVICEFACTORY_PROPERTY = "javax.xml.rpc.ServiceFactory";
-
- private static final String DEFAULT_SERVICE_FACTORY = "org.jboss.ws.jaxrpc.ServiceFactoryImpl";
- private static final String[] alternativeFactories = new String[] { "org.jboss.webservice.client.ServiceFactoryImpl", "org.jboss.axis.client.ServiceFactory" };
-
- protected ServiceFactory()
- {
- }
-
- /** Gets an instance of the ServiceFactory
- * Only one copy of a factory exists and is returned to the application each time this method is called.
- *
- * The implementation class to be used can be overridden by setting the javax.xml.rpc.ServiceFactory system property.
- *
- * @return The ServiceFactory singleton
- * @throws ServiceException on failure to instantiate the ServiceFactory impl
- */
- public static ServiceFactory newInstance() throws ServiceException
- {
- // Create the factory singleton if needed
- if (factory == null)
- {
- PrivilegedAction action = new PropertyAccessAction(SERVICEFACTORY_PROPERTY, DEFAULT_SERVICE_FACTORY);
- String factoryName = (String)AccessController.doPrivileged(action);
-
- ClassLoader loader = Thread.currentThread().getContextClassLoader();
- try
- {
- try
- {
- Class factoryClass = loader.loadClass(factoryName);
- factory = (ServiceFactory)factoryClass.newInstance();
- }
- catch (ClassNotFoundException e)
- {
- // Throw the exception if the user asked for a specific factory
- if (factoryName.equals(DEFAULT_SERVICE_FACTORY) == false)
- throw e;
-
- for (int i = 0; i < alternativeFactories.length; i++)
- {
- factoryName = alternativeFactories[i];
- try
- {
- Class factoryClass = loader.loadClass(factoryName);
- return (ServiceFactory)factoryClass.newInstance();
- }
- catch (ClassNotFoundException e1)
- {
- log.debug("Cannot load factory: " + factoryName);
- }
- }
- }
- }
- catch (Throwable e)
- {
- throw new ServiceException("Failed to create factory: " + factoryName, e);
- }
- }
-
- if (factory == null)
- throw new ServiceException("Cannot find ServiceFactory implementation");
-
- return factory;
- }
-
- /**
- * Create a <code>Service</code> instance.
- *
- * @param wsdlDocumentLocation URL for the WSDL document location
- * @param serviceName QName for the service.
- * @return Service.
- * @throws ServiceException If any error in creation of the
- * specified service
- */
- public abstract Service createService(URL wsdlDocumentLocation, QName serviceName) throws ServiceException;
-
- /**
- * Create a <code>Service</code> instance.
- *
- * @param serviceName QName for the service
- * @return Service.
- * @throws ServiceException If any error in creation of the specified service
- */
- public abstract Service createService(QName serviceName) throws ServiceException;
-
- /** Create an instance of the generated service implementation class for a given service interface, if available.
- * @param serviceInterface Service interface
- * @return A Service
- * @throws ServiceException If there is any error while creating the specified service, including the case where a
- * generated service implementation class cannot be located
- */
- public abstract Service loadService(Class serviceInterface) throws ServiceException;
-
- /**
- * Create an instance of the generated service implementation class for a given service interface, if available.
- * An implementation may use the provided wsdlDocumentLocation and properties to help locate the generated implementation class.
- * If no such class is present, a ServiceException will be thrown.
- *
- * @param wsdlDocumentLocation URL for the WSDL document location for the service or null
- * @param serviceInterface Service interface
- * @param props A set of implementation-specific properties to help locate the generated service implementation class
- * @return A Service
- * @throws ServiceException If there is any error while creating the specified service, including the case where a
- * generated service implementation class cannot be located
- */
- public abstract Service loadService(URL wsdlDocumentLocation, Class serviceInterface, Properties props) throws ServiceException;
-
- /**
- * Create an instance of the generated service implementation class for a given service, if available.
- * The service is uniquely identified by the wsdlDocumentLocation and serviceName arguments.
- * An implementation may use the provided properties to help locate the generated implementation class.
- * If no such class is present, a ServiceException will be thrown.
- *
- * @param wsdlDocumentLocation URL for the WSDL document location for the service or null
- * @param serviceName Qualified name for the service
- * @param props A set of implementation-specific properties to help locate the generated service implementation class
- * @return A Service
- * @throws ServiceException If there is any error while creating the specified service, including the case where a generated service implementation class cannot be located
- */
- public abstract Service loadService(URL wsdlDocumentLocation, QName serviceName, Properties props) throws ServiceException;
-
- private static class PropertyAccessAction implements PrivilegedAction
- {
- private String name;
- private String defaultValue;
-
- PropertyAccessAction(String name, String defaultValue)
- {
- this.name = name;
- this.defaultValue = defaultValue;
- }
-
- public Object run()
- {
- return System.getProperty(name, defaultValue);
- }
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/ServiceFactory.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/ServiceFactory.java)
Deleted: trunk/src/main/java/javax/xml/rpc/Stub.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/Stub.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/Stub.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,75 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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 javax.xml.rpc;
-
-import java.util.Iterator;
-
-/**
- * The interface javax.xml.rpc.Stub is the common base interface for the stub classes.
- * All generated stub classes are required to implement the javax.xml.rpc.Stub interface.
- * An instance of a stub class represents a client side proxy or stub instance for the target service endpoint.
- *
- * The javax.xml.rpc.Stub interface provides an extensible property mechanism for the dynamic configuration of a stub instance.
- *
- * @author Scott.Stark at jboss.org
- * @author Thomas.Diesler at jboss.org
- * @version $Revision$
- */
-public interface Stub
-{
- /** Standard property: User name for authentication. */
- public static final String USERNAME_PROPERTY = "javax.xml.rpc.security.auth.username";
- /** Standard property: Password for authentication. */
- public static final String PASSWORD_PROPERTY = "javax.xml.rpc.security.auth.password";
- /** Standard property: Target service endpoint address. */
- public static final String ENDPOINT_ADDRESS_PROPERTY = "javax.xml.rpc.service.endpoint.address";
- /** Standard property: This boolean property is used by a service client to indicate whether or not it wants to participate in a session with a service endpoint. */
- public static final String SESSION_MAINTAIN_PROPERTY = "javax.xml.rpc.session.maintain";
-
- /** Sets the name and value of a configuration property for this Stub instance.
- *
- * If the Stub instances contains a value of the same property, the old value is replaced.
- * Note that the _setProperty method may not perform validity check on a configured property value.
- * An example is the standard property for the target service endpoint address that is not checked for validity in
- * the _setProperty method. In this case, stub configuration errors are detected at the remote method invocation.
- *
- * @param name Name of the configuration property
- * @param value Value of the property
- * @throws JAXRPCException
- * If an optional standard property name is specified, however this Stub implementation class does not support the configuration of this property.
- * If an invalid or unsupported property name is specified or if a value of mismatched property type is passed.
- * If there is any error in the configuration of a valid property.
- */
- public void _setProperty(String name, Object value);
-
- /** Gets the value of a specific configuration property.
- * @param name Name of the property whose value is to be retrieved
- * @return Value of the configuration property
- * @throws JAXRPCException if an invalid or unsupported property name is passed.
- */
- public Object _getProperty(String name);
-
- /** Returns an Iterato view of the names of the properties that can be configured on this stub instance.
- * @return Iterator for the property names of the type java.lang.String
- */
- public Iterator _getPropertyNames();
-}
Copied: trunk/src/main/java/javax/xml/rpc/Stub.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/Stub.java)
Copied: trunk/src/main/java/javax/xml/rpc/encoding (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding)
Deleted: trunk/src/main/java/javax/xml/rpc/encoding/DeserializationContext.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/DeserializationContext.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/encoding/DeserializationContext.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,32 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.encoding;
-
-/** A deserializer uses this interface to access and maintain context
- * information during the deserialization.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public interface DeserializationContext
-{
-}
Copied: trunk/src/main/java/javax/xml/rpc/encoding/DeserializationContext.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/DeserializationContext.java)
Deleted: trunk/src/main/java/javax/xml/rpc/encoding/Deserializer.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/Deserializer.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/encoding/Deserializer.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,37 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.encoding;
-
-import java.io.Serializable;
-
-/** A base interface for deserializers. A Deserializer converts an XML
- * representation to a Java object using a specific XML processing mechanism
- * and based on the specified type mapping and encoding style.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public interface Deserializer
- extends Serializable
-{
- public String getMechanismType();
-}
Copied: trunk/src/main/java/javax/xml/rpc/encoding/Deserializer.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/Deserializer.java)
Deleted: trunk/src/main/java/javax/xml/rpc/encoding/DeserializerFactory.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/DeserializerFactory.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/encoding/DeserializerFactory.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,52 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.encoding;
-
-import java.io.Serializable;
-import java.util.Iterator;
-
-/** A factory of deserializers. A DeserializerFactory is registered with a
- * TypeMapping instance as part of the TypeMappingRegistry.
- *
- * @see Deserializer
- * @see TypeMapping
- * @see TypeMappingRegistry
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public interface DeserializerFactory extends Serializable
-{
- /**
- * Returns a Deserializer for the specified XML processing mechanism type.
- * @param mechanismType XML processing mechanism type [TBD: definition of valid constants]
- * @return a Deserializer
- * @throws javax.xml.rpc.JAXRPCException If DeserializerFactory does not support the specified XML processing mechanism
- */
- public Deserializer getDeserializerAs(String mechanismType);
-
- /** Returns a list of all XML processing mechanism types supported by this DeserializerFactory.
- *
- * @return List of unique identifiers for the supported XML processing mechanism types
- */
- public Iterator getSupportedMechanismTypes();
-}
Copied: trunk/src/main/java/javax/xml/rpc/encoding/DeserializerFactory.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/DeserializerFactory.java)
Deleted: trunk/src/main/java/javax/xml/rpc/encoding/SerializationContext.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/SerializationContext.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/encoding/SerializationContext.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,37 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.encoding;
-
-/** This interface is implemented by the JAX-RPC runtime system in an XML
- * processing mechanism specific manner. A serializer uses the
- * SerializationContext interface during the serialization to get the context
- * information related to the XML processing mechanism and to manage
- * information specific to serialization.
- *
- * @see Serializer
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public interface SerializationContext
-{
-}
Copied: trunk/src/main/java/javax/xml/rpc/encoding/SerializationContext.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/SerializationContext.java)
Deleted: trunk/src/main/java/javax/xml/rpc/encoding/Serializer.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/Serializer.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/encoding/Serializer.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,38 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.encoding;
-
-import java.io.Serializable;
-
-/** This interface defines the base interface for serializers. A Serializer
- * converts a Java object to an XML representation using a specific XML
- * processing mechanism and based on the specified type mapping and encoding
- * style.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public interface Serializer
- extends Serializable
-{
- public String getMechanismType();
-}
Copied: trunk/src/main/java/javax/xml/rpc/encoding/Serializer.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/Serializer.java)
Deleted: trunk/src/main/java/javax/xml/rpc/encoding/SerializerFactory.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/SerializerFactory.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/encoding/SerializerFactory.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,53 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.encoding;
-
-import java.io.Serializable;
-import java.util.Iterator;
-
-/**
- * This is a factory of the serializers. A SerializerFactory is registered
- * with a TypeMapping object as part of the TypeMappingRegistry.
- *
- * @see Serializer
- * @see TypeMapping
- * @see TypeMappingRegistry
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public interface SerializerFactory extends Serializable
-{
- /** Returns a Serializer for the specified XML processing mechanism type.
- *
- * @param mechanismType XML processing mechanism type [TBD: definition of valid constants]
- * @return A Serializer
- * @throws javax.xml.rpc.JAXRPCException If SerializerFactory does not support the specified XML processing mechanism
- * @throws IllegalArgumentException If an invalid mechanism type is specified.
- */
- public Serializer getSerializerAs(String mechanismType);
-
- /** Returns a list of all XML processing mechanism types supported by this SerializerFactory.
- * @return List of unique identifiers for the supported XML processing mechanism types
- */
- public Iterator getSupportedMechanismTypes();
-}
Copied: trunk/src/main/java/javax/xml/rpc/encoding/SerializerFactory.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/SerializerFactory.java)
Deleted: trunk/src/main/java/javax/xml/rpc/encoding/TypeMapping.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/TypeMapping.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/encoding/TypeMapping.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,106 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.encoding;
-
-import javax.xml.namespace.QName;
-
-/**
- * This is the base interface for the representation of a type mapping. A
- * TypeMapping implementation class may support one or more encoding styles.
- *
- * For its supported encoding styles, a TypeMapping instance maintains a set of
- * tuples of the type {Java Class, SerializerFactory, DeserializerFactory, XML type-QName}.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public interface TypeMapping
-{
-
- /**
- * Gets the DeserializerFactory registered for the specified pair of Java type and XML data type.
- * @param javaType Class of the Java type
- * @param xmlType QName of the XML type
- * @return Registered DeserializerFactory or null if there is no registered factory
- */
- public DeserializerFactory getDeserializer(Class javaType, QName xmlType);
-
- /**
- * Gets the SerializerFactory registered for the specified pair of Java type and XML data type.
- * @param javaType Class of the Java type
- * @param xmlType QName of the XML type
- * @return Registered SerializerFactory or null if there is no registered factory
- */
- public SerializerFactory getSerializer(Class javaType, QName xmlType);
-
- /**
- * Returns the encodingStyle URIs (as String[]) supported by this TypeMapping instance.
- * A TypeMapping that contains only encoding style independent serializers and deserializers
- * returns null from this method.
- *
- * @return Array of encodingStyle URIs for the supported encoding styles
- */
- public String[] getSupportedEncodings();
-
- /**
- * Sets the encodingStyle URIs supported by this TypeMapping instance. A TypeMapping that contains only encoding
- * independent serializers and deserializers requires null as the parameter for this method.
- *
- * @param encodingStyleURIs Array of encodingStyle URIs for the supported encoding styles
- */
- public void setSupportedEncodings(String[] encodingStyleURIs);
-
- /**
- * Checks whether or not type mapping between specified XML type and Java type is registered.
- * @param javaType Class of the Java type
- * @param xmlType QName of the XML type
- * @return boolean; true if type mapping between the specified XML type and Java type is registered; otherwise false
- */
- public boolean isRegistered(Class javaType, QName xmlType);
-
- /**
- * Registers SerializerFactory and DeserializerFactory for a specific type mapping between an XML type and Java type.
- * This method replaces any existing registered SerializerFactory DeserializerFactory instances.
- * @param javaType Class of the Java type
- * @param xmlType QName of the XML type
- * @param sf SerializerFactory
- * @param dsf DeserializerFactory
- * @throws javax.xml.rpc.JAXRPCException If any error during the registration
- */
- public void register(Class javaType, QName xmlType, SerializerFactory sf, DeserializerFactory dsf);
-
- /**
- * Removes the DeserializerFactory registered for the specified pair of Java type and XML data type.
- * @param javaType Class of the Java type
- * @param xmlType QName of the XML type
- * @throws javax.xml.rpc.JAXRPCException If there is error in removing the registered DeserializerFactory
- */
- public void removeDeserializer(Class javaType, QName xmlType);
-
- /**
- * Removes the SerializerFactory registered for the specified pair of Java type and XML data type.
- * @param javaType Class of the Java type
- * @param xmlType QName of the XML type
- * @throws javax.xml.rpc.JAXRPCException If there is error in removing the registered SerializerFactory
- */
- public void removeSerializer(Class javaType, QName xmlType);
-}
Copied: trunk/src/main/java/javax/xml/rpc/encoding/TypeMapping.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/TypeMapping.java)
Deleted: trunk/src/main/java/javax/xml/rpc/encoding/TypeMappingRegistry.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/TypeMappingRegistry.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/encoding/TypeMappingRegistry.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,111 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.encoding;
-
-import java.io.Serializable;
-
-/**
- * This defines a registry of TypeMapping instances for encoding styles.
- *
- * @author Scott.Stark at jboss.org
- * @author Thomas.Diesler at jboss.org
- * @version $Revision$
- */
-public interface TypeMappingRegistry extends Serializable
-{
- /**
- * Removes all registered TypeMappings and encodingStyleURIs from this TypeMappingRegistry.
- */
- public void clear();
-
- /**
- * Gets the registered default TypeMapping instance.
- * This method returns null if there is no registered default TypeMapping in the registry.
- * @return The registered default TypeMapping instance or null
- */
- public TypeMapping getDefaultTypeMapping();
-
- /**
- * Registers the TypeMapping instance that is default for all encoding styles supported by the TypeMappingRegistry.
- * A default TypeMapping should include serializers and deserializers that are independent of and usable with any
- * encoding style. Successive invocations of the registerDefault method replace any existing default TypeMapping instance.
- *
- * If the default TypeMapping is registered, any other TypeMapping instances registered through the
- * TypeMappingRegistry.register method (for a set of encodingStyle URIs) override the default TypeMapping.
- *
- * @param mapping TypeMapping instance
- * @throws javax.xml.rpc.JAXRPCException If there is an error in the registration of the default TypeMapping
- */
- public void registerDefault(TypeMapping mapping);
-
- /**
- * Creates a new empty TypeMapping object.
- * @return TypeMapping instance
- */
- public TypeMapping createTypeMapping();
-
- /**
- * Returns the registered TypeMapping for the specified encodingStyle URI. If there is no registered TypeMapping for
- * the specified encodingStyleURI, this method returns null.
- * @param encodingStyleURI Encoding style specified as an URI
- * @return TypeMapping for the specified encodingStyleURI or null
- */
- public TypeMapping getTypeMapping(String encodingStyleURI);
-
- /**
- * Returns a list of registered encodingStyle URIs in this TypeMappingRegistry instance.
- * @return Array of the registered encodingStyle URIs
- */
- public String[] getRegisteredEncodingStyleURIs();
-
- /**
- * Registers a TypeMapping instance with the TypeMappingRegistry.
- * This method replaces any existing registered TypeMapping instance for the specified encodingStyleURI.
- *
- * @param encodingStyleURI An encoding style specified as an URI.
- * @param mapping TypeMapping instance
- * @return Previous TypeMapping associated with the specified encodingStyleURI, or null if there was no
- * TypeMapping associated with the specified encodingStyleURI
- * @throws javax.xml.rpc.JAXRPCException If there is an error in the registration of the TypeMapping for the specified encodingStyleURI.
- */
- public TypeMapping register(String encodingStyleURI, TypeMapping mapping);
-
- /**
- * Unregisters a TypeMapping instance, if present, from the specified encodingStyleURI.
- * @param encodingStyleURI Encoding style specified as an URI
- * @return TypeMapping instance that has been unregistered or null if there was no
- * TypeMapping registered for the specified encodingStyleURI
- */
- public TypeMapping unregisterTypeMapping(String encodingStyleURI);
-
- /**
- * Removes a TypeMapping from the TypeMappingRegistry.
- * A TypeMapping is associated with 1 or more encodingStyleURIs. This method unregisters the specified
- * TypeMapping instance from all associated encodingStyleURIs and then removes this TypeMapping
- * instance from the registry.
- *
- * @param mapping TypeMapping to be removed
- * @return true if specified TypeMapping is removed from the TypeMappingRegistry;
- * false if the specified TypeMapping was not in the TypeMappingRegistry
- */
- public boolean removeTypeMapping(TypeMapping mapping);
-}
Copied: trunk/src/main/java/javax/xml/rpc/encoding/TypeMappingRegistry.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/TypeMappingRegistry.java)
Deleted: trunk/src/main/java/javax/xml/rpc/encoding/XMLType.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/XMLType.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/encoding/XMLType.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,57 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.encoding;
-
-import javax.xml.namespace.QName;
-
-/** Constants for common XML Schema and SOAP 1.1 types.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public class XMLType
-{
- public static final QName SOAP_ARRAY = QName.valueOf("{SOAP-ENC}Array");
- public static final QName SOAP_BASE64 = QName.valueOf("{SOAP-ENC}base64");
- public static final QName SOAP_BOOLEAN = QName.valueOf("{SOAP-ENC}boolean");
- public static final QName SOAP_BYTE = QName.valueOf("{SOAP-ENC}byte");
- public static final QName SOAP_DOUBLE = QName.valueOf("{SOAP-ENC}double");
- public static final QName SOAP_FLOAT = QName.valueOf("{SOAP-ENC}float");
- public static final QName SOAP_INT = QName.valueOf("{SOAP-ENC}int");
- public static final QName SOAP_LONG = QName.valueOf("{SOAP-ENC}long");
- public static final QName SOAP_SHORT = QName.valueOf("{SOAP-ENC}short");
- public static final QName SOAP_STRING = QName.valueOf("{SOAP-ENC}string");
- public static final QName XSD_BASE64 = QName.valueOf("{SOAP-ENC}base64Binary");
- public static final QName XSD_BOOLEAN = QName.valueOf("{SOAP-ENC}boolean");
- public static final QName XSD_BYTE = QName.valueOf("{xsd}byte");
- public static final QName XSD_DATETIME = QName.valueOf("{xsd}dateTime");
- public static final QName XSD_DECIMAL = QName.valueOf("{xsd}decimal");
- public static final QName XSD_DOUBLE = QName.valueOf("{xsd}double");
- public static final QName XSD_FLOAT = QName.valueOf("{xsd}float");
- public static final QName XSD_HEXBINARY = QName.valueOf("{xsd}hexBinary");
- public static final QName XSD_INT = QName.valueOf("{xsd}int");
- public static final QName XSD_INTEGER = QName.valueOf("{xsd}integer");
- public static final QName XSD_LONG = QName.valueOf("{xsd}long");
- public static final QName XSD_QNAME = QName.valueOf("{xsd}QName");
- public static final QName XSD_SHORT = QName.valueOf("{xsd}short");
- public static final QName XSD_STRING = QName.valueOf("{xsd}string");
-}
Copied: trunk/src/main/java/javax/xml/rpc/encoding/XMLType.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/encoding/XMLType.java)
Copied: trunk/src/main/java/javax/xml/rpc/handler (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler)
Deleted: trunk/src/main/java/javax/xml/rpc/handler/GenericHandler.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/GenericHandler.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/handler/GenericHandler.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,109 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.handler;
-
-import javax.xml.namespace.QName;
-
-/** The GenericHandler class implements the Handler interface. SOAP Message
- * Handler developers should typically subclass GenericHandler class unless
- * the Handler class needs another class as a superclass.
- *
- * The GenericHandler class is a convenience abstract class that makes writing
- * Handlers easy. This class provides default implementations of the lifecycle
- * methods init and destroy and also different handle methods. A Handler
- * developer should only override methods that it needs to specialize as part
- * of the derived Handler implementation class.
- *
- * @author Scott.Stark at jboss.org
- * @author Rahul Sharma (javadoc)
- * @version $Revision$
- */
-public abstract class GenericHandler
- implements Handler
-{
- /** Default constructor. */
- protected GenericHandler()
- {
- }
-
- /**
- * Gets the header blocks processed by this Handler instance.
- *
- * @return Array of QNames of header blocks processed by this handler instance.
- * QName is the qualified name of the outermost element of the Header block.
- */
- public abstract QName[] getHeaders();
-
- /**
- * The init method to enable the Handler instance to initialize itself. This method should be overridden if the
- * derived Handler class needs to specialize implementation of this method.
- * @param config handler configuration
- */
- public void init(HandlerInfo config)
- {
- }
-
- /**
- * The destroy method indicates the end of lifecycle for a Handler instance. This method should be overridden if
- * the derived Handler class needs to specialize implementation of this method.
- */
- public void destroy()
- {
- }
-
- /**
- * The handleRequest method processes the request SOAP message. The default implementation of this method returns true.
- * This indicates that the handler chain should continue processing of the request SOAP message.
- * This method should be overridden if the derived Handler class needs to specialize implementation of this method.
- * @param msgContext the message msgContext
- * @return true/false
- */
- public boolean handleRequest(MessageContext msgContext)
- {
- return true;
- }
-
- /**
- * The handleResponse method processes the response message. The default implementation of this method returns true.
- * This indicates that the handler chain should continue processing of the response SOAP message.
- * This method should be overridden if the derived Handler class needs to specialize implementation of this method.
- * @param msgContext the message msgContext
- * @return true/false
- */
- public boolean handleResponse(MessageContext msgContext)
- {
- return true;
- }
-
- /**
- * The handleFault method processes the SOAP faults based on the SOAP message processing model.
- * The default implementation of this method returns true. This indicates that the handler chain should continue
- * processing of the SOAP fault. This method should be overridden if the derived Handler class needs to specialize
- * implementation of this method.
- * @param msgContext the message msgContext
- * @return the message msgContext
- */
- public boolean handleFault(MessageContext msgContext)
- {
- return true;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/handler/GenericHandler.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/GenericHandler.java)
Deleted: trunk/src/main/java/javax/xml/rpc/handler/Handler.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/Handler.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/handler/Handler.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,136 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.handler;
-
-import javax.xml.namespace.QName;
-import javax.xml.rpc.JAXRPCException;
-import javax.xml.rpc.soap.SOAPFaultException;
-
-/** This interface is required to be implemented by a SOAP message handler.
- * The handleRequest, handleResponse and handleFault methods for a SOAP message
- * handler get access to the SOAPMessage from the SOAPMessageContext. The
- * implementation of these methods can modify the SOAPMessage including the
- * headers and body elements.
- *
- * @author Scott.Stark at jboss.org
- * @author Rahul Sharma (javadoc)
- * @version $Revision$
- */
-public interface Handler
-{
- /** Gets the header blocks processed by this Handler instance.
- *
- * @return Array of QNames of header blocks processed by this handler instance.
- * QName is the qualified name of the outermost element of the Header block.
- */
- public QName[] getHeaders();
-
- /** The init method enables the Handler instance to initialize itself. The init method passes the handler
- * configuration as a HandlerInfo instance. The HandlerInfo is used to configure the Handler (for example: setup
- * access to an external resource or service) during the initialization.
- * In the init method, the Handler class may get access to any resources
- * (for example; access to a logging service or database) and maintain these as part of its instance variables.
- * Note that these instance variables must not have any state specific to the SOAP message processing performed in
- * the various handle method.
- *
- * @param config HandlerInfo configuration for the initialization of this handler
- * @throws JAXRPCException - if initialization of the handler fails
- */
- public void init(HandlerInfo config) throws JAXRPCException;
-
- /** The destroy method indicates the end of lifecycle for a Handler instance. The Handler implementation class should
- * release its resources and perform cleanup in the implementation of the destroy method.
- *
- * @throws JAXRPCException - if there was any error during destroy
- */
- public void destroy() throws JAXRPCException;
-
- /** The handleRequest method processes the request message.
- *
- * @param msgContext MessageContext parameter provides access to the request message.
- * @return boolean boolean Indicates the processing mode
- * <ul>
- * <li> Return true to indicate continued processing of the request handler chain.
- * The HandlerChain takes the responsibility of invoking the next entity.
- * The next entity may be the next handler in the HandlerChain or if this handler is the last handler in the chain,
- * the next entity is the service endpoint object. </li>
- *
- * <li> Return false to indicate blocking of the request handler chain. In this case, further processing of the request
- * handler chain is blocked and the target service endpoint is not dispatched. The JAX-RPC runtime system takes the
- * responsibility of invoking the response handler chain next with the SOAPMessageContext. The Handler implementation
- * class has the the responsibility of setting the appropriate response SOAP message in either handleRequest and/or
- * handleResponse method. In the default processing model, the response handler chain starts processing from the same
- * Handler instance (that returned false) and goes backward in the execution sequence. </li>
- * </ul>
- *
- * @throws JAXRPCException - indicates a handler-specific runtime error.
- * If JAXRPCException is thrown by a handleRequest method, the HandlerChain terminates the further processing of this handler chain.
- * On the server side, the HandlerChain generates a SOAP fault that indicates that the message could not be processed
- * for reasons not directly attributable to the contents of the message itself but rather to a runtime error during
- * the processing of the message. On the client side, the exception is propagated to the client code
- *
- * @throws SOAPFaultException - indicates a SOAP fault. The Handler implementation class has the the responsibility
- * of setting the SOAP fault in the SOAP message in either handleRequest and/or handleFault method.
- * If SOAPFaultException is thrown by a server-side request handler's handleRequest method, the HandlerChain
- * terminates the further processing of the request handlers in this handler chain and invokes the handleFault
- * method on the HandlerChain with the SOAP message msgContext. Next, the HandlerChain invokes the handleFault method
- * on handlers registered in the handler chain, beginning with the Handler instance that threw the exception and
- * going backward in execution. The client-side request handler's handleRequest method should not throw the SOAPFaultException.
- */
- public boolean handleRequest(MessageContext msgContext) throws JAXRPCException, SOAPFaultException;
-
- /** The handleResponse method processes the response SOAP message.
- *
- * @param msgContext MessageContext parameter provides access to the response SOAP message
- * @return boolean Indicates the processing mode
- * <ul>
- * <li> Return true to indicate continued processing ofthe response handler chain. The HandlerChain invokes the handleResponse method on the next Handler in the handler chain.</li>
- * <li>Return false to indicate blocking of the response handler chain. In this case, no other response handlers in the handler chain are invoked.</li>
- * </ul>
- * @throws JAXRPCException - indicates a handler specific runtime error. If JAXRPCException is thrown by a
- * handleResponse method, the HandlerChain terminates the further processing of this handler chain. On the server
- * side, the HandlerChain generates a SOAP fault that indicates that the message could not be processed for reasons
- * not directly attributable to the contents of the message itself but rather to a runtime error during the processing
- * of the message. On the client side, the runtime exception is propagated to the client code.
- */
- public boolean handleResponse(MessageContext msgContext);
-
- /** The handleFault method processes the SOAP faults based on the SOAP message processing model.
- *
- * @param msgContext MessageContext parameter provides access to the SOAP message
- * @return boolean Indicates the processing mode
- * <ul>
- * <li> Return true to indicate continued processing of SOAP Fault. The HandlerChain invokes the handleFault method
- * on the next Handler in the handler chain. </li>
- * <li> Return false to indicate end of the SOAP fault processing. In this case, no other handlers in the handler
- * chain are invoked. </li>
- * </ul>
- *
- * @throws JAXRPCException - indicates handler specific runtime error.
- * If JAXRPCException is thrown by a handleFault method, the HandlerChain terminates the further processing of this
- * handler chain. On the server side, the HandlerChain generates a SOAP fault that indicates that the message could
- * not be processed for reasons not directly attributable to the contents of the message itself but rather to a runtime
- * error during the processing of the message. On the client side, the JAXRPCException is propagated to the client code.
- */
- public boolean handleFault(MessageContext msgContext);
-
-}
Copied: trunk/src/main/java/javax/xml/rpc/handler/Handler.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/Handler.java)
Deleted: trunk/src/main/java/javax/xml/rpc/handler/HandlerChain.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/HandlerChain.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/handler/HandlerChain.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,93 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.handler;
-
-import javax.xml.rpc.JAXRPCException;
-import java.util.List;
-import java.util.Map;
-
-/** This interface represents a list of handlers. All elements in the
- * HandlerChain are of the type javax.xml.rpc.handler.Handler.
- *
- * An implementation class for the HandlerChain interface abstracts the policy
- * and mechanism for the invocation of the registered handlers.
- *
- * @author Scott.Stark at jboss.org
- * @author Rahul Sharma (javadoc)
- * @version $Revision$
- */
-public interface HandlerChain
- extends List
-{
- /**
- * Initializes the configuration for a HandlerChain.
- * @param config Configuration for the initialization of this handler chain
- * @throws JAXRPCException If any error during initialization
- */
- public void init(Map config);
-
- /**
- * Indicates the end of lifecycle for a HandlerChain.
- * @throws JAXRPCException If any error during destroy
- */
- public void destroy();
-
- /**
- * Gets SOAP actor roles registered for this HandlerChain at this SOAP node. The returned array includes the
- * special SOAP actor next.
- * @return SOAP Actor roles as URIs
- */
- public String[] getRoles();
-
- /**
- * Sets SOAP Actor roles for this HandlerChain. This specifies the set of roles in which this HandlerChain is to act
- * for the SOAP message processing at this SOAP node. These roles assumed by a HandlerChain must be invariant during
- * the processing of an individual SOAP message through the HandlerChain.
- * <p/>
- * A HandlerChain always acts in the role of the special SOAP actor next. Refer to the SOAP specification for the
- * URI name for this special SOAP actor. There is no need to set this special role using this method.
- * @param soapActorNames URIs for SOAP actor name
- */
- public void setRoles(String[] soapActorNames);
-
- /**
- * The handleRequest method initiates the request processing for this handler chain.
- * @param msgContext MessageContext parameter provides access to the request SOAP message.
- * @return Returns true if all handlers in chain have been processed. Returns false if a handler in the chain returned false from its handleRequest method.
- * @throws JAXRPCException if any processing error happens
- */
- public boolean handleRequest(MessageContext msgContext);
-
- /**
- * The handleResponse method initiates the response processing for this handler chain.
- * @return Returns true if all handlers in chain have been processed. Returns false if a handler in the chain returned false from its handleRequest method.
- * @throws JAXRPCException if any processing error happens
- */
- public boolean handleResponse(MessageContext msgContext);
-
- /**
- * The handleFault method initiates the SOAP fault processing for this handler chain.
- * @return Returns true if all handlers in chain have been processed. Returns false if a handler in the chain returned false from its handleRequest method.
- * @throws JAXRPCException if any processing error happens
- */
- public boolean handleFault(MessageContext msgContext);
-}
Copied: trunk/src/main/java/javax/xml/rpc/handler/HandlerChain.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/HandlerChain.java)
Deleted: trunk/src/main/java/javax/xml/rpc/handler/HandlerInfo.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/HandlerInfo.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/handler/HandlerInfo.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,129 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.handler;
-
-import java.io.Serializable;
-import java.util.Map;
-import java.util.HashMap;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import javax.xml.namespace.QName;
-
-/** This represents information about a handler in the HandlerChain. A
- * HandlerInfo instance is passed in the Handler.init method to initialize a
- * Handler instance.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public class HandlerInfo
- implements Serializable
-{
- private static final long serialVersionUID = -6735139577513563610L;
-
- private Class handlerClass;
- private Map configMap = new HashMap();
- private QName[] headers;
-
- /** Default constructor */
- public HandlerInfo()
- {
- }
-
- /** Constructor for HandlerInfo
- *
- * @param handlerClass Java Class for the Handler
- * @param config Handler Configuration as a java.util.Map
- * @param headers QNames for the header blocks processed by this Handler.
- * QName is the qualified name of the outermost element of a header block
- */
- public HandlerInfo(Class handlerClass, Map config, QName[] headers)
- {
- this.handlerClass = handlerClass;
- this.configMap = config;
- this.headers = headers;
- }
-
- /** Gets the Handler class
- *
- * @return Returns null if no Handler class has been set; otherwise the set handler class
- */
- public Class getHandlerClass()
- {
- return handlerClass;
- }
-
- /** Sets the Handler class
- *
- * @param handlerClass Class for the Handler
- */
- public void setHandlerClass(Class handlerClass)
- {
- this.handlerClass = handlerClass;
- }
-
- /** Gets the Handler configuration
- *
- * @return Returns empty Map if no configuration map has been set; otherwise returns the set configuration map
- */
- public Map getHandlerConfig()
- {
- return new HashMap(configMap);
- }
-
- /** Sets the Handler configuration as java.util.Map
- *
- * @param config Configuration map
- */
- public void setHandlerConfig(Map config)
- {
- configMap.clear();
- configMap.putAll(config);
- }
-
- /** Gets the header blocks processed by this Handler.
- *
- * @return Array of QNames for the header blocks. Returns null if no header blocks have been set using the setHeaders method.
- */
- public QName[] getHeaders()
- {
- return headers;
- }
-
- /** Sets the header blocks processed by this Handler.
- *
- * @param qnames QNames of the header blocks. QName is the qualified name of the outermost element of the SOAP header block
- */
- public void setHeaders(QName[] qnames)
- {
- headers = qnames;
- }
-
- /** Returns a string representation of the object.
- */
- public String toString()
- {
- List hlist = (headers != null ? Arrays.asList(headers) : null);
- return "[class=" + handlerClass.getName() + ",headers=" + hlist + ",config=" + configMap + "]";
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/handler/HandlerInfo.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/HandlerInfo.java)
Deleted: trunk/src/main/java/javax/xml/rpc/handler/HandlerRegistry.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/HandlerRegistry.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/handler/HandlerRegistry.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,47 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.handler;
-
-import java.io.Serializable;
-import java.util.List;
-import javax.xml.namespace.QName;
-
-/** This interface provides support for the programmatic configuration of
- * handlers in a HandlerRegistry.
- *
- * A handler chain is registered per service endpoint, as indicated by the
- * qualified name of a port. The getHandlerChain returns the handler chain
- * (as a java.util.List) for the specified service endpoint. The returned
- * handler chain is configured using the java.util.List interface. Each element
- * in this list is required to be of the Java type
- * javax.xml.rpc.handler.HandlerInfo.
- *
- * @author Scott.Stark at jboss.org
- * @author Rahul Sharma (javadoc)
- * @version $Revision$
- */
-public interface HandlerRegistry
- extends Serializable
-{
- public List getHandlerChain(QName portName);
- public void setHandlerChain(QName portName, List chain);
-}
Copied: trunk/src/main/java/javax/xml/rpc/handler/HandlerRegistry.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/HandlerRegistry.java)
Deleted: trunk/src/main/java/javax/xml/rpc/handler/MessageContext.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/MessageContext.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/handler/MessageContext.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,76 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.handler;
-
-import java.util.Iterator;
-
-/** This interface abstracts the message context that is processed by a handler
- * in the handle method.
- *
- * The MessageContext interface provides methods to manage a property set.
- * MessageContext properties enable handlers in a handler chain to share
- * processing related state.
- *
- * @author Scott.Stark at jboss.org
- * @author Rahul Sharma, Roberto Chinnici (javadoc)
- * @version $Revision$
- */
-public interface MessageContext
-{
- /**
- * Returns true if the MessageContext contains a property with the specified name.
- * @param name Name of the property whose presense is to be tested
- * @return Returns true if the MessageContext contains the property; otherwise false
- */
- public boolean containsProperty(String name);
-
- /**
- * Gets the value of a specific property from the MessageContext
- * @param name Name of the property whose value is to be retrieved
- * @return Value of the property
- * @throws IllegalArgumentException if an illegal property name is specified
- */
- public Object getProperty(String name);
-
- /**
- * Returns an Iterator view of the names of the properties in this MessageContext
- * @return Iterator for the property names
- */
- public Iterator getPropertyNames();
-
- /**
- * Removes a property (name-value pair) from the MessageContext
- * @param name Name of the property to be removed
- * @throws IllegalArgumentException if an illegal property name is specified
- */
- public void removeProperty(String name);
-
- /**
- * Sets the name and value of a property associated with the MessageContext.
- * If the MessageContext contains a value of the same property, the old value is replaced.
- * @param name Name of the property associated with the MessageContext
- * @param value Value of the property
- * @throws IllegalArgumentException If some aspect of the property is prevents it from being stored in the context
- * @throws UnsupportedOperationException If this method is not supported.
- */
- public void setProperty(String name, Object value);
-}
Copied: trunk/src/main/java/javax/xml/rpc/handler/MessageContext.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/MessageContext.java)
Copied: trunk/src/main/java/javax/xml/rpc/handler/soap (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/soap)
Deleted: trunk/src/main/java/javax/xml/rpc/handler/soap/SOAPMessageContext.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/soap/SOAPMessageContext.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/handler/soap/SOAPMessageContext.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.handler.soap;
-
-import javax.xml.soap.SOAPMessage;
-import javax.xml.rpc.handler.MessageContext;
-
-/** This interface provides access to the SOAP message for either RPC request
- * or response. The javax.xml.soap.SOAPMessage specifies the standard Java API
- * for the representation of a SOAP 1.1 message with attachments.
- *
- * @author Scott.Stark at jboss.org
- * @author Rahul Sharma (javadoc)
- * @version $Revision$
- */
-public interface SOAPMessageContext
- extends MessageContext
-{
- public SOAPMessage getMessage();
- public void setMessage(SOAPMessage message);
-
- public String[] getRoles();
-}
Copied: trunk/src/main/java/javax/xml/rpc/handler/soap/SOAPMessageContext.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/handler/soap/SOAPMessageContext.java)
Copied: trunk/src/main/java/javax/xml/rpc/holders (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/BigDecimalHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/BigDecimalHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/BigDecimalHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,44 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-import java.math.BigDecimal;
-
-/** A holder for BigDecimals.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class BigDecimalHolder
- implements Holder
-{
- public BigDecimal value;
-
- public BigDecimalHolder()
- {
-
- }
- public BigDecimalHolder(BigDecimal value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/BigDecimalHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/BigDecimalHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/BigIntegerHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/BigIntegerHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/BigIntegerHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,44 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-import java.math.BigInteger;
-
-/** A holder for BigIntegers.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class BigIntegerHolder
- implements Holder
-{
- public BigInteger value;
-
- public BigIntegerHolder()
- {
-
- }
- public BigIntegerHolder(BigInteger value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/BigIntegerHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/BigIntegerHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/BooleanHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/BooleanHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/BooleanHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for booleans.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class BooleanHolder
- implements Holder
-{
- public boolean value;
-
- public BooleanHolder()
- {
-
- }
- public BooleanHolder(boolean value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/BooleanHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/BooleanHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/BooleanWrapperHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/BooleanWrapperHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/BooleanWrapperHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for Booleans.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class BooleanWrapperHolder
- implements Holder
-{
- public Boolean value;
-
- public BooleanWrapperHolder()
- {
-
- }
- public BooleanWrapperHolder(Boolean value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/BooleanWrapperHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/BooleanWrapperHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/ByteArrayHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/ByteArrayHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/ByteArrayHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for byte[]s.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class ByteArrayHolder
- implements Holder
-{
- public byte[] value;
-
- public ByteArrayHolder()
- {
-
- }
- public ByteArrayHolder(byte[] value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/ByteArrayHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/ByteArrayHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/ByteHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/ByteHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/ByteHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for bytes.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class ByteHolder
- implements Holder
-{
- public byte value;
-
- public ByteHolder()
- {
-
- }
- public ByteHolder(byte value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/ByteHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/ByteHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/ByteWrapperHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/ByteWrapperHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/ByteWrapperHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for Bytes.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class ByteWrapperHolder
- implements Holder
-{
- public Byte value;
-
- public ByteWrapperHolder()
- {
-
- }
- public ByteWrapperHolder(Byte value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/ByteWrapperHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/ByteWrapperHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/CalendarHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/CalendarHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/CalendarHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,44 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-import java.util.Calendar;
-
-/** A holder for Calendars.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class CalendarHolder
- implements Holder
-{
- public Calendar value;
-
- public CalendarHolder()
- {
-
- }
- public CalendarHolder(Calendar value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/CalendarHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/CalendarHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/DoubleHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/DoubleHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/DoubleHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for doubles.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class DoubleHolder
- implements Holder
-{
- public double value;
-
- public DoubleHolder()
- {
-
- }
- public DoubleHolder(double value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/DoubleHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/DoubleHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/DoubleWrapperHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/DoubleWrapperHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/DoubleWrapperHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for Doubles.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class DoubleWrapperHolder
- implements Holder
-{
- public Double value;
-
- public DoubleWrapperHolder()
- {
-
- }
- public DoubleWrapperHolder(Double value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/DoubleWrapperHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/DoubleWrapperHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/FloatHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/FloatHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/FloatHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for floats.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class FloatHolder
- implements Holder
-{
- public float value;
-
- public FloatHolder()
- {
-
- }
- public FloatHolder(float value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/FloatHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/FloatHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/FloatWrapperHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/FloatWrapperHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/FloatWrapperHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for Floats.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class FloatWrapperHolder
- implements Holder
-{
- public Float value;
-
- public FloatWrapperHolder()
- {
-
- }
- public FloatWrapperHolder(Float value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/FloatWrapperHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/FloatWrapperHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/Holder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/Holder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/Holder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,34 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** This interface represents the base interface for both standard and generated
- * Holder classes. A generated Holder class is required to implement this Holder
- * interface.
- *
- * @author Scott.Stark at jboss.org
- * @author Rahul Sharma (javadoc)
- * @version $Revision$
- */
-public interface Holder
-{
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/Holder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/Holder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/IntHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/IntHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/IntHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for ints.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class IntHolder
- implements Holder
-{
- public int value;
-
- public IntHolder()
- {
-
- }
- public IntHolder(int value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/IntHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/IntHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/IntegerWrapperHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/IntegerWrapperHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/IntegerWrapperHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for Integers.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class IntegerWrapperHolder
- implements Holder
-{
- public Integer value;
-
- public IntegerWrapperHolder()
- {
-
- }
- public IntegerWrapperHolder(Integer value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/IntegerWrapperHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/IntegerWrapperHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/LongHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/LongHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/LongHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for longs.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class LongHolder
- implements Holder
-{
- public long value;
-
- public LongHolder()
- {
-
- }
- public LongHolder(long value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/LongHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/LongHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/LongWrapperHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/LongWrapperHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/LongWrapperHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for Longs.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class LongWrapperHolder
- implements Holder
-{
- public Long value;
-
- public LongWrapperHolder()
- {
-
- }
- public LongWrapperHolder(Long value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/LongWrapperHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/LongWrapperHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/ObjectHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/ObjectHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/ObjectHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for Objects.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class ObjectHolder
- implements Holder
-{
- public Object value;
-
- public ObjectHolder()
- {
-
- }
- public ObjectHolder(Object value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/ObjectHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/ObjectHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/QNameHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/QNameHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/QNameHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,44 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-import javax.xml.namespace.QName;
-
-/** A holder for QNames.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class QNameHolder
- implements Holder
-{
- public QName value;
-
- public QNameHolder()
- {
-
- }
- public QNameHolder(QName value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/QNameHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/QNameHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/ShortHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/ShortHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/ShortHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for shorts.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class ShortHolder
- implements Holder
-{
- public short value;
-
- public ShortHolder()
- {
-
- }
- public ShortHolder(short value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/ShortHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/ShortHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/ShortWrapperHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/ShortWrapperHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/ShortWrapperHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for Shorts.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class ShortWrapperHolder
- implements Holder
-{
- public Short value;
-
- public ShortWrapperHolder()
- {
-
- }
- public ShortWrapperHolder(Short value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/ShortWrapperHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/ShortWrapperHolder.java)
Deleted: trunk/src/main/java/javax/xml/rpc/holders/StringHolder.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/StringHolder.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/holders/StringHolder.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,42 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.holders;
-
-/** A holder for Strings.
- *
- * @author Scott.Stark at jboss.org
- * @version $Revision$
- */
-public final class StringHolder
- implements Holder
-{
- public String value;
-
- public StringHolder()
- {
-
- }
- public StringHolder(String value)
- {
- this.value = value;
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/holders/StringHolder.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/holders/StringHolder.java)
Copied: trunk/src/main/java/javax/xml/rpc/server (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/server)
Deleted: trunk/src/main/java/javax/xml/rpc/server/ServiceLifecycle.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/server/ServiceLifecycle.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/server/ServiceLifecycle.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,59 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.server;
-
-import javax.xml.rpc.ServiceException;
-
-/** This interface defines a lifecycle interface for a JAX-RPC service endpoint.
- * If the service endpoint class implements the ServiceLifeycle interface, the
- * servlet container based JAX-RPC runtime system is required to manage the
- * lifecycle of the corresponding service endpoint objects.
- *
- * @author Scott.Stark at jboss.org
- * @author Rahul Sharma (javadoc)
- * @version $Revision$
- */
-public interface ServiceLifecycle
-{
- /**
- * Used for initialization of a service endpoint. After a service endpoint instance (an instance of a service endpoint class)
- * is instantiated, the JAX-RPC runtime system invokes the init method.
- * The service endpoint class uses the init method to initialize its configuration and setup access to any external resources.
- * The context parameter in the init method enables the endpoint instance to access the endpoint context provided by
- * the underlying JAX-RPC runtime system.
- *
- * The init method implementation should typecast the context parameter to an appropriate Java type.
- * For service endpoints deployed on a servlet container based JAX-RPC runtime system, the context parameter is
- * of the Java type javax.xml.rpc.server.ServletEndpointContext. The ServletEndpointContext provides an endpoint
- * context maintained by the underlying servlet container based JAX-RPC runtime system
- *
- * @param context Endpoint context for a JAX-RPC service endpoint
- * @throws ServiceException If any error in initialization of the service endpoint; or if any illegal context has been provided in the init method
- */
- public void init(Object context) throws ServiceException;
-
- /**
- * JAX-RPC runtime system ends the lifecycle of a service endpoint instance by invoking the destroy method.
- * The service endpoint releases its resourcesin the implementation of the destroy method.
- */
- public void destroy();
-}
Copied: trunk/src/main/java/javax/xml/rpc/server/ServiceLifecycle.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/server/ServiceLifecycle.java)
Deleted: trunk/src/main/java/javax/xml/rpc/server/ServletEndpointContext.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/server/ServletEndpointContext.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/server/ServletEndpointContext.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,100 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2005, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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 javax.xml.rpc.server;
-
-import javax.servlet.ServletContext;
-import javax.servlet.http.HttpSession;
-import javax.xml.rpc.handler.MessageContext;
-import java.security.Principal;
-
-/**
- * This interface provides an endpoint context maintained by the underlying
- * servlet container based JAX-RPC runtime system. For service endpoints
- * deployed on a servlet container based JAX-RPC runtime system, the context
- * parameter in the ServiceLifecycle.init method is required to be of the Java
- * type javax.xml.rpc.server.ServletEndpointContext.
- *
- * A servlet container based JAX-RPC runtime system implements the
- * ServletEndpointContext interface. The JAX-RPC runtime system is required to
- * provide appropriate session, message context, servlet context and user
- * principal information per method invocation on the endpoint class.
- *
- * @author Scott.Stark at jboss.org
- * @author Rahul Sharma, Roberto Chinnici (javadoc)
- * @version $Revision$
- */
-public interface ServletEndpointContext
-{
- /**
- * The getHttpSession method returns the current HTTP session (as a javax.servlet.http.HTTPSession).
- * When invoked by the service endpoint within a remote method implementation, the getHttpSession returns the HTTP
- * session associated currently with this method invocation. This method returns null if there is no HTTP session
- * currently active and associated with this service endpoint. An endpoint class should not rely on an active HTTP
- * session being always there; the underlying JAX-RPC runtime system is responsible for managing whether or not there
- * is an active HTTP session.
- *
- * The getHttpSession method throws JAXRPCException if invoked by an non HTTP bound endpoint.
- *
- * @return The HTTP session associated with the current invocation or null if there is no active session.
- */
- public HttpSession getHttpSession();
-
- /**
- * The method getMessageContext returns the MessageContext targeted for this endpoint instance.
- * This enables the service endpoint instance to acccess the MessageContext propagated by request HandlerChain
- * (and its contained Handler instances) to the target endpoint instance and to share any SOAP message processing related context.
- * The endpoint instance can access and manipulate the MessageContext and share the SOAP message processing related context with the response HandlerChain.
- *
- * @return MessageContext; If there is no associated MessageContext, this method returns null.
- */
- public MessageContext getMessageContext();
-
- /**
- * The method getServletContext returns the ServletContext associated with the web application that contain this endpoint.
- * According to the Servlet specification, There is one context per web application (installed as a WAR) per JVM .
- * A servlet based service endpoint is deployed as part of a web application.
- * @return ServletContext
- */
- public ServletContext getServletContext();
-
- /**
- * Returns a java.security.Principal instance that contains the name of the authenticated user for the current method
- * invocation on the endpoint instance. This method returns null if there is no associated principal yet.
- * The underlying JAX-RPC runtime system takes the responsibility of providing the appropriate authenticated principal
- * for a remote method invocation on the service endpoint instance.
- *
- * @return A java.security.Principal for the authenticated principal associated with the current invocation on the
- * servlet endpoint instance; Returns null if there no authenticated user associated with a method invocation.
-
- */
- public Principal getUserPrincipal();
-
- /**
- * Returns a boolean indicating whether the authenticated user for the current method invocation on the endpoint
- * instance is included in the specified logical "role".
- *
- * @param role a String specifying the name of the role
- * @return a boolean indicating whether the authenticated user associated with the current method invocation belongs
- * to a given role; false if the user has not been authenticated
- */
- public boolean isUserInRole(String role);
-}
Copied: trunk/src/main/java/javax/xml/rpc/server/ServletEndpointContext.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/server/ServletEndpointContext.java)
Copied: trunk/src/main/java/javax/xml/rpc/soap (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/soap)
Deleted: trunk/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java
===================================================================
--- branches/tdiesler/trunk/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,147 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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 javax.xml.rpc.soap;
-
-import java.io.ObjectStreamField;
-import java.io.ObjectInputStream;
-import java.io.IOException;
-import java.io.ObjectOutputStream;
-import javax.xml.soap.Detail;
-import javax.xml.soap.Name;
-import javax.xml.namespace.QName;
-
-import org.jboss.logging.Logger;
-import org.jboss.util.id.SerialVersion;
-
-/** The SOAPFaultException exception represents a SOAP fault.
- *
- * The message part in the SOAP fault maps to the contents of faultdetail
- * element accessible through the getDetail method on the SOAPFaultException.
- * The method createDetail on the javax.xml.soap.SOAPFactory creates an instance
- * of the javax.xml.soap.Detail.
- *
- * The faultstring provides a human-readable description of the SOAP fault. The
- * faultcode element provides an algorithmic mapping of the SOAP fault.
- *
- * Refer to SOAP 1.1 and WSDL 1.1 specifications for more details of the SOAP
- * faults.
- *
- * @author Scott.Stark at jboss.org
- * @author Thomas.Diesler at jboss.org
- * @author Rahul Sharma (javadoc)
- * @version $Revision$
- */
-public class SOAPFaultException extends RuntimeException
-{
- // provide logging
- private static Logger log = Logger.getLogger(SOAPFaultException.class);
-
- /** @since 4.0.2 */
- static final long serialVersionUID;
- private static final int CODE_IDX = 0;
- private static final int STRING_IDX = 1;
- private static final int ACTOR_IDX = 2;
- private static final int DETAIL_IDX = 3;
- private static final ObjectStreamField[] serialPersistentFields;
- static
- {
- if (SerialVersion.version == SerialVersion.LEGACY)
- {
- serialVersionUID = -290987278985292477L;
- serialPersistentFields = new ObjectStreamField[] { new ObjectStreamField("faultCode", QName.class), new ObjectStreamField("faultString", String.class),
- new ObjectStreamField("faultActor", String.class), new ObjectStreamField("faultDetail", Detail.class), };
- }
- else
- {
- serialVersionUID = -7224636940495025621L;
- serialPersistentFields = new ObjectStreamField[] { new ObjectStreamField("faultcode", QName.class), new ObjectStreamField("faultstring", String.class),
- new ObjectStreamField("faultactor", String.class), new ObjectStreamField("faultdetail", Detail.class), };
- }
- }
-
- private QName faultCode;
- private String faultString;
- private String faultActor;
- private Detail faultDetail;
-
- public SOAPFaultException(QName faultCode, String faultString, String faultActor, Detail faultDetail)
- {
- super(faultString);
-
- Name detailName = faultDetail != null ? faultDetail.getElementName() : null;
- log.debug("new SOAPFaultException [code=" + faultCode + ",string=" + faultString + ",actor=" + faultActor + ",detail=" + detailName + "]");
-
- this.faultCode = faultCode;
- this.faultString = faultString;
- this.faultActor = faultActor;
- this.faultDetail = faultDetail;
- }
-
- public QName getFaultCode()
- {
- return faultCode;
- }
-
- public String getFaultString()
- {
- return faultString;
- }
-
- public String getFaultActor()
- {
- return faultActor;
- }
-
- public Detail getDetail()
- {
- return faultDetail;
- }
-
- // Private -------------------------------------------------------
- private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException
- {
- ObjectInputStream.GetField fields = ois.readFields();
- String name = serialPersistentFields[CODE_IDX].getName();
- this.faultCode = (QName)fields.get(name, null);
- name = serialPersistentFields[STRING_IDX].getName();
- this.faultString = (String)fields.get(name, null);
- name = serialPersistentFields[ACTOR_IDX].getName();
- this.faultActor = (String)fields.get(name, null);
- name = serialPersistentFields[DETAIL_IDX].getName();
- this.faultDetail = (Detail)fields.get(name, null);
- }
-
- private void writeObject(ObjectOutputStream oos) throws IOException
- {
- // Write j2ee 1.4.1 RI field names
- ObjectOutputStream.PutField fields = oos.putFields();
- String name = serialPersistentFields[CODE_IDX].getName();
- fields.put(name, faultCode);
- name = serialPersistentFields[STRING_IDX].getName();
- fields.put(name, faultString);
- name = serialPersistentFields[ACTOR_IDX].getName();
- fields.put(name, faultActor);
- name = serialPersistentFields[DETAIL_IDX].getName();
- fields.put(name, faultDetail);
- oos.writeFields();
- }
-}
Copied: trunk/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java (from rev 863, branches/tdiesler/trunk/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java)
Modified: trunk/src/main/java/org/jboss/ws/integration/tomcat/TomcatServiceEndpointPublisher.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/integration/tomcat/TomcatServiceEndpointPublisher.java 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/main/java/org/jboss/ws/integration/tomcat/TomcatServiceEndpointPublisher.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -34,7 +34,6 @@
import org.jboss.util.NotImplementedException;
import org.jboss.ws.deployment.ServiceEndpointPublisher;
import org.jboss.ws.deployment.UnifiedDeploymentInfo;
-import org.jboss.ws.tools.wspublish;
/**
* Publish the HTTP service endpoint to Tomcat
Copied: trunk/src/main/java/org/jboss/ws/integration/tomcat/wspublish.java (from rev 863, branches/tdiesler/trunk/src/main/java/org/jboss/ws/integration/tomcat/wspublish.java)
Modified: trunk/src/main/java/org/jboss/ws/server/HttpServer.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/server/HttpServer.java 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/main/java/org/jboss/ws/server/HttpServer.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -28,7 +28,6 @@
import javax.xml.ws.Endpoint;
-import org.jboss.ws.integration.jboss.JBossHttpServer;
import org.jboss.ws.jaxws.util.FactoryFinder;
/**
@@ -40,7 +39,7 @@
public abstract class HttpServer
{
public static String HTTP_SERVER_PROPERTY = HttpServer.class.getName();
- public static String DEFAULT_HTTP_SERVER_PROPERTY = JBossHttpServer.class.getName();
+ public static String DEFAULT_HTTP_SERVER_PROPERTY = "org.jboss.ws.integration.jboss.JBossHttpServer";
private Map<String, Object> properties = new HashMap<String, Object>();
Deleted: trunk/src/main/java/org/jboss/ws/tools/wspublish.java
===================================================================
--- trunk/src/main/java/org/jboss/ws/tools/wspublish.java 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/main/java/org/jboss/ws/tools/wspublish.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,145 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.ws.tools;
-
-// $Id: ContextServlet.java 293 2006-05-08 16:31:50Z thomas.diesler at jboss.com $
-
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import org.jboss.logging.Logger;
-import org.jboss.util.file.JarUtils;
-import org.jboss.ws.deployment.ServiceEndpointPublisher;
-import org.jboss.ws.integration.tomcat.TomcatServiceEndpointPublisher;
-import org.jboss.ws.integration.tomcat.TomcatServiceEndpointServlet;
-
-/**
- * Publish a standard portable J2EE web service endpoint
- * to standalone Tomcat
- *
- * @author Thomas.Diesler at jboss.org
- * @since 15-May-2006
- */
-public class wspublish
-{
- // provide logging
- protected final Logger log = Logger.getLogger(wspublish.class);
-
- public static final String DEFAULT_TOMCAT_SERVICE_ENDPOINT_SERVLET = TomcatServiceEndpointServlet.class.getName();
-
- public URL process(URL warURL, File destDir, String servletName) throws IOException
- {
- if (warURL == null)
- throw new IllegalArgumentException("Invalid war URL: " + warURL);
-
- if (destDir == null || destDir.isDirectory() == false)
- throw new IllegalArgumentException("Invalid destintion dir: " + destDir);
-
- if (servletName == null)
- servletName = DEFAULT_TOMCAT_SERVICE_ENDPOINT_SERVLET;
-
- InputStream in = warURL.openStream();
- String warName = new File(warURL.getFile()).getName();
- File tmpDir = new File("./wspublish/" + warName);
- tmpDir.mkdirs();
-
- log.debug("Extracting war to: " + tmpDir);
- JarUtils.unjar(in, tmpDir);
- in.close();
-
- ServiceEndpointPublisher publisher = new TomcatServiceEndpointPublisher();
- publisher.setServiceEndpointServlet(servletName);
- publisher.rewriteWebXML(tmpDir.toURL());
-
- File outFile = new File(destDir.getCanonicalPath() + "/" + warName);
- outFile.getParentFile().mkdirs();
-
- log.info("Writing war to: " + outFile.toURL());
- FileOutputStream fos = new FileOutputStream(outFile);
- JarUtils.jar(fos, tmpDir.listFiles());
- fos.close();
-
- return outFile.toURL();
- }
-
- public static void main(String[] args) throws Exception
- {
- URL warURL = null;
- File destDir = null;
- String servletName = null;
-
- for (int i = 0; i < args.length; i++)
- {
- String arg = args[i];
- if ("-url".equals(arg))
- {
- warURL = getURL(args[i + 1]);
- i++;
- }
- else if ("-dest".equals(arg))
- {
- destDir = new File(args[i + 1]);
- i++;
- }
- else if ("-servlet".equals(arg))
- {
- servletName = args[i + 1];
- i++;
- }
- }
-
- if (warURL == null || destDir == null)
- {
- System.out.println("Usage: wspublish -url warURL -dest webappsDir [-servlet servletName]");
- System.exit(1);
- }
-
- // process the args
- new wspublish().process(warURL, destDir, servletName);
- }
-
- private static URL getURL(String urlStr)
- {
- URL warURL = null;
- try
- {
- warURL = new URL(urlStr);
- }
- catch (MalformedURLException ex)
- {
- // ignore
- }
- try
- {
- warURL = new File(urlStr).toURL();
- }
- catch (MalformedURLException ex)
- {
- // ignore
- }
- return warURL;
- }
-}
Modified: trunk/src/main/resources/jbossws.war/JBoss/WEB-INF/web.xml
===================================================================
--- trunk/src/main/resources/jbossws.war/JBoss/WEB-INF/web.xml 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/main/resources/jbossws.war/JBoss/WEB-INF/web.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -19,7 +19,7 @@
<servlet>
<servlet-name>PortComponentLinkServlet</servlet-name>
- <servlet-class>org.jboss.ws.server.PortComponentLinkServlet</servlet-class>
+ <servlet-class>org.jboss.ws.integration.jboss.PortComponentLinkServlet</servlet-class>
</servlet>
<!-- now the mappings -->
Modified: trunk/src/test/build.xml
===================================================================
--- trunk/src/test/build.xml 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/build.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -32,7 +32,7 @@
<available classname="java.lang.StackTraceElement" property="HAVE_JDK_1.4"/>
<available classname="java.lang.Enum" property="HAVE_JDK_1.5"/>
- <!-- JBoss Home -->
+ <!-- JBoss Home -->
<condition property="jboss.home" value="${jboss.jdk14.home}">
<not>
<isset property="HAVE_JDK_1.5"/>
@@ -84,6 +84,8 @@
<echo message="-----------------------------------------------"/>
<available property="jbossws.available" file="${jboss.home}/client/jbossall-client.jar"/>
+ <available property="installer.setup" file="jboss-ejb3-client.jar"/>
+
<fail message="Not available: ${jboss.home}/client/jbossall-client.jar" unless="jbossws.available"/>
<mkdir dir="${build.test.dir}/log"/>
@@ -126,10 +128,10 @@
<pathelement location="${jboss.client}/jaxb-api.jar"/>
<pathelement location="${jboss.client}/jaxb-impl.jar"/>
<pathelement location="${jboss.client}/jboss-common.jar"/>
- <pathelement location="${jboss.client}/jboss-xml-binding.jar"/>
<pathelement location="${jboss.client}/jbossall-client.jar"/>
<pathelement location="${jboss.client}/jbossretro-rt.jar"/>
<pathelement location="${jboss.client}/jboss-backport-concurrent.jar"/>
+ <pathelement location="${jboss.client}/jboss-xml-binding.jar"/>
<pathelement location="${jboss.client}/${jbossws.client.jar}"/>
<pathelement location="${jboss.client}/log4j.jar"/>
<pathelement location="${jboss.client}/mail.jar"/>
@@ -205,8 +207,7 @@
<target name="compile-generated" depends="init" description="Compile generated sources">
<mkdir dir="${build.test.dir}/classes"/>
- <javac destdir="${build.test.dir}/classes" debug="${javac.debug}" verbose="${javac.verbose}"
- deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
+ <javac destdir="${build.test.dir}/classes" debug="${javac.debug}" verbose="${javac.verbose}" deprecation="${javac.deprecation}" failonerror="${javac.fail.onerror}">
<src path="${build.test.dir}/wstools/java"/>
<classpath refid="javac.classpath"/>
</javac>
@@ -244,7 +245,7 @@
<mkdir dir="${build.test.dir}/libs"/>
<ant antfile="${test.dir}/ant/build-jars.xml" target="build-jars" inheritall="true"/>
</target>
-
+
<!--
Generate samples sources
-->
@@ -297,13 +298,12 @@
</filterset>
</copy>
</target>
-
+
<!-- Custom targets that are not needed very often -->
-
+
<target name="build-benchmark" depends="main">
- <ant antfile="src/test/ant/build-benchmark-jars.xml" target="build-benchmark-jars" inheritall="true"/>
+ <ant antfile="src/test/ant/build-benchmark-jars.xml" target="build-benchmark-jars" inheritall="true"/>
</target>
-
<!-- ================================================================== -->
<!-- Testing -->
@@ -328,15 +328,6 @@
<antcall target="tests-report"/>
</target>
- <!-- Run samples test cases -->
- <target name="tests-jaxws" depends="main" description="Run jaxws unit tests">
- <antcall target="tests-main">
- <param name="include.wildcard" value="org/jboss/test/ws/jaxws/**/*TestCase.class"/>
- <param name="excludesfile" value="${tests.excludesfile}"/>
- </antcall>
- <antcall target="tests-report"/>
- </target>
-
<!-- Run tools test cases -->
<target name="tests-tools" depends="main" description="Run tools unit tests">
<antcall target="tests-main">
@@ -396,7 +387,7 @@
-->
<target name="one-test" depends="init" if="test" description="Run a single unit test">
<junit printsummary="yes" showoutput="yes" dir="${build.test.dir}">
- <!--jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006"/-->
+ <!-- jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006"/ -->
<jvmarg value="-Djava.security.manager"/>
<sysproperty key="java.security.policy" value="${test.etc.dir}/tst.policy"/>
<sysproperty key="jboss.home" value="${jboss.home}"/>
@@ -460,5 +451,5 @@
<target name="clean" description="Delete all generated test files.">
<delete dir="${build.test.dir}"/>
</target>
-
+
</project>
Modified: trunk/src/test/etc/log4j.xml
===================================================================
--- trunk/src/test/etc/log4j.xml 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/etc/log4j.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -61,7 +61,7 @@
</category>
<category name="jbossws.SOAPMessage">
- <priority value="DEBUG"/>
+ <priority value="DEBUG"/>
</category>
<!--
Modified: trunk/src/test/java/org/jboss/test/ws/TomcatTestDeployer.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/TomcatTestDeployer.java 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/java/org/jboss/test/ws/TomcatTestDeployer.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -33,7 +33,7 @@
import java.util.Map;
import org.jboss.util.Base64;
-import org.jboss.ws.tools.wspublish;
+import org.jboss.ws.integration.tomcat.wspublish;
/**
* A deployer that deploys to Tomcat
Copied: trunk/src/test/java/org/jboss/test/ws/jbws1068 (from rev 863, branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jbws1068)
Deleted: trunk/src/test/java/org/jboss/test/ws/jbws1068/JBWS1068TestCase.java
===================================================================
--- branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jbws1068/JBWS1068TestCase.java 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/test/java/org/jboss/test/ws/jbws1068/JBWS1068TestCase.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,48 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt 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.jbws1068;
-
-import java.io.File;
-
-import org.jboss.test.ws.JBossWSTest;
-import org.jboss.ws.metadata.wsdl.WSDLDefinitions;
-import org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory;
-
-/**
- * Cannot handle xsd:import of xml schema
- *
- * http://jira.jboss.org/jira/browse/JBWS-1068
- *
- * @author Thomas.Diesler at jboss.org
- * @since 14-Jul-2006
- */
-public class JBWS1068TestCase extends JBossWSTest
-{
- public void testWSDLParse() throws Exception
- {
- File wsdlFile = new File("resources/jbws1068/wsrp_services.wsdl");
- assertTrue(wsdlFile.exists());
-
- WSDLDefinitionsFactory factory = WSDLDefinitionsFactory.newInstance();
- WSDLDefinitions wsdlDefinitions = factory.parse(wsdlFile.toURL());
- }
-}
Copied: trunk/src/test/java/org/jboss/test/ws/jbws1068/JBWS1068TestCase.java (from rev 863, branches/tdiesler/trunk/src/test/java/org/jboss/test/ws/jbws1068/JBWS1068TestCase.java)
Modified: trunk/src/test/java/org/jboss/test/ws/jbws718/JBWS718TestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jbws718/JBWS718TestCase.java 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/java/org/jboss/test/ws/jbws718/JBWS718TestCase.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -31,7 +31,7 @@
import javax.xml.rpc.Service;
/**
- * Support sequences of anys
+ * DOM Serialization in ServiceReferencable leads to stack overflow
*
* http://jira.jboss.org/jira/browse/JBWS-718
*
Modified: trunk/src/test/java/org/jboss/test/ws/jbws732/JBWS732TestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jbws732/JBWS732TestCase.java 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/java/org/jboss/test/ws/jbws732/JBWS732TestCase.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -30,7 +30,7 @@
import org.jboss.test.ws.JBossWSTestSetup;
/**
- * Marshalling empty arrays arrays nil=true
+ * Empty unwrapped arrays incorrectly unmarshalled as a null value
* http://jira.jboss.org/jira/browse/JBWS-732
*
* @author Thomas.Diesler at jboss.org
Modified: trunk/src/test/java/org/jboss/test/ws/jbws801/JBWS801TestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jbws801/JBWS801TestCase.java 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/java/org/jboss/test/ws/jbws801/JBWS801TestCase.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.jbws801;
+// $Id$
+
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
Modified: trunk/src/test/java/org/jboss/test/ws/jbws944/JBWS944TestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jbws944/JBWS944TestCase.java 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/java/org/jboss/test/ws/jbws944/JBWS944TestCase.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.jbws944;
+// $Id: $
+
import java.net.MalformedURLException;
import java.net.URL;
Modified: trunk/src/test/java/org/jboss/test/ws/samples/jmstransport/JMSTransportTestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/samples/jmstransport/JMSTransportTestCase.java 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/java/org/jboss/test/ws/samples/jmstransport/JMSTransportTestCase.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -26,8 +26,6 @@
import org.jboss.test.ws.JBossWSTestSetup;
import org.jboss.util.xml.DOMUtils;
-import EDU.oswego.cs.dl.util.concurrent.CountDown;
-
/**
* A web service client that connects to a MDB endpoint.
*
@@ -36,8 +34,6 @@
*/
public class JMSTransportTestCase extends JBossWSTest
{
- static CountDown done = new CountDown(1);
-
public static Test suite() throws Exception
{
return JBossWSTestSetup.newTestSetup(JMSTransportTestCase.class, "jbossws-samples-jmstransport.sar");
@@ -86,7 +82,7 @@
sender.send(message);
sender.close();
- Thread.sleep(1000);
+ Thread.sleep(500);
assertNotNull("Expected response message", responseListener.resMessage);
assertEquals(DOMUtils.parse(resMessage), DOMUtils.parse(responseListener.resMessage));
@@ -102,7 +98,6 @@
public void onMessage(Message msg)
{
- done.release();
TextMessage textMessage = (TextMessage)msg;
try
{
Modified: trunk/src/test/java/org/jboss/test/ws/samples/secureejb/SecureEJBTestCase.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/samples/secureejb/SecureEJBTestCase.java 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/java/org/jboss/test/ws/samples/secureejb/SecureEJBTestCase.java 2006-08-30 22:32:11 UTC (rev 865)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.ws.samples.secureejb;
+// $Id$
+
import java.rmi.RemoteException;
import javax.naming.InitialContext;
@@ -102,11 +104,11 @@
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 endpoint = (OrganizationService)service.getPort(portName, OrganizationService.class);
+ OrganizationService port = (OrganizationService)service.getPort(portName, OrganizationService.class);
try
{
- endpoint.getContactInfo("mafia");
+ port.getContactInfo("mafia");
fail("Security exception expected");
}
catch (RemoteException ignore)
@@ -114,11 +116,11 @@
// ignore expected exception
}
- Stub stub = (Stub)endpoint;
+ Stub stub = (Stub)port;
stub._setProperty(Stub.USERNAME_PROPERTY, USERNAME);
stub._setProperty(Stub.PASSWORD_PROPERTY, PASSWORD);
- String info = endpoint.getContactInfo("mafia");
+ String info = port.getContactInfo("mafia");
assertEquals("The 'mafia' boss is currently out of office, please call again.", info);
}
@@ -127,11 +129,11 @@
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 endpoint = (OrganizationService)service.getPort(portName, OrganizationService.class);
+ OrganizationService port = (OrganizationService)service.getPort(portName, OrganizationService.class);
try
{
- endpoint.getContactInfo("mafia");
+ port.getContactInfo("mafia");
fail("Security exception expected");
}
catch (RemoteException ignore)
@@ -139,11 +141,40 @@
// ignore expected exception
}
- Stub stub = (Stub)endpoint;
+ Stub stub = (Stub)port;
stub._setProperty(Stub.USERNAME_PROPERTY, USERNAME);
stub._setProperty(Stub.PASSWORD_PROPERTY, PASSWORD);
- String info = endpoint.getContactInfo("mafia");
+ 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/ws4ee-samples-ejb/ConfidentialSecured", address);
+
+ // test non-confidential access
+ try
+ {
+ stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://" + getServerHost() + ":8080/ws4ee-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/ws4ee-samples-ejb/ConfidentialSecured");
+ //String info = port.getContactInfo("mafia");
+ //assertEquals("The 'mafia' boss is currently out of office, please call again.", info);
+ }
}
Copied: trunk/src/test/resources/jbws1068 (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws1068)
Deleted: trunk/src/test/resources/jbws1068/wsrp_services.wsdl
===================================================================
--- branches/tdiesler/trunk/src/test/resources/jbws1068/wsrp_services.wsdl 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/test/resources/jbws1068/wsrp_services.wsdl 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<wsdl:definitions targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl"
- xmlns:bind="urn:oasis:names:tc:wsrp:v1:bind"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
- xmlns:intf="urn:oasis:names:tc:wsrp:v1:intf"
- xmlns:tns="urn:oasis:names:tc:wsrp:v1:wsdl">
-
- <import namespace="urn:oasis:names:tc:wsrp:v1:bind" location="wsrp_v1_bindings.wsdl"/>
-
- <wsdl:service name="WSRPService">
- <wsdl:port binding="bind:WSRP_v1_Markup_Binding_SOAP" name="WSRPMarkupService">
- <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
- </wsdl:port>
-
- <wsdl:port binding="bind:WSRP_v1_ServiceDescription_Binding_SOAP" name="WSRPServiceDescriptionService">
- <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
- </wsdl:port>
-
- <wsdl:port binding="bind:WSRP_v1_Registration_Binding_SOAP" name="WSRPRegistrationService">
- <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
- </wsdl:port>
-
- <wsdl:port binding="bind:WSRP_v1_PortletManagement_Binding_SOAP" name="WSRPPortletManagementService">
- <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
- </wsdl:port>
- </wsdl:service>
-</wsdl:definitions>
Copied: trunk/src/test/resources/jbws1068/wsrp_services.wsdl (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws1068/wsrp_services.wsdl)
Deleted: trunk/src/test/resources/jbws1068/wsrp_v1_bindings.wsdl
===================================================================
--- branches/tdiesler/trunk/src/test/resources/jbws1068/wsrp_v1_bindings.wsdl 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/test/resources/jbws1068/wsrp_v1_bindings.wsdl 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,417 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions targetNamespace="urn:oasis:names:tc:wsrp:v1:bind"
- xmlns:bind="urn:oasis:names:tc:wsrp:v1:bind"
- xmlns:intf="urn:oasis:names:tc:wsrp:v1:intf"
- xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
-
-<!-- This file reflects v1.0 of the specification -->
-
-
- <import namespace="urn:oasis:names:tc:wsrp:v1:intf"
- location="wsrp_v1_interfaces.wsdl"/>
-
- <wsdl:binding name="WSRP_v1_Markup_Binding_SOAP" type="intf:WSRP_v1_Markup_PortType">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-
- <wsdl:operation name="getMarkup">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:getMarkup"/>
- <wsdl:input name="getMarkup">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getMarkupResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="AccessDenied">
- <soap:fault name="AccessDenied" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidUserCategory">
- <soap:fault name="InvalidUserCategory" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InconsistentParameters">
- <soap:fault name="InconsistentParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="MissingParameters">
- <soap:fault name="MissingParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidHandle">
- <soap:fault name="InvalidHandle" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidCookie">
- <soap:fault name="InvalidCookie" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidSession">
- <soap:fault name="InvalidSession" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="UnsupportedMode">
- <soap:fault name="UnsupportedMode" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="UnsupportedWindowState">
- <soap:fault name="UnsupportedWindowState" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="UnsupportedLocale">
- <soap:fault name="UnsupportedLocale" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="UnsupportedMimeType">
- <soap:fault name="UnsupportedMimeType" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
-
- <wsdl:operation name="performBlockingInteraction">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:performBlockingInteraction"/>
- <wsdl:input name="performBlockingInteraction">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="performBlockingInteractionResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="AccessDenied">
- <soap:fault name="AccessDenied" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidUserCategory">
- <soap:fault name="InvalidUserCategory" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InconsistentParameters">
- <soap:fault name="InconsistentParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="MissingParameters">
- <soap:fault name="MissingParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidHandle">
- <soap:fault name="InvalidHandle" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="PortletStateChangeRequired">
- <soap:fault name="PortletStateChangeRequired" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidCookie">
- <soap:fault name="InvalidCookie" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidSession">
- <soap:fault name="InvalidSession" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="UnsupportedMode">
- <soap:fault name="UnsupportedMode" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="UnsupportedWindowState">
- <soap:fault name="UnsupportedWindowState" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="UnsupportedLocale">
- <soap:fault name="UnsupportedLocale" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="UnsupportedMimeType">
- <soap:fault name="UnsupportedMimeType" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
-
- <wsdl:operation name="releaseSessions">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:releaseSessions"/>
- <wsdl:input name="releaseSessions">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="releaseSessionsResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="AccessDenied">
- <soap:fault name="AccessDenied" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="MissingParameters">
- <soap:fault name="MissingParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
-
- <wsdl:operation name="initCookie">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:initCookie"/>
- <wsdl:input name="initCookie">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="initCookieResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="AccessDenied">
- <soap:fault name="AccessDenied" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- </wsdl:binding>
-
-
- <wsdl:binding name="WSRP_v1_ServiceDescription_Binding_SOAP" type="intf:WSRP_v1_ServiceDescription_PortType">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-
- <wsdl:operation name="getServiceDescription">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:getServiceDescription"/>
- <wsdl:input name="getServiceDescription">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getServiceDescriptionResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- </wsdl:binding>
-
- <wsdl:binding name="WSRP_v1_PortletManagement_Binding_SOAP" type="intf:WSRP_v1_PortletManagement_PortType">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-
- <wsdl:operation name="getPortletDescription">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:getPortletDescription"/>
- <wsdl:input name="getPortletDescription">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getPortletDescriptionResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="AccessDenied">
- <soap:fault name="AccessDenied" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidUserCategory">
- <soap:fault name="InvalidUserCategory" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InconsistentParameters">
- <soap:fault name="InconsistentParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="MissingParameters">
- <soap:fault name="MissingParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidHandle">
- <soap:fault name="InvalidHandle" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
-
- <wsdl:operation name="clonePortlet">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:clonePortlet"/>
- <wsdl:input name="clonePortlet">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="clonePortletResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="AccessDenied">
- <soap:fault name="AccessDenied" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidUserCategory">
- <soap:fault name="InvalidUserCategory" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InconsistentParameters">
- <soap:fault name="InconsistentParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="MissingParameters">
- <soap:fault name="MissingParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidHandle">
- <soap:fault name="InvalidHandle" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
-
- <wsdl:operation name="destroyPortlets">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:destroyPortlets"/>
- <wsdl:input name="destroyPortlets">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="destroyPortletsResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="InconsistentParameters">
- <soap:fault name="InconsistentParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="MissingParameters">
- <soap:fault name="MissingParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
-
- <wsdl:operation name="setPortletProperties">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:setPortletProperties"/>
- <wsdl:input name="setPortletProperties">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="setPortletPropertiesResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="AccessDenied">
- <soap:fault name="AccessDenied" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidUserCategory">
- <soap:fault name="InvalidUserCategory" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InconsistentParameters">
- <soap:fault name="InconsistentParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="MissingParameters">
- <soap:fault name="MissingParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidHandle">
- <soap:fault name="InvalidHandle" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
-
- <wsdl:operation name="getPortletProperties">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:getPortletProperties"/>
- <wsdl:input name="getPortletProperties">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getPortletPropertiesResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="AccessDenied">
- <soap:fault name="AccessDenied" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidUserCategory">
- <soap:fault name="InvalidUserCategory" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InconsistentParameters">
- <soap:fault name="InconsistentParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="MissingParameters">
- <soap:fault name="MissingParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidHandle">
- <soap:fault name="InvalidHandle" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
-
- <wsdl:operation name="getPortletPropertyDescription">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:getPortletPropertyDescription"/>
- <wsdl:input name="getPortletPropertyDescription">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getPortletPropertyDescriptionResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="AccessDenied">
- <soap:fault name="AccessDenied" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidUserCategory">
- <soap:fault name="InvalidUserCategory" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InconsistentParameters">
- <soap:fault name="InconsistentParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="MissingParameters">
- <soap:fault name="MissingParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="InvalidHandle">
- <soap:fault name="InvalidHandle" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- </wsdl:binding>
-
- <wsdl:binding name="WSRP_v1_Registration_Binding_SOAP" type="intf:WSRP_v1_Registration_PortType">
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-
- <wsdl:operation name="register">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:register"/>
- <wsdl:input name="register">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="registerResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="MissingParameters">
- <soap:fault name="MissingParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
-
- <wsdl:operation name="deregister">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:deregister"/>
- <wsdl:input name="deregister">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="deregisterResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
-
- <wsdl:operation name="modifyRegistration">
- <soap:operation soapAction="urn:oasis:names:tc:wsrp:v1:modifyRegistration"/>
- <wsdl:input name="modifyRegistration">
- <soap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="modifyRegistrationResponse">
- <soap:body use="literal"/>
- </wsdl:output>
- <wsdl:fault name="InvalidRegistration">
- <soap:fault name="InvalidRegistration" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="MissingParameters">
- <soap:fault name="MissingParameters" use="literal"/>
- </wsdl:fault>
- <wsdl:fault name="OperationFailed">
- <soap:fault name="OperationFailed" use="literal"/>
- </wsdl:fault>
- </wsdl:operation>
- </wsdl:binding>
-</wsdl:definitions>
Copied: trunk/src/test/resources/jbws1068/wsrp_v1_bindings.wsdl (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws1068/wsrp_v1_bindings.wsdl)
Deleted: trunk/src/test/resources/jbws1068/wsrp_v1_interfaces.wsdl
===================================================================
--- branches/tdiesler/trunk/src/test/resources/jbws1068/wsrp_v1_interfaces.wsdl 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/test/resources/jbws1068/wsrp_v1_interfaces.wsdl 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,348 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions targetNamespace="urn:oasis:names:tc:wsrp:v1:intf"
- xmlns:types="urn:oasis:names:tc:wsrp:v1:types"
- xmlns:intf="urn:oasis:names:tc:wsrp:v1:intf"
-
- xmlns="http://schemas.xmlsoap.org/wsdl/"
-
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- >
-
-<!-- This file reflects v1.0 of the specification -->
-
- <wsdl:types>
- <schema targetNamespace="urn:oasis:names:tc:wsrp:v1:intf"
- xmlns="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified">
-
- <import namespace="urn:oasis:names:tc:wsrp:v1:types" schemaLocation="wsrp_v1_types.xsd"/>
-
- </schema>
- </wsdl:types>
-
-
- <!-- - - - - - - - - -->
- <!-- fault messages -->
- <!-- - - - - - - - - -->
-
- <wsdl:message name="AccessDenied">
- <wsdl:part name="fault" element="types:AccessDenied"/>
- </wsdl:message>
-
- <wsdl:message name="InvalidUserCategory">
- <wsdl:part name="fault" element="types:InvalidUserCategory"/>
- </wsdl:message>
-
- <wsdl:message name="InconsistentParameters">
- <wsdl:part name="fault" element="types:InconsistentParameters"/>
- </wsdl:message>
-
- <wsdl:message name="InvalidRegistration">
- <wsdl:part name="fault" element="types:InvalidRegistration"/>
- </wsdl:message>
-
- <wsdl:message name="MissingParameters">
- <wsdl:part name="fault" element="types:MissingParameters"/>
- </wsdl:message>
-
- <wsdl:message name="OperationFailed">
- <wsdl:part name="fault" element="types:OperationFailed"/>
- </wsdl:message>
-
- <wsdl:message name="InvalidHandle">
- <wsdl:part name="fault" element="types:InvalidHandle"/>
- </wsdl:message>
-
- <wsdl:message name="PortletStateChangeRequired">
- <wsdl:part name="fault" element="types:PortletStateChangeRequired"/>
- </wsdl:message>
-
- <wsdl:message name="InvalidCookie">
- <wsdl:part name="fault" element="types:InvalidCookie"/>
- </wsdl:message>
-
- <wsdl:message name="InvalidSession">
- <wsdl:part name="fault" element="types:InvalidSession"/>
- </wsdl:message>
-
- <wsdl:message name="UnsupportedMode">
- <wsdl:part name="fault" element="types:UnsupportedMode"/>
- </wsdl:message>
-
- <wsdl:message name="UnsupportedWindowState">
- <wsdl:part name="fault" element="types:UnsupportedWindowState"/>
- </wsdl:message>
-
- <wsdl:message name="UnsupportedLocale">
- <wsdl:part name="fault" element="types:UnsupportedLocale"/>
- </wsdl:message>
-
- <wsdl:message name="UnsupportedMimeType">
- <wsdl:part name="fault" element="types:UnsupportedMimeType"/>
- </wsdl:message>
-
-
- <!-- - - - - - - - - - - -->
- <!-- Operations messages -->
- <!-- - - - - - - - - - - -->
-
- <wsdl:message name="getMarkup">
- <wsdl:part name="getMarkup" element="types:getMarkup"/>
- </wsdl:message>
- <wsdl:message name="getMarkupResponse">
- <wsdl:part name="getMarkupResponse" element="types:getMarkupResponse"/>
- </wsdl:message>
-
- <wsdl:message name="performBlockingInteraction">
- <wsdl:part name="performBlockingInteraction" element="types:performBlockingInteraction"/>
- </wsdl:message>
- <wsdl:message name="performBlockingInteractionResponse">
- <wsdl:part name="performBlockingInteractionResponse" element="types:performBlockingInteractionResponse"/>
- </wsdl:message>
-
- <wsdl:message name="getServiceDescription">
- <wsdl:part name="getServiceDescription" element="types:getServiceDescription"/>
- </wsdl:message>
- <wsdl:message name="getServiceDescriptionResponse">
- <wsdl:part name="getServiceDescriptionResponse" element="types:getServiceDescriptionResponse"/>
- </wsdl:message>
-
- <wsdl:message name="register">
- <wsdl:part name="register" element="types:register"/>
- </wsdl:message>
- <wsdl:message name="registerResponse">
- <wsdl:part name="registerResponse" element="types:registerResponse"/>
- </wsdl:message>
-
- <wsdl:message name="deregister">
- <wsdl:part name="deregister" element="types:deregister"/>
- </wsdl:message>
- <wsdl:message name="deregisterResponse">
- <wsdl:part name="deregisterResponse" element="types:deregisterResponse"/>
- </wsdl:message>
-
- <wsdl:message name="modifyRegistration">
- <wsdl:part name="modifyRegistration" element="types:modifyRegistration"/>
- </wsdl:message>
- <wsdl:message name="modifyRegistrationResponse">
- <wsdl:part name="modifyRegistrationResponse" element="types:modifyRegistrationResponse"/>
- </wsdl:message>
-
- <wsdl:message name="getPortletDescription">
- <wsdl:part name="getPortletDescription" element="types:getPortletDescription"/>
- </wsdl:message>
- <wsdl:message name="getPortletDescriptionResponse">
- <wsdl:part name="getPortletDescriptionResponse" element="types:getPortletDescriptionResponse"/>
- </wsdl:message>
-
- <wsdl:message name="clonePortlet">
- <wsdl:part name="clonePortlet" element="types:clonePortlet"/>
- </wsdl:message>
- <wsdl:message name="clonePortletResponse">
- <wsdl:part name="clonePortletResponse" element="types:clonePortletResponse"/>
- </wsdl:message>
-
- <wsdl:message name="destroyPortlets">
- <wsdl:part name="destroyPortlets" element="types:destroyPortlets"/>
- </wsdl:message>
- <wsdl:message name="destroyPortletsResponse">
- <wsdl:part name="destroyPortletsResponse" element="types:destroyPortletsResponse"/>
- </wsdl:message>
-
- <wsdl:message name="setPortletProperties">
- <wsdl:part name="setPortletProperties" element="types:setPortletProperties"/>
- </wsdl:message>
- <wsdl:message name="setPortletPropertiesResponse">
- <wsdl:part name="setPortletPropertiesResponse" element="types:setPortletPropertiesResponse"/>
- </wsdl:message>
-
- <wsdl:message name="getPortletProperties">
- <wsdl:part name="getPortletProperties" element="types:getPortletProperties"/>
- </wsdl:message>
- <wsdl:message name="getPortletPropertiesResponse">
- <wsdl:part name="getPortletPropertiesResponse" element="types:getPortletPropertiesResponse"/>
- </wsdl:message>
-
- <wsdl:message name="getPortletPropertyDescription">
- <wsdl:part name="getPortletPropertyDescription" element="types:getPortletPropertyDescription"/>
- </wsdl:message>
- <wsdl:message name="getPortletPropertyDescriptionResponse">
- <wsdl:part name="getPortletPropertyDescriptionResponse" element="types:getPortletPropertyDescriptionResponse"/>
- </wsdl:message>
-
- <wsdl:message name="releaseSessions">
- <wsdl:part name="releaseSessions" element="types:releaseSessions"/>
- </wsdl:message>
- <wsdl:message name="releaseSessionsResponse">
- <wsdl:part name="releaseSessionsResponse" element="types:releaseSessionsResponse"/>
- </wsdl:message>
-
- <wsdl:message name="initCookie">
- <wsdl:part name="initCookie" element="types:initCookie"/>
- </wsdl:message>
- <wsdl:message name="initCookieResponse">
- <wsdl:part name="initCookieResponse" element="types:initCookieResponse"/>
- </wsdl:message>
-
- <wsdl:portType name="WSRP_v1_Markup_PortType">
- <wsdl:operation name="getMarkup">
- <wsdl:input message="intf:getMarkup" name="getMarkup"/>
- <wsdl:output message="intf:getMarkupResponse" name="getMarkupResponse"/>
- <wsdl:fault message="intf:AccessDenied" name="AccessDenied"/>
- <wsdl:fault message="intf:InvalidUserCategory" name="InvalidUserCategory"/>
- <wsdl:fault message="intf:InconsistentParameters" name="InconsistentParameters"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:MissingParameters" name="MissingParameters"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- <wsdl:fault message="intf:InvalidHandle" name="InvalidHandle"/>
- <wsdl:fault message="intf:InvalidCookie" name="InvalidCookie"/>
- <wsdl:fault message="intf:InvalidSession" name="InvalidSession"/>
- <wsdl:fault message="intf:UnsupportedMode" name="UnsupportedMode"/>
- <wsdl:fault message="intf:UnsupportedWindowState" name="UnsupportedWindowState"/>
- <wsdl:fault message="intf:UnsupportedLocale" name="UnsupportedLocale"/>
- <wsdl:fault message="intf:UnsupportedMimeType" name="UnsupportedMimeType"/>
- </wsdl:operation>
-
- <wsdl:operation name="performBlockingInteraction">
- <wsdl:input message="intf:performBlockingInteraction" name="performBlockingInteraction"/>
- <wsdl:output message="intf:performBlockingInteractionResponse" name="performBlockingInteractionResponse"/>
- <wsdl:fault message="intf:AccessDenied" name="AccessDenied"/>
- <wsdl:fault message="intf:InvalidUserCategory" name="InvalidUserCategory"/>
- <wsdl:fault message="intf:InconsistentParameters" name="InconsistentParameters"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:MissingParameters" name="MissingParameters"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- <wsdl:fault message="intf:InvalidHandle" name="InvalidHandle"/>
- <wsdl:fault message="intf:PortletStateChangeRequired" name="PortletStateChangeRequired"/>
- <wsdl:fault message="intf:InvalidCookie" name="InvalidCookie"/>
- <wsdl:fault message="intf:InvalidSession" name="InvalidSession"/>
- <wsdl:fault message="intf:UnsupportedMode" name="UnsupportedMode"/>
- <wsdl:fault message="intf:UnsupportedWindowState" name="UnsupportedWindowState"/>
- <wsdl:fault message="intf:UnsupportedLocale" name="UnsupportedLocale"/>
- <wsdl:fault message="intf:UnsupportedMimeType" name="UnsupportedMimeType"/>
- </wsdl:operation>
-
- <wsdl:operation name="releaseSessions">
- <wsdl:input message="intf:releaseSessions" name="releaseSessions"/>
- <wsdl:output message="intf:releaseSessionsResponse" name="releaseSessionsResponse"/>
- <wsdl:fault message="intf:AccessDenied" name="AccessDenied"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:MissingParameters" name="MissingParameters"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- </wsdl:operation>
-
- <wsdl:operation name="initCookie">
- <wsdl:input message="intf:initCookie" name="initCookie"/>
- <wsdl:output message="intf:initCookieResponse" name="initCookieResponse"/>
- <wsdl:fault message="intf:AccessDenied" name="AccessDenied"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:portType name="WSRP_v1_ServiceDescription_PortType">
- <wsdl:operation name="getServiceDescription">
- <wsdl:input message="intf:getServiceDescription" name="getServiceDescription"/>
- <wsdl:output message="intf:getServiceDescriptionResponse" name="getServiceDescriptionResponse"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:portType name="WSRP_v1_Registration_PortType">
- <wsdl:operation name="register">
- <wsdl:input message="intf:register" name="register"/>
- <wsdl:output message="intf:registerResponse" name="registerResponse"/>
- <wsdl:fault message="intf:MissingParameters" name="MissingParameters"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- </wsdl:operation>
-
- <wsdl:operation name="deregister">
- <wsdl:input message="intf:deregister" name="deregister"/>
- <wsdl:output message="intf:deregisterResponse" name="deregisterResponse"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- </wsdl:operation>
-
- <wsdl:operation name="modifyRegistration">
- <wsdl:input message="intf:modifyRegistration" name="modifyRegistration"/>
- <wsdl:output message="intf:modifyRegistrationResponse" name="modifyRegistrationResponse"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:MissingParameters" name="MissingParameters"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:portType name="WSRP_v1_PortletManagement_PortType">
- <wsdl:operation name="getPortletDescription">
- <wsdl:input message="intf:getPortletDescription" name="getPortletDescription"/>
- <wsdl:output message="intf:getPortletDescriptionResponse" name="getPortletDescriptionResponse"/>
- <wsdl:fault message="intf:AccessDenied" name="AccessDenied"/>
- <wsdl:fault message="intf:InvalidUserCategory" name="InvalidUserCategory"/>
- <wsdl:fault message="intf:InconsistentParameters" name="InconsistentParameters"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:MissingParameters" name="MissingParameters"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- <wsdl:fault message="intf:InvalidHandle" name="InvalidHandle"/>
- </wsdl:operation>
-
- <wsdl:operation name="clonePortlet">
- <wsdl:input message="intf:clonePortlet" name="clonePortlet"/>
- <wsdl:output message="intf:clonePortletResponse" name="clonePortletResponse"/>
- <wsdl:fault message="intf:AccessDenied" name="AccessDenied"/>
- <wsdl:fault message="intf:InvalidUserCategory" name="InvalidUserCategory"/>
- <wsdl:fault message="intf:InconsistentParameters" name="InconsistentParameters"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:MissingParameters" name="MissingParameters"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- <wsdl:fault message="intf:InvalidHandle" name="InvalidHandle"/>
- </wsdl:operation>
-
- <wsdl:operation name="destroyPortlets">
- <wsdl:input message="intf:destroyPortlets" name="destroyPortlets"/>
- <wsdl:output message="intf:destroyPortletsResponse" name="destroyPortletsResponse"/>
- <wsdl:fault message="intf:InconsistentParameters" name="InconsistentParameters"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:MissingParameters" name="MissingParameters"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- </wsdl:operation>
-
- <wsdl:operation name="setPortletProperties">
- <wsdl:input message="intf:setPortletProperties" name="setPortletProperties"/>
- <wsdl:output message="intf:setPortletPropertiesResponse" name="setPortletPropertiesResponse"/>
- <wsdl:fault message="intf:AccessDenied" name="AccessDenied"/>
- <wsdl:fault message="intf:InvalidUserCategory" name="InvalidUserCategory"/>
- <wsdl:fault message="intf:InconsistentParameters" name="InconsistentParameters"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:MissingParameters" name="MissingParameters"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- <wsdl:fault message="intf:InvalidHandle" name="InvalidHandle"/>
- </wsdl:operation>
-
- <wsdl:operation name="getPortletProperties">
- <wsdl:input message="intf:getPortletProperties" name="getPortletProperties"/>
- <wsdl:output message="intf:getPortletPropertiesResponse" name="getPortletPropertiesResponse"/>
- <wsdl:fault message="intf:AccessDenied" name="AccessDenied"/>
- <wsdl:fault message="intf:InvalidUserCategory" name="InvalidUserCategory"/>
- <wsdl:fault message="intf:InconsistentParameters" name="InconsistentParameters"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:MissingParameters" name="MissingParameters"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- <wsdl:fault message="intf:InvalidHandle" name="InvalidHandle"/>
- </wsdl:operation>
-
- <wsdl:operation name="getPortletPropertyDescription">
- <wsdl:input message="intf:getPortletPropertyDescription" name="getPortletPropertyDescription"/>
- <wsdl:output message="intf:getPortletPropertyDescriptionResponse" name="getPortletPropertyDescriptionResponse"/>
- <wsdl:fault message="intf:AccessDenied" name="AccessDenied"/>
- <wsdl:fault message="intf:InvalidUserCategory" name="InvalidUserCategory"/>
- <wsdl:fault message="intf:InconsistentParameters" name="InconsistentParameters"/>
- <wsdl:fault message="intf:InvalidRegistration" name="InvalidRegistration"/>
- <wsdl:fault message="intf:MissingParameters" name="MissingParameters"/>
- <wsdl:fault message="intf:OperationFailed" name="OperationFailed"/>
- <wsdl:fault message="intf:InvalidHandle" name="InvalidHandle"/>
- </wsdl:operation>
- </wsdl:portType>
-</wsdl:definitions>
Copied: trunk/src/test/resources/jbws1068/wsrp_v1_interfaces.wsdl (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws1068/wsrp_v1_interfaces.wsdl)
Deleted: trunk/src/test/resources/jbws1068/wsrp_v1_types.xsd
===================================================================
--- branches/tdiesler/trunk/src/test/resources/jbws1068/wsrp_v1_types.xsd 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/test/resources/jbws1068/wsrp_v1_types.xsd 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,854 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<schema targetNamespace="urn:oasis:names:tc:wsrp:v1:types"
- xmlns:types="urn:oasis:names:tc:wsrp:v1:types"
-
- xmlns="http://www.w3.org/2001/XMLSchema"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-
- elementFormDefault="qualified">
-
-<!-- This file reflects v1.0 of the specification -->
-
- <import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
-
- <!-- - - - - - - - - - - - - - - - - -->
- <!-- General types used throughout -->
- <!-- - - - - - - - - - - - - - - - - -->
-
- <!-- This definition matches the WSRP v1 specification, but is not used throughout the
- rest of these definitions as not all stacks are able to handle restrictions on strings
- -->
- <simpleType name="Handle">
- <restriction base="xsd:string">
- <xsd:minLength value="1"/>
- <xsd:maxLength value="255"/>
- </restriction>
- </simpleType>
- <element name="Handle" type="types:Handle"/>
-
- <!-- This definition matches the WSRP v1 specification, but is not used throughout the
- rest of these definitions as not all stacks are able to handle restrictions on strings
- -->
- <simpleType name="ID">
- <restriction base="xsd:string">
- <xsd:minLength value="1"/>
- <xsd:maxLength value="4096"/>
- </restriction>
- </simpleType>
- <element name="ID" type="types:ID"/>
-
- <!-- This definition matches the WSRP v1 specification, but is not used throughout the
- rest of these definitions as not all stacks are able to handle restrictions on strings
- -->
- <simpleType name="Key">
- <restriction base="xsd:string">
- <xsd:minLength value="1"/>
- <xsd:maxLength value="255"/>
- </restriction>
- </simpleType>
- <element name="Key" type="types:Key"/>
-
- <complexType name="Extension">
- <sequence>
- <!-- JBoss modification: added processContents="lax" to better process extensions. -->
- <any namespace="##other" processContents="lax"/>
- </sequence>
- </complexType>
-
- <complexType name="LocalizedString">
- <sequence>
- <element name="value" type="xsd:string"/>
- </sequence>
- <attribute ref="xml:lang" use="required"/>
- <attribute name="resourceName" type="xsd:string"/>
- </complexType>
-
- <complexType name="ResourceList">
- <sequence>
- <element name="resources" type="types:Resource" maxOccurs="unbounded"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="Resource">
- <sequence>
- <element name="values" type="types:ResourceValue" maxOccurs="unbounded"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="resourceName" type="xsd:string" use="required"/>
- </complexType>
-
- <complexType name="ResourceValue">
- <sequence>
- <element name="value" type="xsd:string"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute ref="xml:lang" use="required"/>
- </complexType>
-
- <complexType name="StringArray">
- <sequence>
- <element name="String" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="StringArray" type="types:StringArray"/>
-
- <complexType name="NamedString">
- <sequence>
- <element name="value" type="xsd:string"/>
- </sequence>
- <attribute name="name" type="xsd:string" use="required"/>
- </complexType>
-
- <complexType name="NamedStringArray">
- <sequence>
- <element name="NamedString" type="types:NamedString" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="NamedStringArray" type="types:NamedStringArray"/>
-
- <!-- - - - - - - - - -->
- <!-- Producer types -->
- <!-- - - - - - - - - -->
-
- <complexType name="RegistrationData">
- <sequence>
- <element name="consumerName" type="xsd:string"/>
- <element name="consumerAgent" type="xsd:string"/>
- <element name="methodGetSupported" type="xsd:boolean"/>
- <element name="consumerModes" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- <element name="consumerWindowStates" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- <element name="consumerUserScopes" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- <element name="customUserProfileData" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- <element name="registrationProperties" type="types:Property" minOccurs="0" maxOccurs="unbounded"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="RegistrationData" type="types:RegistrationData"/>
-
- <complexType name="RegistrationState">
- <sequence>
- <element name="registrationState" type="xsd:base64Binary" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="RegistrationState" type="types:RegistrationState"/>
-
- <complexType name="RegistrationContext">
- <sequence>
- <!-- <element name="registrationHandle" type="types:Handle"/>
- JAX-RPC RI doesn't handle restrictions on xsd:string
- -->
- <element name="registrationHandle" type="xsd:string"/>
- <element name="registrationState" type="xsd:base64Binary" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="RegistrationContext" type="types:RegistrationContext"/>
-
- <complexType name="SessionContext">
- <sequence>
- <element name="sessionID" type="xsd:string"/>
- <element name="expires" type="xsd:int"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="SessionContext" type="types:SessionContext"/>
-
- <complexType name="RuntimeContext">
- <sequence>
- <element name="userAuthentication" type="xsd:string"/>
- <element name="portletInstanceKey" type="xsd:string" minOccurs="0"/>
- <element name="namespacePrefix" type="xsd:string" minOccurs="0"/>
- <element name="templates" type="types:Templates" minOccurs="0"/>
- <element name="sessionID" type="xsd:string" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="RuntimeContext" type="types:RuntimeContext"/>
-
- <complexType name="ItemDescription">
- <sequence>
- <element name="description" type="types:LocalizedString"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="itemName" type="xsd:string" use="required"/>
- </complexType>
-
- <simpleType name="CookieProtocol">
- <restriction base="xsd:string">
- <enumeration value="none"/>
- <enumeration value="perUser"/>
- <enumeration value="perGroup"/>
- </restriction>
- </simpleType>
-
- <complexType name="ServiceDescription">
- <sequence>
- <element name="requiresRegistration" type="xsd:boolean"/>
- <element name="offeredPortlets" type="types:PortletDescription" minOccurs="0" maxOccurs="unbounded"/>
- <element name="userCategoryDescriptions" type="types:ItemDescription" minOccurs="0" maxOccurs="unbounded"/>
- <element name="customUserProfileItemDescriptions" type="types:ItemDescription" minOccurs="0"
- maxOccurs="unbounded"/>
- <element name="customWindowStateDescriptions" type="types:ItemDescription" minOccurs="0" maxOccurs="unbounded"/>
- <element name="customModeDescriptions" type="types:ItemDescription" minOccurs="0" maxOccurs="unbounded"/>
- <element name="requiresInitCookie" type="types:CookieProtocol" default="none" minOccurs="0"/>
- <element name="registrationPropertyDescription" type="types:ModelDescription" minOccurs="0"/>
- <element name="locales" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- <element name="resourceList" type="types:ResourceList" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="ServiceDescription" type="types:ServiceDescription"/>
-
-
- <!-- - - - - - - - - - - - - - - - - - - -->
- <!-- Portlet types (metadata and runtime) -->
- <!-- - - - - - - - - - - - - - - - - - - -->
-
- <complexType name="MarkupType">
- <sequence>
- <element name="mimeType" type="xsd:string"/>
- <element name="modes" type="xsd:string" maxOccurs="unbounded"/>
- <element name="windowStates" type="xsd:string" maxOccurs="unbounded"/>
- <element name="locales" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="PortletDescription">
- <sequence>
- <!-- <element name="portletHandle" type="types:Handle"/> -->
- <element name="portletHandle" type="xsd:string"/>
- <element name="markupTypes" type="types:MarkupType" maxOccurs="unbounded"/>
- <element name="groupID" type="xsd:string" minOccurs="0"/>
- <element name="description" type="types:LocalizedString" minOccurs="0"/>
- <element name="shortTitle" type="types:LocalizedString" minOccurs="0"/>
- <element name="title" type="types:LocalizedString" minOccurs="0"/>
- <element name="displayName" type="types:LocalizedString" minOccurs="0"/>
- <element name="keywords" type="types:LocalizedString" minOccurs="0" maxOccurs="unbounded"/>
- <element name="userCategories" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- <element name="userProfileItems" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- <element name="usesMethodGet" type="xsd:boolean" default="false" minOccurs="0"/>
- <element name="defaultMarkupSecure" type="xsd:boolean" default="false" minOccurs="0"/>
- <element name="onlySecure" type="xsd:boolean" default="false" minOccurs="0"/>
- <element name="userContextStoredInSession" type="xsd:boolean" default="false" minOccurs="0"/>
- <element name="templatesStoredInSession" type="xsd:boolean" default="false" minOccurs="0"/>
- <element name="hasUserSpecificState" type="xsd:boolean" default="false" minOccurs="0"/>
- <element name="doesUrlTemplateProcessing" type="xsd:boolean" default="false" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="PortletDescriptionResponse">
- <sequence>
- <element name="portletDescription" type="types:PortletDescription"/>
- <element name="resourceList" type="types:ResourceList" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="PortletContext">
- <sequence>
- <!-- <element name="portletHandle" type="types:Handle"/> -->
- <element name="portletHandle" type="xsd:string"/>
- <element name="portletState" type="xsd:base64Binary" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="PortletContext" type="types:PortletContext"/>
-
- <complexType name="DestroyFailed">
- <sequence>
- <element name="portletHandle" type="xsd:string"/>
- <element name="reason" type="xsd:string"/>
- </sequence>
- </complexType>
-
- <!-- - - - - - - - - - - - -->
- <!-- Markup oriented types -->
- <!-- - - - - - - - - - - - -->
-
- <complexType name="ClientData">
- <sequence>
- <element name="userAgent" type="xsd:string" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="ClientData" type="types:ClientData"/>
-
- <complexType name="CacheControl">
- <sequence>
- <element name="expires" type="xsd:int"/>
- <element name="userScope" type="xsd:string"/>
- <element name="validateTag" type="xsd:string" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="Templates">
- <sequence>
- <element name="defaultTemplate" type="xsd:string" nillable="true"/>
- <element name="blockingActionTemplate" type="xsd:string" minOccurs="0"/>
- <element name="renderTemplate" type="xsd:string" minOccurs="0"/>
- <element name="resourceTemplate" type="xsd:string" minOccurs="0"/>
- <element name="secureDefaultTemplate" type="xsd:string" nillable="true"/>
- <element name="secureBlockingActionTemplate" type="xsd:string" minOccurs="0"/>
- <element name="secureRenderTemplate" type="xsd:string" minOccurs="0"/>
- <element name="secureResourceTemplate" type="xsd:string" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="Templates" type="types:Templates"/>
-
- <complexType name="MarkupParams">
- <sequence>
- <element name="secureClientCommunication" type="xsd:boolean"/>
- <element name="locales" type="xsd:string" maxOccurs="unbounded"/>
- <element name="mimeTypes" type="xsd:string" maxOccurs="unbounded"/>
- <element name="mode" type="xsd:string"/>
- <element name="windowState" type="xsd:string"/>
- <element name="clientData" type="types:ClientData" minOccurs="0"/>
- <element name="navigationalState" type="xsd:string" minOccurs="0"/>
- <element name="markupCharacterSets" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- <element name="validateTag" type="xsd:string" minOccurs="0"/>
- <element name="validNewModes" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- <element name="validNewWindowStates" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="MarkupParams" type="types:MarkupParams"/>
-
- <complexType name="MarkupResponse">
- <sequence>
- <element name="markupContext" type="types:MarkupContext"/>
- <element name="sessionContext" type="types:SessionContext" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="MarkupContext">
- <sequence>
- <element name="useCachedMarkup" type="xsd:boolean" default="false" minOccurs="0"/>
- <element name="mimeType" type="xsd:string" minOccurs="0"/>
- <element name="markupString" type="xsd:string" minOccurs="0"/>
- <element name="markupBinary" type="xsd:base64Binary" minOccurs="0"/>
- <element name="locale" type="xsd:string" minOccurs="0"/>
- <element name="requiresUrlRewriting" type="xsd:boolean" default="false" minOccurs="0"/>
- <element name="cacheControl" type="types:CacheControl" minOccurs="0"/>
- <element name="preferredTitle" type="xsd:string" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <!-- - - - - - - - - - - - - - - -->
- <!-- Interaction oriented types -->
- <!-- - - - - - - - - - - - - - - -->
-
- <simpleType name="StateChange">
- <restriction base="xsd:string">
- <enumeration value="readWrite"/>
- <enumeration value="cloneBeforeWrite"/>
- <enumeration value="readOnly"/>
- </restriction>
- </simpleType>
-
- <complexType name="UploadContext">
- <sequence>
- <element name="mimeType" type="xsd:string"/>
- <element name="uploadData" type="xsd:base64Binary"/>
- <element name="mimeAttributes" type="types:NamedString" minOccurs="0" maxOccurs="unbounded"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="InteractionParams">
- <sequence>
- <element name="portletStateChange" type="types:StateChange"/>
- <element name="interactionState" type="xsd:string" minOccurs="0"/>
- <element name="formParameters" type="types:NamedString" minOccurs="0" maxOccurs="unbounded"/>
- <element name="uploadContexts" type="types:UploadContext" minOccurs="0" maxOccurs="unbounded"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="InteractionParams" type="types:InteractionParams"/>
-
- <complexType name="UpdateResponse">
- <sequence>
- <element name="sessionContext" type="types:SessionContext" minOccurs="0"/>
- <element name="portletContext" type="types:PortletContext" minOccurs="0"/>
- <element name="markupContext" type="types:MarkupContext" minOccurs="0"/>
- <element name="navigationalState" type="xsd:string" nillable="true"/>
- <element name="newWindowState" type="xsd:string" minOccurs="0"/>
- <element name="newMode" type="xsd:string" minOccurs="0"/>
- </sequence>
- </complexType>
-
- <complexType name="BlockingInteractionResponse">
- <sequence>
- <!-- Would prefer this to be a choice ... Axis and JAX-RPC failed to handle that -->
- <element name="updateResponse" type="types:UpdateResponse" minOccurs="0"/>
- <element name="redirectURL" type="xsd:string" minOccurs="0"/>
- <!-- end prefer this to be a choice -->
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="BlockingInteractionResponse" type="types:BlockingInteractionResponse"/>
-
- <!-- - - - - - - - - - - -->
- <!-- User Profile types -->
- <!-- - - - - - - - - - - -->
-
- <complexType name="Postal">
- <sequence>
- <element name="name" type="xsd:string" minOccurs="0"/>
- <element name="street" type="xsd:string" minOccurs="0"/>
- <element name="city" type="xsd:string" minOccurs="0"/>
- <element name="stateprov" type="xsd:string" minOccurs="0"/>
- <element name="postalcode" type="xsd:string" minOccurs="0"/>
- <element name="country" type="xsd:string" minOccurs="0"/>
- <element name="organization" type="xsd:string" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="TelephoneNum">
- <sequence>
- <element name="intcode" type="xsd:string" minOccurs="0"/>
- <element name="loccode" type="xsd:string" minOccurs="0"/>
- <element name="number" type="xsd:string" minOccurs="0"/>
- <element name="ext" type="xsd:string" minOccurs="0"/>
- <element name="comment" type="xsd:string" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="Telecom">
- <sequence>
- <element name="telephone" type="types:TelephoneNum" minOccurs="0"/>
- <element name="fax" type="types:TelephoneNum" minOccurs="0"/>
- <element name="mobile" type="types:TelephoneNum" minOccurs="0"/>
- <element name="pager" type="types:TelephoneNum" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="Online">
- <sequence>
- <element name="email" type="xsd:string" minOccurs="0"/>
- <element name="uri" type="xsd:string" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="Contact">
- <sequence>
- <element name="postal" type="types:Postal" minOccurs="0"/>
- <element name="telecom" type="types:Telecom" minOccurs="0"/>
- <element name="online" type="types:Online" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="Contact" type="types:Contact"/>
-
- <complexType name="EmployerInfo">
- <sequence>
- <element name="employer" type="xsd:string" minOccurs="0"/>
- <element name="department" type="xsd:string" minOccurs="0"/>
- <element name="jobtitle" type="xsd:string" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="PersonName">
- <sequence>
- <element name="prefix" type="xsd:string" minOccurs="0"/>
- <element name="given" type="xsd:string" minOccurs="0"/>
- <element name="family" type="xsd:string" minOccurs="0"/>
- <element name="middle" type="xsd:string" minOccurs="0"/>
- <element name="suffix" type="xsd:string" minOccurs="0"/>
- <element name="nickname" type="xsd:string" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="UserProfile">
- <sequence>
- <element name="name" type="types:PersonName" minOccurs="0"/>
- <element name="bdate" type="xsd:dateTime" minOccurs="0"/>
- <element name="gender" type="xsd:string" minOccurs="0"/>
- <element name="employerInfo" type="types:EmployerInfo" minOccurs="0"/>
- <element name="homeInfo" type="types:Contact" minOccurs="0"/>
- <element name="businessInfo" type="types:Contact" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <complexType name="UserContext">
- <sequence>
- <element name="userContextKey" type="xsd:string"/>
- <element name="userCategories" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- <element name="profile" type="types:UserProfile" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="UserContext" type="types:UserContext"/>
-
- <!-- - - - - - - - - -->
- <!-- Property types -->
- <!-- - - - - - - - - -->
-
- <complexType name="Property">
- <sequence>
- <!-- Would prefer this to be a choice ... Axis and JAX-RPC failed to handle that -->
- <element name="stringValue" type="xsd:string" minOccurs="0"/>
- <!-- JBoss modification: added processContents="lax" to better process extensions. -->
- <any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
- <!-- end prefer this to be a choice -->
- </sequence>
- <attribute name="name" type="xsd:string" use="required"/>
- <attribute ref="xml:lang"/>
- </complexType>
-
- <complexType name="ResetProperty">
- <sequence/>
- <attribute name="name" type="xsd:string" use="required"/>
- </complexType>
-
- <complexType name="PropertyList">
- <sequence>
- <element name="properties" type="types:Property" minOccurs="0" maxOccurs="unbounded"/>
- <element name="resetProperties" type="types:ResetProperty" minOccurs="0" maxOccurs="unbounded"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="PropertyList" type="types:PropertyList"/>
-
- <complexType name="PropertyDescription">
- <sequence>
- <element name="label" type="types:LocalizedString" minOccurs="0"/>
- <element name="hint" type="types:LocalizedString" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="name" type="xsd:string" use="required"/>
- <attribute name="type" type="xsd:QName" use="required"/>
- </complexType>
-
- <complexType name="ModelTypes">
- <sequence>
- <!-- JBoss modification: added processContents="lax" to better process extensions. -->
- <any namespace="##other" processContents="lax"/>
- </sequence>
- </complexType>
-
- <complexType name="ModelDescription">
- <sequence>
- <element name="propertyDescriptions" type="types:PropertyDescription" minOccurs="0" maxOccurs="unbounded"/>
- <element name="modelTypes" type="types:ModelTypes" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="ModelDescription" type="types:ModelDescription"/>
-
- <complexType name="PortletPropertyDescriptionResponse">
- <sequence>
- <element name="modelDescription" type="types:ModelDescription" minOccurs="0"/>
- <element name="resourceList" type="types:ResourceList" minOccurs="0"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <!-- - - - - - - - - - - - - -->
- <!-- operation message types -->
- <!-- - - - - - - - - - - - - -->
-
- <complexType name="ReturnAny">
- <sequence>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
-
- <element name="getMarkup">
- <complexType>
- <sequence>
- <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
- <element name="portletContext" type="types:PortletContext"/>
- <element name="runtimeContext" type="types:RuntimeContext"/>
- <element name="userContext" type="types:UserContext" nillable="true"/>
- <element name="markupParams" type="types:MarkupParams"/>
- </sequence>
- </complexType>
- </element>
- <element name="getMarkupResponse" type="types:MarkupResponse"/>
-
- <element name="performBlockingInteraction">
- <complexType>
- <sequence>
- <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
- <element name="portletContext" type="types:PortletContext"/>
- <element name="runtimeContext" type="types:RuntimeContext"/>
- <element name="userContext" type="types:UserContext" nillable="true"/>
- <element name="markupParams" type="types:MarkupParams"/>
- <element name="interactionParams" type="types:InteractionParams"/>
- </sequence>
- </complexType>
- </element>
- <element name="performBlockingInteractionResponse" type="types:BlockingInteractionResponse"/>
-
- <element name="getServiceDescription">
- <complexType>
- <sequence>
- <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
- <element name="desiredLocales" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- </element>
- <element name="getServiceDescriptionResponse" type="types:ServiceDescription"/>
-
- <element name="register" type="types:RegistrationData"/>
- <element name="registerResponse" type="types:RegistrationContext"/>
-
- <element name="deregister" type="types:RegistrationContext"/>
- <element name="deregisterResponse" type="types:ReturnAny"/>
-
- <element name="modifyRegistration">
- <complexType>
- <sequence>
- <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
- <element name="registrationData" type="types:RegistrationData"/>
- </sequence>
- </complexType>
- </element>
- <element name="modifyRegistrationResponse" type="types:RegistrationState"/>
-
- <element name="getPortletDescription">
- <complexType>
- <sequence>
- <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
- <element name="portletContext" type="types:PortletContext"/>
- <element name="userContext" type="types:UserContext" nillable="true"/>
- <element name="desiredLocales" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- </element>
- <element name="getPortletDescriptionResponse" type="types:PortletDescriptionResponse"/>
-
- <element name="clonePortlet">
- <complexType>
- <sequence>
- <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
- <element name="portletContext" type="types:PortletContext"/>
- <element name="userContext" type="types:UserContext" nillable="true"/>
- </sequence>
- </complexType>
- </element>
- <element name="clonePortletResponse" type="types:PortletContext"/>
-
- <element name="destroyPortlets">
- <complexType>
- <sequence>
- <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
- <element name="portletHandles" type="xsd:string" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- </element>
- <complexType name="DestroyPortletsResponse">
- <sequence>
- <element name="destroyFailed" type="types:DestroyFailed" minOccurs="0" maxOccurs="unbounded"/>
- <element name="extensions" type="types:Extension" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- <element name="destroyPortletsResponse" type="types:DestroyPortletsResponse"/>
-
- <element name="setPortletProperties">
- <complexType>
- <sequence>
- <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
- <element name="portletContext" type="types:PortletContext"/>
- <element name="userContext" type="types:UserContext" nillable="true"/>
- <element name="propertyList" type="types:PropertyList"/>
- </sequence>
- </complexType>
- </element>
- <element name="setPortletPropertiesResponse" type="types:PortletContext"/>
-
- <element name="getPortletProperties">
- <complexType>
- <sequence>
- <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
- <element name="portletContext" type="types:PortletContext"/>
- <element name="userContext" type="types:UserContext" nillable="true"/>
- <element name="names" type="xsd:string" nillable="true" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- </element>
- <element name="getPortletPropertiesResponse" type="types:PropertyList"/>
-
- <element name="getPortletPropertyDescription">
- <complexType>
- <sequence>
- <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
- <element name="portletContext" type="types:PortletContext"/>
- <element name="userContext" type="types:UserContext" nillable="true"/>
- <element name="desiredLocales" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- </element>
- <element name="getPortletPropertyDescriptionResponse" type="types:PortletPropertyDescriptionResponse"/>
-
- <element name="releaseSessions">
- <complexType>
- <sequence>
- <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
- <element name="sessionIDs" type="xsd:string" maxOccurs="unbounded"/>
- </sequence>
- </complexType>
- </element>
- <element name="releaseSessionsResponse" type="types:ReturnAny"/>
-
- <element name="initCookie">
- <complexType>
- <sequence>
- <element name="registrationContext" type="types:RegistrationContext" nillable="true"/>
- </sequence>
- </complexType>
- </element>
- <element name="initCookieResponse" type="types:ReturnAny"/>
-
- <!-- - - - - - - -->
- <!-- fault types -->
- <!-- - - - - - - -->
-
- <complexType name="Fault">
- <sequence/>
- </complexType>
-
- <complexType name="AccessDeniedFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
- <element name="AccessDenied" type="types:AccessDeniedFault"/>
-
- <complexType name="InconsistentParametersFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
- <element name="InconsistentParameters" type="types:InconsistentParametersFault"/>
-
- <complexType name="InvalidRegistrationFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
- <element name="InvalidRegistration" type="types:InvalidRegistrationFault"/>
-
- <complexType name="MissingParametersFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
- <element name="MissingParameters" type="types:MissingParametersFault"/>
-
- <complexType name="OperationFailedFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
- <element name="OperationFailed" type="types:OperationFailedFault"/>
-
- <complexType name="InvalidHandleFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
- <element name="InvalidHandle" type="types:InvalidHandleFault"/>
-
- <complexType name="InvalidUserCategoryFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
- <element name="InvalidUserCategory" type="types:InvalidUserCategoryFault"/>
-
- <complexType name="PortletStateChangeRequiredFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
-
- <element name="PortletStateChangeRequired" type="types:PortletStateChangeRequiredFault"/>
-
- <complexType name="InvalidCookieFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
-
- <element name="InvalidCookie" type="types:InvalidCookieFault"/>
-
- <complexType name="InvalidSessionFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
-
- <element name="InvalidSession" type="types:InvalidSessionFault"/>
-
- <complexType name="UnsupportedModeFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
- <element name="UnsupportedMode" type="types:UnsupportedModeFault"/>
-
- <complexType name="UnsupportedWindowStateFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
- <element name="UnsupportedWindowState" type="types:UnsupportedWindowStateFault"/>
-
- <complexType name="UnsupportedLocaleFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
- <element name="UnsupportedLocale" type="types:UnsupportedLocaleFault"/>
-
- <complexType name="UnsupportedMimeTypeFault">
- <complexContent>
- <extension base="types:Fault">
- <sequence/>
- </extension>
- </complexContent>
- </complexType>
- <element name="UnsupportedMimeType" type="types:UnsupportedMimeTypeFault"/>
-</schema>
Copied: trunk/src/test/resources/jbws1068/wsrp_v1_types.xsd (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws1068/wsrp_v1_types.xsd)
Copied: trunk/src/test/resources/jbws944 (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws944)
Copied: trunk/src/test/resources/jbws944/META-INF (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws944/META-INF)
Deleted: trunk/src/test/resources/jbws944/META-INF/application-client.xml
===================================================================
--- branches/tdiesler/trunk/src/test/resources/jbws944/META-INF/application-client.xml 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/test/resources/jbws944/META-INF/application-client.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,21 +0,0 @@
-<?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>JBWS944 Test</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.jbws944.EndpointInterface</service-endpoint-interface>
- </port-component-ref>
- </service-ref>
-
-</application-client>
-
Copied: trunk/src/test/resources/jbws944/META-INF/application-client.xml (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws944/META-INF/application-client.xml)
Deleted: trunk/src/test/resources/jbws944/META-INF/jaxrpc-mapping.xml
===================================================================
--- branches/tdiesler/trunk/src/test/resources/jbws944/META-INF/jaxrpc-mapping.xml 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/test/resources/jbws944/META-INF/jaxrpc-mapping.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,37 +0,0 @@
-<?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.ws.jbws944</package-type>
- <namespaceURI>http://org.jboss.ws/jbws944</namespaceURI>
- </package-mapping>
- <service-interface-mapping>
- <service-interface>org.jboss.ws.jbws944.TestService</service-interface>
- <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/jbws944'>serviceNS:TestService</wsdl-service-name>
- <port-mapping>
- <port-name>EndpointInterfacePort</port-name>
- <java-port-name>EndpointInterfacePort</java-port-name>
- </port-mapping>
- </service-interface-mapping>
- <service-endpoint-interface-mapping>
- <service-endpoint-interface>org.jboss.ws.jbws944.EndpointInterface</service-endpoint-interface>
- <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/jbws944'>portTypeNS:EndpointInterface</wsdl-port-type>
- <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/jbws944'>bindingNS:EndpointInterfaceBinding</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/jbws944'>wsdlMsgNS:EndpointInterface_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/jbws944'>wsdlMsgNS:EndpointInterface_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>
Copied: trunk/src/test/resources/jbws944/META-INF/jaxrpc-mapping.xml (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws944/META-INF/jaxrpc-mapping.xml)
Deleted: trunk/src/test/resources/jbws944/META-INF/jboss-client.xml
===================================================================
--- branches/tdiesler/trunk/src/test/resources/jbws944/META-INF/jboss-client.xml 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/test/resources/jbws944/META-INF/jboss-client.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,9 +0,0 @@
-<?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>
Copied: trunk/src/test/resources/jbws944/META-INF/jboss-client.xml (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws944/META-INF/jboss-client.xml)
Copied: trunk/src/test/resources/jbws944/META-INF/wsdl (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws944/META-INF/wsdl)
Deleted: trunk/src/test/resources/jbws944/META-INF/wsdl/TestService.wsdl
===================================================================
--- branches/tdiesler/trunk/src/test/resources/jbws944/META-INF/wsdl/TestService.wsdl 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/test/resources/jbws944/META-INF/wsdl/TestService.wsdl 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,32 +0,0 @@
-<definitions name='TestService' targetNamespace='http://org.jboss.ws/samples/jsr181ejb' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.ws/samples/jsr181ejb' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
- <types></types>
- <message name='EndpointInterface_echoResponse'>
- <part name='result' type='xsd:string'/>
- </message>
- <message name='EndpointInterface_echo'>
- <part name='String_1' type='xsd:string'/>
- </message>
- <portType name='EndpointInterface'>
- <operation name='echo' parameterOrder='String_1'>
- <input message='tns:EndpointInterface_echo'/>
- <output message='tns:EndpointInterface_echoResponse'/>
- </operation>
- </portType>
- <binding name='EndpointInterfaceBinding' type='tns:EndpointInterface'>
- <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/samples/jsr181ejb' use='literal'/>
- </input>
- <output>
- <soap:body namespace='http://org.jboss.ws/samples/jsr181ejb' use='literal'/>
- </output>
- </operation>
- </binding>
- <service name='TestService'>
- <port binding='tns:EndpointInterfaceBinding' name='EndpointInterfacePort'>
- <soap:address location='http://@jbosstest.host.name@:8080/jbossws-jbws944/FooBean01'/>
- </port>
- </service>
-</definitions>
\ No newline at end of file
Copied: trunk/src/test/resources/jbws944/META-INF/wsdl/TestService.wsdl (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws944/META-INF/wsdl/TestService.wsdl)
Deleted: trunk/src/test/resources/jbws944/wstools-config.xml
===================================================================
--- branches/tdiesler/trunk/src/test/resources/jbws944/wstools-config.xml 2006-08-30 22:02:46 UTC (rev 863)
+++ trunk/src/test/resources/jbws944/wstools-config.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- wstools -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">
-
- <wsdl-java file="resources/samples/jsr181ejb/META-INF/wsdl/TestService.wsdl">
- <mapping file="jaxrpc-mapping.xml" />
- </wsdl-java>
-
-</configuration>
\ No newline at end of file
Copied: trunk/src/test/resources/jbws944/wstools-config.xml (from rev 863, branches/tdiesler/trunk/src/test/resources/jbws944/wstools-config.xml)
Modified: trunk/src/test/resources/samples/secureejb/META-INF/application-client.xml
===================================================================
--- trunk/src/test/resources/samples/secureejb/META-INF/application-client.xml 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/resources/samples/secureejb/META-INF/application-client.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -19,5 +19,11 @@
<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>
Modified: trunk/src/test/resources/samples/secureejb/META-INF/ejb-jar.xml
===================================================================
--- trunk/src/test/resources/samples/secureejb/META-INF/ejb-jar.xml 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/resources/samples/secureejb/META-INF/ejb-jar.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -27,6 +27,15 @@
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
+ <session>
+ <ejb-name>ConfidentialSLSB</ejb-name>
+ <remote>org.jboss.test.ws.samples.secureejb.OrganizationRemote</remote>
+ <home>org.jboss.test.ws.samples.secureejb.OrganizationHome</home>
+ <service-endpoint>org.jboss.test.ws.samples.secureejb.OrganizationService</service-endpoint>
+ <ejb-class>org.jboss.test.ws.samples.secureejb.OrganizationImpl</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ </session>
</enterprise-beans>
<assembly-descriptor>
@@ -47,6 +56,13 @@
<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>
Modified: trunk/src/test/resources/samples/secureejb/META-INF/jboss.xml
===================================================================
--- trunk/src/test/resources/samples/secureejb/META-INF/jboss.xml 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/resources/samples/secureejb/META-INF/jboss.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -28,5 +28,14 @@
<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>/ws4ee-samples-ejb/ConfidentialSecured</port-component-uri>
+ <transport-guarantee>CONFIDENTIAL</transport-guarantee>
+ </port-component>
+ </session>
</enterprise-beans>
</jboss>
Modified: trunk/src/test/resources/samples/secureejb/META-INF/webservices.xml
===================================================================
--- trunk/src/test/resources/samples/secureejb/META-INF/webservices.xml 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/resources/samples/secureejb/META-INF/webservices.xml 2006-08-30 22:32:11 UTC (rev 865)
@@ -26,5 +26,13 @@
<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.samples.secureejb.OrganizationService</service-endpoint-interface>
+ <service-impl-bean>
+ <ejb-link>ConfidentialSLSB</ejb-link>
+ </service-impl-bean>
+ </port-component>
</webservice-description>
</webservices>
Modified: trunk/src/test/resources/samples-override/secureejb/META-INF/wsdl/OrganizationService.wsdl
===================================================================
--- trunk/src/test/resources/samples-override/secureejb/META-INF/wsdl/OrganizationService.wsdl 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/src/test/resources/samples-override/secureejb/META-INF/wsdl/OrganizationService.wsdl 2006-08-30 22:32:11 UTC (rev 865)
@@ -32,5 +32,8 @@
<port name="RoleSecuredPort" binding="tns:OrganizationServiceBinding">
<soap:address location="http://@jbosstest.host.name@:8080/ws4ee-samples-ejb/RoleSecured"/>
</port>
+ <port name="ConfidentialPort" binding="tns:OrganizationServiceBinding">
+ <soap:address location="https://@jbosstest.host.name@:8443/ws4ee-samples-ejb/ConfidentialSecured"/>
+ </port>
</service>
</definitions>
\ No newline at end of file
Modified: trunk/version.properties
===================================================================
--- trunk/version.properties 2006-08-30 22:11:18 UTC (rev 864)
+++ trunk/version.properties 2006-08-30 22:32:11 UTC (rev 865)
@@ -6,6 +6,7 @@
specification.version=jbossws-2.0
version.id=2.0.0.DEV
+repository.id=snapshot
implementation.title=JBoss Web Services (JBossWS)
implementation.url=http://www.jboss.org/products/jbossws
More information about the jboss-svn-commits
mailing list