[jboss-svn-commits] JBossWS SVN: r917 - in branches/jbossws-1.0/src/test: ant java/org/jboss/test/ws/jaxrpc/samples/docstyle java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare java/org/jboss/test/ws/jaxws/jsr181 java/org/jboss/test/ws/jaxws/jsr181/webresult resources/jaxrpc resources/jaxrpc/wsaddressing resources/jaxrpc/wsaddressing/action resources/jaxrpc/wsaddressing/action/META-INF resources/jaxrpc/wsaddressing/action/META-INF/wsdl resources/jaxrpc/wsaddressing/action/WEB-INF resources/jaxrpc/wsaddressing/replyto resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF resources/jaxrpc/wsaddressing/replyto/FaultTo-WEB-INF resources/jaxrpc/wsaddressing/replyto/Initial-META-INF resources/jaxrpc/wsaddressing/replyto/Initial-WEB-INF resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF resources/jaxrpc/wsaddressing/replyto/ReplyTo-WEB-INF resources/jaxrpc/wseventing resources/jaxrpc/wseventing/META-INF resources/jaxrpc/wseventing/WEB-INF resources/jaxrpc/wseventing/WEB-INF/wsdl
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Sep 8 13:51:33 EDT 2006
Author: thomas.diesler at jboss.com
Date: 2006-09-08 13:51:09 -0400 (Fri, 08 Sep 2006)
New Revision: 917
Added:
branches/jbossws-1.0/src/test/ant/build-jars-jaxws.xml
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialEndpointJSE.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialServiceDocBareTestCase.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/CustomerRecord.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/CustomerService.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/JSR181WebResultTestCase.java
branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/USAddress.java
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/application-client.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/config.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jaxrpc-mapping.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jboss-client.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jbossws-client-config.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/wsdl/
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/wsdl/ActionRpcService.wsdl
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/WEB-INF/
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/WEB-INF/web.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/application-client.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/jaxrpc-mapping.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/jboss-client.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/wstools-config.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-WEB-INF/
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-WEB-INF/web.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/application-client.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/jaxrpc-mapping.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/jboss-client.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/wstools-config.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-WEB-INF/
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-WEB-INF/web.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/application-client.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/jaxrpc-mapping.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/jboss-client.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/wstools-config.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-WEB-INF/
branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-WEB-INF/web.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/META-INF/
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/META-INF/application-client.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/META-INF/jboss-client.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/jaxrpc-mapping.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/jboss-web.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/web.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/webservices.xml
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/eventing.wsdl
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/eventing.xsd
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wind.wsdl
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wind_inherit.wsdl
branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wsaddr.xsd
Log:
Reorganize tests, partial commit
Added: branches/jbossws-1.0/src/test/ant/build-jars-jaxws.xml
===================================================================
--- branches/jbossws-1.0/src/test/ant/build-jars-jaxws.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/ant/build-jars-jaxws.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ============================================================ -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at http://www.gnu.org. -->
+<!-- ============================================================ -->
+
+<!-- $Id$ -->
+
+<project name="JBossWS">
+
+ <description>JBossWS test archive builder</description>
+
+ <!-- ================================================================== -->
+ <!-- Building -->
+ <!-- ================================================================== -->
+
+ <target name="build-jars" description="Build the deployments.">
+
+ <!-- jaxws-jsr181-complex -->
+ <war warfile="${build.test.dir}/libs/jaxws-jsr181-complex.war" webxml="${build.test.dir}/resources/jaxws/jsr181/complex/WEB-INF/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/complex/*.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/complex/extra/*.class"/>
+ </classes>
+ </war>
+
+ <!-- jaxws-jsr181-handlerchain -->
+ <war warfile="${build.test.dir}/libs/jaxws-jsr181-handlerchain.war" webxml="${build.test.dir}/resources/jaxws/jsr181/handlerchain/WEB-INF/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/handlerchain/EndpointImpl.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/handlerchain/Endpoint.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/handlerchain/*Handler.class"/>
+ </classes>
+ <webinf dir="${build.test.dir}/resources/jaxws/jsr181/handlerchain/WEB-INF">
+ <include name="jaxws-handlers.xml"/>
+ </webinf>
+ </war>
+
+ <!-- jaxws-jsr181-oneway -->
+ <war warfile="${build.test.dir}/libs/jaxws-jsr181-oneway.war" webxml="${build.test.dir}/resources/jaxws/jsr181/oneway/WEB-INF/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/oneway/PingEndpointImpl.class"/>
+ </classes>
+ </war>
+
+ <!-- jaxws-jsr181-soapbinding -->
+ <war warfile="${build.test.dir}/libs/jaxws-jsr181-soapbinding.war" webxml="${build.test.dir}/resources/jaxws/jsr181/soapbinding/WEB-INF/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/soapbinding/DocBareService.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/soapbinding/DocWrappedService.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/soapbinding/ExampleService.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/soapbinding/SubmitBareRequest.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/soapbinding/SubmitBareResponse.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/soapbinding/PurchaseOrder.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/soapbinding/PurchaseOrderAck.class"/>
+ </classes>
+ </war>
+
+ <!-- jaxws-jsr181-webmethod -->
+ <war warfile="${build.test.dir}/libs/jaxws-jsr181-webmethod.war" webxml="${build.test.dir}/resources/jaxws/jsr181/webmethod/WEB-INF/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webmethod/MyWebService.class"/>
+ </classes>
+ </war>
+
+ <!-- jaxws-jsr181-webparam -->
+ <war warfile="${build.test.dir}/libs/jaxws-jsr181-webparam.war" webxml="${build.test.dir}/resources/jaxws/jsr181/webparam/WEB-INF/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webparam/PingService.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/webparam/PingDocument*.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/webparam/SecurityHeader.class"/>
+ </classes>
+ </war>
+
+ <!-- jaxws-jsr181-webresult -->
+ <war warfile="${build.test.dir}/libs/jaxws-jsr181-webresult.war" webxml="${build.test.dir}/resources/jaxws/jsr181/webresult/WEB-INF/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webresult/CustomerService.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/webresult/CustomerRecord.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/webresult/USAddress.class"/>
+ </classes>
+ </war>
+
+ <!-- jaxws-jsr181-webservice -->
+ <war warfile="${build.test.dir}/libs/jaxws-jsr181-webservice01.war" webxml="${build.test.dir}/resources/jaxws/jsr181/webservice/WEB-INF01/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/JSEBean01.class"/>
+ </classes>
+ <webinf dir="${build.test.dir}/resources/jaxws/jsr181/webservice/WEB-INF01">
+ <include name="jboss-web.xml"/>
+ </webinf>
+ </war>
+ <war warfile="${build.test.dir}/libs/jaxws-jsr181-webservice02.war" webxml="${build.test.dir}/resources/jaxws/jsr181/webservice/WEB-INF02/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/JSEBean02.class"/>
+ </classes>
+ <webinf dir="${build.test.dir}/resources/jaxws/jsr181/webservice/WEB-INF02">
+ <include name="jboss-web.xml"/>
+ <include name="wsdl/**"/>
+ </webinf>
+ </war>
+ <war warfile="${build.test.dir}/libs/jaxws-jsr181-webservice03.war" webxml="${build.test.dir}/resources/jaxws/jsr181/webservice/WEB-INF03/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/JSEBean03.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EndpointInterface03.class"/>
+ </classes>
+ <webinf dir="${build.test.dir}/resources/jaxws/jsr181/webservice/WEB-INF03">
+ <include name="jboss-web.xml"/>
+ </webinf>
+ </war>
+ <jar jarfile="${build.test.dir}/libs/jaxws-jsr181-webservice01.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EJB21Bean01.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EndpointInterface.class"/>
+ </fileset>
+ <metainf dir="${build.test.dir}/resources/jaxws/jsr181/webservice/META-INF01">
+ <include name="ejb-jar.xml"/>
+ </metainf>
+ </jar>
+ <jar jarfile="${build.test.dir}/libs/jaxws-jsr181-webservice02.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EJB21Bean02.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EndpointInterface.class"/>
+ </fileset>
+ <metainf dir="${build.test.dir}/resources/jaxws/jsr181/webservice/META-INF02">
+ <include name="ejb-jar.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+ <jar jarfile="${build.test.dir}/libs/jaxws-jsr181-webservice03.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EJB21Bean03.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EndpointInterface03.class"/>
+ </fileset>
+ <metainf dir="${build.test.dir}/resources/jaxws/jsr181/webservice/META-INF03">
+ <include name="ejb-jar.xml"/>
+ </metainf>
+ </jar>
+ <jar jarfile="${build.test.dir}/libs/jaxws-jsr181-webservice01.ejb3">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EJB3Bean01.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EJB3RemoteInterface.class"/>
+ </fileset>
+ </jar>
+ <jar jarfile="${build.test.dir}/libs/jaxws-jsr181-webservice02.ejb3">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EJB3Bean02.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EJB3RemoteInterface.class"/>
+ </fileset>
+ <metainf dir="${build.test.dir}/resources/jaxws/jsr181/webservice/META-INF02">
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+ <jar jarfile="${build.test.dir}/libs/jaxws-jsr181-webservice03.ejb3">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EJB3Bean03.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EJB3RemoteInterface.class"/>
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EndpointInterface03.class"/>
+ </fileset>
+ </jar>
+ <jar jarfile="${build.test.dir}/libs/jaxws-jsr181-webservice-client.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/jsr181/webservice/EndpointInterface.class"/>
+ </fileset>
+ <metainf dir="${build.test.dir}/resources/jaxws/jsr181/webservice/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxws-samples-jsr181ejb -->
+ <jar jarfile="${build.test.dir}/libs/jaxws-samples-jsr181ejb.ejb3">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/samples/jsr181ejb/EJB3Bean01.class"/>
+ <include name="org/jboss/test/ws/jaxws/samples/jsr181ejb/EJB3RemoteInterface.class"/>
+ </fileset>
+ <metainf dir="${build.test.dir}/resources/jaxws/samples/jsr181ejb/META-INF">
+ <include name="jboss-wsse-server.xml"/>
+ <include name="wsse.*"/>
+ </metainf>
+ </jar>
+ <jar jarfile="${build.test.dir}/libs/jaxws-samples-jsr181ejb-client.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/samples/jsr181ejb/EndpointInterface.class"/>
+ </fileset>
+ <metainf dir="${build.test.dir}/resources/jaxws/samples/jsr181ejb/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ <include name="jboss-wsse-client.xml"/>
+ <include name="wsse.*"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxws-samples-jsr181pojo -->
+ <war warfile="${build.test.dir}/libs/jaxws-samples-jsr181pojo.war" webxml="${build.test.dir}/resources/jaxws/samples/jsr181pojo/WEB-INF/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/samples/jsr181pojo/JSEBean01.class"/>
+ </classes>
+ </war>
+ <jar jarfile="${build.test.dir}/libs/jaxws-samples-jsr181pojo-client.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/samples/jsr181pojo/EndpointInterface.class"/>
+ </fileset>
+ <metainf dir="${build.test.dir}/resources/jaxws/samples/jsr181pojo/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ <!-- jaxws-samples-jsr181pojo-docwrapped -->
+ <war warfile="${build.test.dir}/libs/jaxws-samples-jsr181pojo-docwrapped.war" webxml="${build.test.dir}/resources/jaxws/samples/jsr181pojo/docwrapped/WEB-INF/web.xml">
+ <classes dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/samples/jsr181pojo/docwrapped/JSEBean01.class"/>
+ </classes>
+ </war>
+ <jar jarfile="${build.test.dir}/libs/jaxws-samples-jsr181pojo-docwrapped-client.jar">
+ <fileset dir="${build.test.dir}/classes">
+ <include name="org/jboss/test/ws/jaxws/samples/jsr181pojo/docwrapped/EndpointInterface.class"/>
+ <include name="org/jboss/test/ws/jaxws/samples/jsr181pojo/docwrapped/Concat.class"/>
+ <include name="org/jboss/test/ws/jaxws/samples/jsr181pojo/docwrapped/ConcatResponse.class"/>
+ </fileset>
+ <metainf dir="${build.test.dir}/resources/jaxws/samples/jsr181pojo/docwrapped/META-INF">
+ <include name="application-client.xml"/>
+ <include name="jboss-client.xml"/>
+ <include name="jaxrpc-mapping.xml"/>
+ <include name="wsdl/**"/>
+ </metainf>
+ </jar>
+
+ </target>
+
+</project>
Property changes on: branches/jbossws-1.0/src/test/ant/build-jars-jaxws.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialEndpointJSE.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialEndpointJSE.java 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialEndpointJSE.java 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,43 @@
+/*
+ * 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.jaxrpc.samples.docstyle.bare;
+
+import org.jboss.logging.Logger;
+
+/**
+ * @author Thomas.Diesler at jboss.org
+ * @since 04-Jun-2005
+ */
+public class TrivialEndpointJSE implements TrivialService
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(TrivialEndpointJSE.class);
+
+ public TrivialOrderResponse purchase(TrivialOrder order)
+ {
+ log.info("purchase: " + order);
+ String person = order.getPerson();
+ String product = order.getProduct();
+ TrivialOrderResponse res = new TrivialOrderResponse("ok" + person + product);
+ return res;
+ }
+}
Property changes on: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialEndpointJSE.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.java 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.java 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,88 @@
+/*
+ * 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.jaxrpc.samples.docstyle.bare;
+
+/**
+ * @author Thomas.Diesler at jboss.org
+ * @since 04-Jun-2005
+ */
+public class TrivialOrder
+{
+ private String person;
+ private String product;
+
+ public TrivialOrder()
+ {
+ }
+
+ public TrivialOrder(String person, String product)
+ {
+ this.person = person;
+ this.product = product;
+ }
+
+ public String getPerson()
+ {
+ return person;
+ }
+
+ public void setPerson(String person)
+ {
+ this.person = person;
+ }
+
+ public String getProduct()
+ {
+ return product;
+ }
+
+ public void setProduct(String product)
+ {
+ this.product = product;
+ }
+
+ public boolean equals(Object o)
+ {
+ if (this == o) return true;
+ if (!(o instanceof TrivialOrder)) return false;
+
+ final TrivialOrder trivialOrder = (TrivialOrder)o;
+
+ if (person != null ? !person.equals(trivialOrder.person) : trivialOrder.person != null) return false;
+ if (product != null ? !product.equals(trivialOrder.product) : trivialOrder.product != null) return false;
+
+ return true;
+ }
+
+ public int hashCode()
+ {
+ int result;
+ result = (person != null ? person.hashCode() : 0);
+ result = 29 * result + (product != null ? product.hashCode() : 0);
+ return result;
+ }
+
+ public String toString()
+ {
+ return "[person=" + person + ",product=" + product + "]";
+ }
+}
Property changes on: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.java 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.java 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,72 @@
+/*
+ * 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.jaxrpc.samples.docstyle.bare;
+
+/**
+ * @author Thomas.Diesler at jboss.org
+ * @since 04-Jun-2005
+ */
+public class TrivialOrderResponse
+{
+ private String result;
+
+ public TrivialOrderResponse()
+ {
+ }
+
+ public TrivialOrderResponse(String status)
+ {
+ this.result = status;
+ }
+
+ public String getResult()
+ {
+ return result;
+ }
+
+ public void setResult(String result)
+ {
+ this.result = result;
+ }
+
+ public boolean equals(Object o)
+ {
+ if (this == o) return true;
+ if (!(o instanceof TrivialOrderResponse)) return false;
+
+ final TrivialOrderResponse trivialOrderResponse = (TrivialOrderResponse)o;
+
+ if (result != null ? !result.equals(trivialOrderResponse.result) : trivialOrderResponse.result != null) return false;
+
+ return true;
+ }
+
+ public int hashCode()
+ {
+ return (result != null ? result.hashCode() : 0);
+ }
+
+ public String toString()
+ {
+ return "[result=" + result + "]";
+ }
+}
Property changes on: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.java 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.java 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,35 @@
+/*
+ * 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.jaxrpc.samples.docstyle.bare;
+
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+/**
+ * @author Thomas.Diesler at jboss.org
+ * @since 04-Jun-2005
+ */
+public interface TrivialService extends Remote
+{
+ TrivialOrderResponse purchase(TrivialOrder order) throws RemoteException;
+}
Property changes on: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialServiceDocBareTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialServiceDocBareTestCase.java 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialServiceDocBareTestCase.java 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,86 @@
+/*
+ * 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.jaxrpc.samples.docstyle.bare;
+
+import java.io.File;
+import java.net.URL;
+
+import javax.naming.InitialContext;
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.rpc.Stub;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.JBossWSTest;
+import org.jboss.test.ws.JBossWSTestSetup;
+import org.jboss.ws.jaxrpc.ServiceFactoryImpl;
+
+/**
+ * Test JSE test case for an document/literal/bare style service.
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 25-Jan-2005
+ */
+public class TrivialServiceDocBareTestCase extends JBossWSTest
+{
+ private static TrivialService port;
+
+ public static Test suite()
+ {
+ return JBossWSTestSetup.newTestSetup(TrivialServiceDocBareTestCase.class, "jaxrpc-samples-docstyle-bare.war, jaxrpc-samples-docstyle-bare-client.jar");
+ }
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ if (isTargetServerJBoss())
+ {
+ InitialContext iniCtx = getInitialContext();
+ Service service = (Service)iniCtx.lookup("java:comp/env/service/TrivialService");
+ port = (TrivialService)service.getPort(TrivialService.class);
+ }
+ else
+ {
+ ServiceFactoryImpl factory = new ServiceFactoryImpl();
+ URL wsdlURL = new File("resources/jaxrpc/samples/docstyle/bare/WEB-INF/wsdl/SampleService.wsdl").toURL();
+ URL mappingURL = new File("resources/jaxrpc/samples/docstyle/bare/WEB-INF/jaxrpc-mapping.xml").toURL();
+ QName qname = new QName("http://org.jboss.ws/samples/docstyle/bare", "SampleService");
+ Service service = factory.createService(wsdlURL, qname, mappingURL);
+ port = (TrivialService)service.getPort(TrivialService.class);
+ ((Stub)port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://" + getServerHost() + ":8080/jaxrpc-samples-docstyle-bare");
+ }
+ }
+ }
+
+ public void testProducPurchase() throws Exception
+ {
+ String person = "Kermit";
+ String product = "Ferrari";
+ TrivialOrder req = new TrivialOrder(person, product);
+ TrivialOrderResponse res = port.purchase(req);
+ assertEquals("ok" + person +product, res.getResult());
+ }
+}
Property changes on: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialServiceDocBareTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/CustomerRecord.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/CustomerRecord.java 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/CustomerRecord.java 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,80 @@
+/*
+ * 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.jaxws.jsr181.webresult;
+
+public class CustomerRecord
+{
+ private String firstName;
+ private String lastName;
+ private USAddress address;
+
+ public CustomerRecord()
+ {
+ }
+
+ public CustomerRecord(String firstName, String lastName, USAddress address)
+ {
+ this.address = address;
+ this.firstName = firstName;
+ this.lastName = lastName;
+ }
+
+ public USAddress getAddress()
+ {
+ return address;
+ }
+
+ public void setAddress(USAddress address)
+ {
+ this.address = address;
+ }
+
+ public String getFirstName()
+ {
+ return firstName;
+ }
+
+ public void setFirstName(String firstName)
+ {
+ this.firstName = firstName;
+ }
+
+ public String getLastName()
+ {
+ return lastName;
+ }
+
+ public void setLastName(String lastName)
+ {
+ this.lastName = lastName;
+ }
+
+ public int hashCode()
+ {
+ return toString().hashCode();
+ }
+
+ public String toString()
+ {
+ return "[first=" + firstName + ",last=" + lastName + ",addr=" + address + "]";
+ }
+}
Property changes on: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/CustomerRecord.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/CustomerService.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/CustomerService.java 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/CustomerService.java 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,56 @@
+/*
+ * 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.jaxws.jsr181.webresult;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.soap.SOAPBinding;
+
+import org.jboss.logging.Logger;
+
+/**
+ * Test the JSR-181 annotation: javax.jws.WebParam
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 07-Oct-2005
+ */
+ at WebService
+ at SOAPBinding(style = SOAPBinding.Style.RPC)
+public class CustomerService
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(CustomerService.class);
+
+ @WebMethod
+ @WebResult(name = "CustomerRecord")
+ public CustomerRecord locateCustomer(
+ @WebParam(name = "FirstName") String firstName,
+ @WebParam(name = "LastName") String lastName,
+ @WebParam(name = "Address") USAddress addr)
+ {
+ CustomerRecord rec = new CustomerRecord(firstName, lastName, addr);
+ log.info("locateCustomer: " + rec);
+ return rec;
+ }
+}
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/CustomerService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/JSR181WebResultTestCase.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/JSR181WebResultTestCase.java 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/JSR181WebResultTestCase.java 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,108 @@
+/*
+ * 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.jaxws.jsr181.webresult;
+
+import java.io.ByteArrayInputStream;
+import java.io.File;
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.rpc.Service;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.SOAPConnection;
+import javax.xml.soap.SOAPConnectionFactory;
+import javax.xml.soap.SOAPElement;
+import javax.xml.soap.SOAPMessage;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.JBossWSTest;
+import org.jboss.test.ws.JBossWSTestSetup;
+import org.jboss.ws.jaxrpc.CallImpl;
+import org.jboss.ws.jaxrpc.ServiceFactoryImpl;
+import org.jboss.ws.soap.NameImpl;
+
+/**
+ * Test the JSR-181 annotation: javax.jws.webresult
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 07-Oct-2005
+ */
+public class JSR181WebResultTestCase extends JBossWSTest
+{
+ private String endpointURL = "http://" + getServerHost() + ":8080/jaxws-jsr181-webresult/TestService";
+ private String targetNS = "http://webresult.jsr181.jaxws.ws.test.jboss.org/jaws";
+
+ public static Test suite()
+ {
+ return JBossWSTestSetup.newTestSetup(JSR181WebResultTestCase.class, "jaxws-jsr181-webresult.war");
+ }
+
+ public void testLocateCustomer() throws Exception
+ {
+ QName serviceName = new QName(targetNS, "CustomerServiceService");
+ QName portName = new QName(targetNS, "CustomerServicePort");
+ URL wsdlURL = new URL(endpointURL + "?wsdl");
+
+ File mappingFile = new File("resources/jaxws/jsr181/webresult/jaxrpc-mapping.xml");
+ assertTrue(mappingFile.exists());
+
+ ServiceFactoryImpl factory = new ServiceFactoryImpl();
+ Service service = factory.createService(wsdlURL, serviceName, mappingFile.toURL());
+ CallImpl call = (CallImpl)service.createCall(portName, "locateCustomer");
+
+ USAddress addr = new USAddress("Wall Street");
+ CustomerRecord retObj = (CustomerRecord)call.invoke(new Object[]{"Mickey", "Mouse", addr});
+ assertEquals("Mickey", retObj.getFirstName());
+ assertEquals("Mouse", retObj.getLastName());
+ assertEquals("Wall Street", retObj.getAddress().getAddress());
+ }
+
+ public void testMessageAccess() throws Exception
+ {
+ MessageFactory msgFactory = MessageFactory.newInstance();
+ SOAPConnection con = SOAPConnectionFactory.newInstance().createConnection();
+
+ String reqEnv =
+ "<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>" +
+ " <env:Header/>" +
+ " <env:Body>" +
+ " <ns1:locateCustomer xmlns:ns1='" + targetNS + "'>" +
+ " <FirstName>Mickey</FirstName>" +
+ " <LastName>Mouse</LastName>" +
+ " <Address>" +
+ " <ns1:address>Wall Street</ns1:address>" +
+ " </Address>" +
+ " </ns1:locateCustomer>" +
+ " </env:Body>" +
+ "</env:Envelope>";
+ SOAPMessage reqMsg = msgFactory.createMessage(null, new ByteArrayInputStream(reqEnv.getBytes()));
+
+ URL epURL = new URL(endpointURL);
+ SOAPMessage resMsg = con.call(reqMsg, epURL);
+
+ NameImpl name = new NameImpl(new QName(targetNS, "locateCustomerResponse"));
+ SOAPElement soapElement = (SOAPElement)resMsg.getSOAPBody().getChildElements(name).next();
+ soapElement = (SOAPElement)soapElement.getChildElements(new NameImpl("CustomerRecord")).next();
+ assertNotNull("Expected CustomerRecord", soapElement);
+ }
+}
Property changes on: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/JSR181WebResultTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/USAddress.java
===================================================================
--- branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/USAddress.java 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/USAddress.java 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,56 @@
+/*
+ * 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.jaxws.jsr181.webresult;
+
+public class USAddress
+{
+ private String address;
+
+ public USAddress()
+ {
+ }
+
+ public USAddress(String address)
+ {
+ this.address = address;
+ }
+
+ public String getAddress()
+ {
+ return address;
+ }
+
+ public void setAddress(String content)
+ {
+ this.address = content;
+ }
+
+ public int hashCode()
+ {
+ return toString().hashCode();
+ }
+
+ public String toString()
+ {
+ return "[" + address + "]";
+ }
+}
Property changes on: branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxws/jsr181/webresult/USAddress.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/application-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/application-client.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/application-client.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/ActionRpcService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/ActionRpcService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.wsaddressing.action.ActionEndpoint</service-endpoint-interface>
+ </port-component-ref>
+ <handler>
+ <handler-name>ClientHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.wsaddressing.action.ClientRpcHandler</handler-class>
+ </handler>
+ </service-ref>
+
+</application-client>
+
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/config.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/config.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ wscompile -cp ../../../../output/classes -gen:server -f:rpcliteral -mapping jaxrpc-mapping.xml config.xml
+-->
+
+<configuration
+ xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
+
+ <service name="ActionRpcService"
+ targetNamespace="http://org.jboss.ws/addressing/action"
+ typeNamespace="http://org.jboss.ws/addressing/action"
+ packageName="org.jboss.test.ws.jaxrpc.wsaddressing.action">
+ <interface name="org.jboss.test.ws.jaxrpc.wsaddressing.action.ActionEndpoint"/>
+ </service>
+
+</configuration>
+
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jaxrpc-mapping.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jaxrpc-mapping.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<java-wsdl-mapping version="1.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.wsaddressing.action</package-type>
+ <namespaceURI>http://org.jboss.ws/addressing/action</namespaceURI>
+ </package-mapping>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.wsaddressing.action</package-type>
+ <namespaceURI>http://org.jboss.ws/addressing/action</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.wsaddressing.action.ActionRpcService</service-interface>
+ <wsdl-service-name xmlns:serviceNS="http://org.jboss.ws/addressing/action">serviceNS:ActionRpcService</wsdl-service-name>
+ <port-mapping>
+ <port-name>ActionEndpointPort</port-name>
+ <java-port-name>ActionEndpointPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.wsaddressing.action.ActionEndpoint</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS="http://org.jboss.ws/addressing/action">portTypeNS:ActionEndpoint</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS="http://org.jboss.ws/addressing/action">bindingNS:ActionEndpointBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>bar</java-method-name>
+ <wsdl-operation>bar</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/addressing/action">wsdlMsgNS:ActionEndpoint_bar</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/addressing/action">wsdlMsgNS:ActionEndpoint_barResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>foo</java-method-name>
+ <wsdl-operation>foo</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/addressing/action">wsdlMsgNS:ActionEndpoint_foo</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/addressing/action">wsdlMsgNS:ActionEndpoint_fooResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jboss-client.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jboss-client.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC
+ "-//JBoss//DTD Application Client 4.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>wsarpc-client</jndi-name>
+ <service-ref>
+ <service-ref-name>service/ActionRpcService</service-ref-name>
+ <!-- test unnamed config-name -->
+ <config-file>META-INF/jbossws-client-config.xml</config-file>
+ </service-ref>
+</jboss-client>
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jbossws-client-config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jbossws-client-config.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jbossws-client-config.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id$ -->
+
+<jaxrpc-config xmlns="urn:jboss:jaxrpc-config:2.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+ xsi:schemaLocation="urn:jboss:jaxrpc-config:2.0 jaxrpc-config_2_0.xsd">
+
+ <client-config>
+ <config-name>Addressing Client</config-name>
+ <post-handler-chain>
+ <handler-chain-name>PostHandlerChain</handler-chain-name>
+ <handler>
+ <j2ee:handler-name>SOAPClientHandler</j2ee:handler-name>
+ <j2ee:handler-class>org.jboss.ws.addressing.jaxrpc.WSAddressingClientHandler</j2ee:handler-class>
+ </handler>
+ </post-handler-chain>
+ </client-config>
+
+</jaxrpc-config>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/jbossws-client-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/wsdl/ActionRpcService.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/wsdl/ActionRpcService.wsdl 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/wsdl/ActionRpcService.wsdl 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<definitions name="ActionRpcService" targetNamespace="http://org.jboss.ws/addressing/action" xmlns:tns="http://org.jboss.ws/addressing/action"
+ xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ <types/>
+ <message name="ActionEndpoint_bar">
+ <part name="String_1" type="xsd:string"/>
+ </message>
+ <message name="ActionEndpoint_barResponse">
+ <part name="result" type="xsd:string"/>
+ </message>
+ <message name="ActionEndpoint_foo">
+ <part name="String_1" type="xsd:string"/>
+ </message>
+ <message name="ActionEndpoint_fooResponse">
+ <part name="result" type="xsd:string"/>
+ </message>
+ <portType name="ActionEndpoint">
+ <operation name="bar" parameterOrder="String_1">
+ <input message="tns:ActionEndpoint_bar"/>
+ <output message="tns:ActionEndpoint_barResponse"/>
+ </operation>
+ <operation name="foo" parameterOrder="String_1">
+ <input message="tns:ActionEndpoint_foo"/>
+ <output message="tns:ActionEndpoint_fooResponse"/>
+ </operation>
+ </portType>
+ <binding name="ActionEndpointBinding" type="tns:ActionEndpoint">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
+ <operation name="bar">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://org.jboss.ws/addressing/action"/>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/addressing/action"/>
+ </output>
+ </operation>
+ <operation name="foo">
+ <soap:operation soapAction=""/>
+ <input>
+ <soap:body use="literal" namespace="http://org.jboss.ws/addressing/action"/>
+ </input>
+ <output>
+ <soap:body use="literal" namespace="http://org.jboss.ws/addressing/action"/>
+ </output>
+ </operation>
+ </binding>
+ <service name="ActionRpcService">
+ <port name="ActionEndpointPort" binding="tns:ActionEndpointBinding">
+ <soap:address location="http://@jbosstest.host.name@:8080/jaxrpc-addressing-action-rpc/ActionRpcService"/>
+ </port>
+ </service>
+</definitions>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/META-INF/wsdl/ActionRpcService.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/WEB-INF/web.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/WEB-INF/web.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>ActionRpcService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.wsaddressing.action.ActionRpcEndpointImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>ActionRpcService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/action/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/application-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/application-client.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/application-client.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/FaultToService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.wsaddressing.replyto.FaultToEndpoint</service-endpoint-interface>
+ </port-component-ref>
+ <handler>
+ <handler-name>ClientHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.wsaddressing.replyto.ClientHandler</handler-class>
+ </handler>
+ </service-ref>
+
+</application-client>
+
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/jaxrpc-mapping.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/jaxrpc-mapping.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,41 @@
+<?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>ws.jboss.org.addressing.replyto</package-type>
+ <namespaceURI>http://org.jboss.ws/addressing/replyto</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>ws.jboss.org.addressing.replyto.FaultToEndpointService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/addressing/replyto'>serviceNS:FaultToEndpointService</wsdl-service-name>
+ <port-mapping>
+ <port-name>FaultToEndpointPort</port-name>
+ <java-port-name>FaultToEndpointPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>ws.jboss.org.addressing.replyto.FaultToEndpoint</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/addressing/replyto'>portTypeNS:FaultToEndpoint</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/addressing/replyto'>bindingNS:FaultToEndpointBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>getLastFault</java-method-name>
+ <wsdl-operation>getLastFault</wsdl-operation>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/addressing/replyto'>wsdlMsgNS:FaultToEndpoint_getLastFaultResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>onFault</java-method-name>
+ <wsdl-operation>onFault</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>javax.xml.soap.SOAPElement</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/addressing/replyto'>wsdlMsgNS:FaultToEndpoint_onFault</wsdl-message>
+ <wsdl-message-part-name>SOAPElement_1</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/jboss-client.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/jboss-client.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC
+ "-//JBoss//DTD Application Client 4.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>faultto-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/FaultToService</service-ref-name>
+ <config-name>Standard WSAddressing Client</config-name>
+ <wsdl-override>http://@jbosstest.host.name@:8080/jaxrpc-addressing-faultto/FaultToService?wsdl</wsdl-override>
+ </service-ref>
+</jboss-client>
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/wstools-config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/wstools-config.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/wstools-config.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,15 @@
+<?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="http://localhost:8080/jaxrpc-addressing-faultto/FaultToEndpoint?wsdl">
+ <mapping file="jaxrpc-mapping.xml" />
+ </wsdl-java>
+
+</configuration>
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-META-INF/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-WEB-INF/web.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-WEB-INF/web.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>FaultToService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.wsaddressing.replyto.FaultToEndpointImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>FaultToService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/FaultTo-WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/application-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/application-client.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/application-client.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/InitialService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.wsaddressing.replyto.InitialEndpoint</service-endpoint-interface>
+ </port-component-ref>
+ <handler>
+ <handler-name>ClientHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.wsaddressing.replyto.ClientHandler</handler-class>
+ </handler>
+ </service-ref>
+
+</application-client>
+
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/jaxrpc-mapping.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/jaxrpc-mapping.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,37 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>ws.jboss.org.addressing.replyto</package-type>
+ <namespaceURI>http://org.jboss.ws/addressing/replyto</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>ws.jboss.org.addressing.replyto.InitialEndpointService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/addressing/replyto'>serviceNS:InitialEndpointService</wsdl-service-name>
+ <port-mapping>
+ <port-name>InitialEndpointPort</port-name>
+ <java-port-name>InitialEndpointPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>ws.jboss.org.addressing.replyto.InitialEndpoint</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/addressing/replyto'>portTypeNS:InitialEndpoint</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/addressing/replyto'>bindingNS:InitialEndpointBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>addItem</java-method-name>
+ <wsdl-operation>addItem</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/addressing/replyto'>wsdlMsgNS:InitialEndpoint_addItem</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/addressing/replyto'>wsdlMsgNS:InitialEndpoint_addItemResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/jboss-client.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/jboss-client.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC
+ "-//JBoss//DTD Application Client 4.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>initial-client</jndi-name>
+ <service-ref>
+ <service-ref-name>service/InitialService</service-ref-name>
+ <config-name>Standard WSAddressing Client</config-name>
+ <wsdl-override>http://@jbosstest.host.name@:8080/jaxrpc-addressing-initial/InitialService?wsdl</wsdl-override>
+ </service-ref>
+</jboss-client>
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/wstools-config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/wstools-config.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/wstools-config.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,15 @@
+<?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="http://localhost:8080/jaxrpc-addressing-initial/InitialService?wsdl">
+ <mapping file="jaxrpc-mapping.xml" />
+ </wsdl-java>
+
+</configuration>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-META-INF/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-WEB-INF/web.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-WEB-INF/web.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>InitialService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.wsaddressing.replyto.InitialEndpointImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>InitialService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/Initial-WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/application-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/application-client.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/application-client.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>JAXRPC simple tests</display-name>
+
+ <service-ref>
+ <service-ref-name>service/ReplyToService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/TestService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.wsaddressing.replyto.ReplyToEndpoint</service-endpoint-interface>
+ </port-component-ref>
+ <handler>
+ <handler-name>ClientHandler</handler-name>
+ <handler-class>org.jboss.test.ws.jaxrpc.wsaddressing.replyto.ClientHandler</handler-class>
+ </handler>
+ </service-ref>
+
+</application-client>
+
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/jaxrpc-mapping.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/jaxrpc-mapping.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,41 @@
+<?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
+ <package-mapping>
+ <package-type>org.jboss.test.ws.jaxrpc.wsaddressing.replyto</package-type>
+ <namespaceURI>http://org.jboss.ws/addressing/replyto</namespaceURI>
+ </package-mapping>
+ <service-interface-mapping>
+ <service-interface>org.jboss.test.ws.jaxrpc.wsaddressing.replyto.ReplyToEndpointService</service-interface>
+ <wsdl-service-name xmlns:serviceNS='http://org.jboss.ws/addressing/replyto'>serviceNS:ReplyToEndpointService</wsdl-service-name>
+ <port-mapping>
+ <port-name>ReplyToEndpointPort</port-name>
+ <java-port-name>ReplyToEndpointPort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.test.ws.jaxrpc.wsaddressing.replyto.ReplyToEndpoint</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS='http://org.jboss.ws/addressing/replyto'>portTypeNS:ReplyToEndpoint</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS='http://org.jboss.ws/addressing/replyto'>bindingNS:ReplyToEndpointBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>addItemResponse</java-method-name>
+ <wsdl-operation>addItemResponse</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/addressing/replyto'>wsdlMsgNS:ReplyToEndpoint_addItemResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+ <service-endpoint-method-mapping>
+ <java-method-name>getLastItem</java-method-name>
+ <wsdl-operation>getLastItem</wsdl-operation>
+ <wsdl-return-value-mapping>
+ <method-return-value>java.lang.String</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.ws/addressing/replyto'>wsdlMsgNS:ReplyToEndpoint_getLastItemResponse</wsdl-message>
+ <wsdl-message-part-name>result</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/jboss-client.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/jboss-client.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC
+ "-//JBoss//DTD Application Client 4.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>replyto-client</jndi-name>
+ <service-ref>
+ <service-ref-name>service/ReplyToService</service-ref-name>
+ <config-name>Standard WSAddressing Client</config-name>
+ <wsdl-override>http://@jbosstest.host.name@:8080/jaxrpc-addressing-replyto/ReplyToService?wsdl</wsdl-override>
+ </service-ref>
+</jboss-client>
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/wstools-config.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/wstools-config.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/wstools-config.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,15 @@
+<?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="http://localhost:8080/jaxrpc-addressing-replyto/ReplyToService?wsdl">
+ <mapping file="jaxrpc-mapping.xml" />
+ </wsdl-java>
+
+</configuration>
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-META-INF/wstools-config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-WEB-INF/web.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-WEB-INF/web.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>ReplyToService</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.wsaddressing.replyto.ReplyToEndpointImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>ReplyToService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wsaddressing/replyto/ReplyTo-WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/META-INF/application-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/META-INF/application-client.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/META-INF/application-client.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd">
+
+ <display-name>Eventing Service test</display-name>
+
+ <service-ref>
+ <service-ref-name>service/EventingService</service-ref-name>
+ <service-interface>org.jboss.ws.eventing.EventingService</service-interface>
+ <wsdl-file>META-INF/wsdl/wind.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.ws.eventing.EventSourceEndpoint</service-endpoint-interface>
+ </port-component-ref>
+
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.ws.eventing.SubscriptionManagerEndpoint</service-endpoint-interface>
+ </port-component-ref>
+
+ <handler>
+ <handler-name>SOAPOutboundHandler</handler-name>
+ <handler-class>org.jboss.ws.addressing.jaxrpc.WSAddressingClientHandler</handler-class>
+ </handler>
+
+ </service-ref>
+</application-client>
+
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/META-INF/jboss-client.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/META-INF/jboss-client.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC
+ "-//JBoss//DTD Application Client 4.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/EventingService</service-ref-name>
+ <wsdl-override>http://@jbosstest.host.name@:8080/jaxrpc-test-eventing/subscribe?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
+
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/jaxrpc-mapping.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/jaxrpc-mapping.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/jaxrpc-mapping.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,376 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ version="1.1"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
+ <package-mapping>
+ <package-type>org.jboss.ws.eventing</package-type>
+ <namespaceURI>http://schemas.xmlsoap.org/ws/2004/08/eventing</namespaceURI>
+ </package-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.SubscribeRequest</java-type>
+ <root-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:Subscribe</root-type-qname>
+ <qname-scope>element</qname-scope>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.SubscribeRequest</java-type>
+ <anonymous-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:>Subscribe</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>delivery</java-variable-name>
+ <xml-element-name>Delivery</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>endTo</java-variable-name>
+ <xml-element-name>EndTo</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>expires</java-variable-name>
+ <xml-element-name>Expires</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>filter</java-variable-name>
+ <xml-element-name>Filter</xml-element-name>
+ </variable-mapping>
+ <!--variable-mapping>
+ <java-variable-name>_any</java-variable-name>
+ <xml-wildcard/>
+ </variable-mapping-->
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.FilterType</java-type>
+ <root-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:FilterType</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>dialect</java-variable-name>
+ <xml-attribute-name>Dialect</xml-attribute-name>
+ </variable-mapping>
+ <!--variable-mapping>
+ <java-variable-name>_any</java-variable-name>
+ <xml-wildcard/>
+ </variable-mapping-->
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.DeliveryType</java-type>
+ <root-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:DeliveryType</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>mode</java-variable-name>
+ <xml-attribute-name>Mode</xml-attribute-name>
+ </variable-mapping>
+ <!--variable-mapping>
+ <java-variable-name>notifyTo</java-variable-name>
+ <xml-attribute-name>NotifyTo</xml-attribute-name>
+ </variable-mapping-->
+ <!--variable-mapping>
+ <java-variable-name>_any</java-variable-name>
+ <xml-wildcard/>
+ </variable-mapping-->
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.SubscriptionEndRequest</java-type>
+ <root-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:SubscriptionEnd</root-type-qname>
+ <qname-scope>element</qname-scope>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.SubscriptionEndRequest</java-type>
+ <anonymous-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:>SubscriptionEnd</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>subscriptionManager</java-variable-name>
+ <xml-element-name>SubscriptionManager</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>code</java-variable-name>
+ <xml-element-name>Code</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>reason</java-variable-name>
+ <xml-element-name>Reason</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.SubscribeResponse</java-type>
+ <root-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:SubscribeResponse</root-type-qname>
+ <qname-scope>element</qname-scope>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.SubscribeResponse</java-type>
+ <anonymous-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:>SubscribeResponse</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>expires</java-variable-name>
+ <xml-element-name>Expires</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>subscriptionManager</java-variable-name>
+ <xml-element-name>SubscriptionManager</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.EndpointReference</java-type>
+ <root-type-qname xmlns:typeNS="http://www.w3.org/2005/08/addressing">typeNS:EndpointReference</root-type-qname>
+ <qname-scope>element</qname-scope>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.EndpointReference</java-type>
+ <root-type-qname xmlns:typeNS="http://www.w3.org/2005/08/addressing">
+ typeNS:EndpointReferenceType</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>address</java-variable-name>
+ <xml-element-name>Address</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>referenceParams</java-variable-name>
+ <xml-element-name>ReferenceParameters</xml-element-name>
+ </variable-mapping>
+ <variable-mapping>
+ <java-variable-name>metadata</java-variable-name>
+ <xml-element-name>Metadata</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.MetaData</java-type>
+ <root-type-qname xmlns:typeNS="http://www.w3.org/2005/08/addressing">typeNS:Metadata</root-type-qname>
+ <qname-scope>element</qname-scope>
+ </java-xml-type-mapping>
+
+ <!--java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.MetaData</java-type>
+ <root-type-qname xmlns:typeNS="http://www.w3.org/2005/08/addressing">typeNS:MetadataType</root-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>_any</java-variable-name>
+ <xml-wildcard/>
+ </variable-mapping>
+ </java-xml-type-mapping-->
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.RenewRequest</java-type>
+ <root-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">typeNS:Renew</root-type-qname>
+ <qname-scope>element</qname-scope>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.RenewRequest</java-type>
+ <anonymous-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:>Renew</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>expires</java-variable-name>
+ <xml-element-name>Expires</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.RenewResponse</java-type>
+ <root-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:RenewResponse</root-type-qname>
+ <qname-scope>element</qname-scope>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.RenewResponse</java-type>
+ <anonymous-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:>RenewResponse</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>expires</java-variable-name>
+ <xml-element-name>Expires</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.StatusRequest</java-type>
+ <root-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:GetStatus</root-type-qname>
+ <qname-scope>element</qname-scope>
+ <variable-mapping>
+ <java-variable-name>_any</java-variable-name>
+ <xml-wildcard/>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.StatusRequest</java-type>
+ <anonymous-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:>GetStatus</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.StatusResponse</java-type>
+ <root-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:GetStatusResponse</root-type-qname>
+ <qname-scope>element</qname-scope>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.StatusResponse</java-type>
+ <anonymous-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:>GetStatusResponse</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ <variable-mapping>
+ <java-variable-name>expires</java-variable-name>
+ <xml-element-name>Expires</xml-element-name>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.UnsubscribeRequest</java-type>
+ <root-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:Unsubscribe</root-type-qname>
+ <qname-scope>element</qname-scope>
+ <variable-mapping>
+ <java-variable-name>_any</java-variable-name>
+ <xml-wildcard/>
+ </variable-mapping>
+ </java-xml-type-mapping>
+
+ <java-xml-type-mapping>
+ <java-type>org.jboss.ws.eventing.element.UnsubscribeRequest</java-type>
+ <anonymous-type-qname xmlns:typeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ typeNS:>Unsubscribe</anonymous-type-qname>
+ <qname-scope>complexType</qname-scope>
+ </java-xml-type-mapping>
+
+ <service-interface-mapping>
+ <service-interface>org.jboss.ws.eventing.EventingService</service-interface>
+ <wsdl-service-name xmlns:serviceNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ serviceNS:EventingService</wsdl-service-name>
+ <port-mapping>
+ <port-name>EventSourcePortTypePort</port-name>
+ <java-port-name>EventSourcePortTypePort</java-port-name>
+ </port-mapping>
+ <port-mapping>
+ <port-name>SubscriptionManagerPortTypePort</port-name>
+ <java-port-name>SubscriptionManagerPortTypePort</java-port-name>
+ </port-mapping>
+ </service-interface-mapping>
+
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.ws.eventing.EventSourceEndpoint</service-endpoint-interface>
+ <wsdl-port-type xmlns:portTypeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ portTypeNS:EventSource</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ bindingNS:EventSourcePortTypeBinding</wsdl-binding>
+ <service-endpoint-method-mapping>
+ <java-method-name>subscribe</java-method-name>
+ <wsdl-operation>SubscribeOp</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.ws.eventing.element.SubscribeRequest</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ wsdlMsgNS:SubscribeMsg</wsdl-message>
+ <wsdl-message-part-name>body</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.ws.eventing.element.SubscribeResponse</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ wsdlMsgNS:SubscribeResponseMsg</wsdl-message>
+ <wsdl-message-part-name>body</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+
+ <service-endpoint-method-mapping>
+ <java-method-name>subscriptionEnd</java-method-name>
+ <wsdl-operation>SubscriptionEnd</wsdl-operation>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.ws.eventing.element.SubscriptionEndRequest</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ wsdlMsgNS:SubscriptionEnd</wsdl-message>
+ <wsdl-message-part-name>body</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+
+ </service-endpoint-interface-mapping>
+
+ <service-endpoint-interface-mapping>
+ <service-endpoint-interface>org.jboss.ws.eventing.SubscriptionManagerEndpoint</service-endpoint-interface>
+
+ <wsdl-port-type xmlns:portTypeNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ portTypeNS:SubscriptionManager</wsdl-port-type>
+ <wsdl-binding xmlns:bindingNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ bindingNS:SubscriptionManagerPortTypeBinding</wsdl-binding>
+
+ <service-endpoint-method-mapping>
+ <java-method-name>getStatus</java-method-name>
+ <wsdl-operation>GetStatusOp</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.ws.eventing.element.StatusRequest</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ wsdlMsgNS:GetStatusMsg</wsdl-message>
+ <wsdl-message-part-name>body</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.ws.eventing.element.StatusResponse</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ wsdlMsgNS:GetStatusResponseMsg</wsdl-message>
+ <wsdl-message-part-name>body</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+
+ <service-endpoint-method-mapping>
+ <java-method-name>renew</java-method-name>
+ <wsdl-operation>RenewOp</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.ws.eventing.element.RenewRequest</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ wsdlMsgNS:RenewMsg</wsdl-message>
+ <wsdl-message-part-name>body</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ <wsdl-return-value-mapping>
+ <method-return-value>org.jboss.ws.eventing.element.RenewResponse</method-return-value>
+ <wsdl-message xmlns:wsdlMsgNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ wsdlMsgNS:RenewResponseMsg</wsdl-message>
+ <wsdl-message-part-name>body</wsdl-message-part-name>
+ </wsdl-return-value-mapping>
+ </service-endpoint-method-mapping>
+
+ <service-endpoint-method-mapping>
+ <java-method-name>unsubscribe</java-method-name>
+ <wsdl-operation>UnsubscribeOp</wsdl-operation>
+ <method-param-parts-mapping>
+ <param-position>0</param-position>
+ <param-type>org.jboss.ws.eventing.element.UnsubscribeRequest</param-type>
+ <wsdl-message-mapping>
+ <wsdl-message xmlns:wsdlMsgNS="http://schemas.xmlsoap.org/ws/2004/08/eventing">
+ wsdlMsgNS:UnsubscribeMsg</wsdl-message>
+ <wsdl-message-part-name>body</wsdl-message-part-name>
+ <parameter-mode>IN</parameter-mode>
+ </wsdl-message-mapping>
+ </method-param-parts-mapping>
+ </service-endpoint-method-mapping>
+
+ </service-endpoint-interface-mapping>
+</java-wsdl-mapping>
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/jaxrpc-mapping.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/jboss-web.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/jboss-web.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-web>
+ <context-root>/jbossws-test-eventing</context-root>
+</jboss-web>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/web.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/web.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <display-name>Eventing Service App</display-name>
+ <servlet>
+ <servlet-name>EventSourceServlet</servlet-name>
+ <servlet-class>org.jboss.ws.eventing.EventSourceEndpointImpl</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>EventSourceServlet</servlet-name>
+ <url-pattern>/subscribe</url-pattern>
+ </servlet-mapping>
+
+ <servlet>
+ <servlet-name>SubscriptionManagerServlet</servlet-name>
+ <servlet-class>org.jboss.ws.eventing.SubscriptionManagerEndpointImpl</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>SubscriptionManagerServlet</servlet-name>
+ <url-pattern>/manage</url-pattern>
+ </servlet-mapping>
+
+ <servlet>
+ <servlet-name>EventSinkServlet</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxrpc.wseventing.EventSinkServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>EventSinkServlet</servlet-name>
+ <url-pattern>/eventSink</url-pattern>
+ </servlet-mapping>
+
+ <session-config>
+ <session-timeout>54</session-timeout>
+ </session-config>
+</web-app>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/webservices.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/webservices.xml 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/webservices.xml 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:wsdl="http://schemas.xmlsoap.org/ws/2004/08/eventing"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+ http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
+ version="1.1">
+
+ <webservice-description>
+
+ <webservice-description-name>Eventing Service</webservice-description-name>
+ <wsdl-file>WEB-INF/wsdl/wind.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+
+ <port-component>
+ <port-component-name>SubscriptionManagerPort</port-component-name>
+ <wsdl-port>wsdl:SubscriptionManagerPort</wsdl-port>
+ <service-endpoint-interface>org.jboss.ws.eventing.SubscriptionManagerEndpoint</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>SubscriptionManagerServlet</servlet-link>
+ </service-impl-bean>
+
+ <handler>
+ <handler-name>org.jboss.ws.addressing.jaxrpc.WSAddressingServerHandler</handler-name>
+ <handler-class>org.jboss.ws.addressing.jaxrpc.WSAddressingServerHandler</handler-class>
+ </handler>
+
+ </port-component>
+
+ <port-component>
+ <port-component-name>EventSourcePort</port-component-name>
+ <wsdl-port>wsdl:EventSourcePort</wsdl-port>
+ <service-endpoint-interface>org.jboss.ws.eventing.EventSourceEndpoint</service-endpoint-interface>
+ <service-impl-bean>
+ <servlet-link>EventSourceServlet</servlet-link>
+ </service-impl-bean>
+ <handler>
+ <handler-name>org.jboss.ws.addressing.jaxrpc.WSAddressingServerHandler</handler-name>
+ <handler-class>org.jboss.ws.addressing.jaxrpc.WSAddressingServerHandler</handler-class>
+ </handler>
+
+ </port-component>
+
+ </webservice-description>
+</webservices>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/webservices.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/eventing.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/eventing.wsdl 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/eventing.wsdl 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<wsdl:definitions
+ targetNamespace='http://schemas.xmlsoap.org/ws/2004/08/eventing'
+ xmlns:wse='http://schemas.xmlsoap.org/ws/2004/08/eventing'
+ xmlns:wsa10='http://www.w3.org/2005/08/addressing'
+ xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
+ xmlns:xs='http://www.w3.org/2001/XMLSchema'
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+
+ <wsdl:types>
+ <xs:schema targetNamespace='http://schemas.xmlsoap.org/ws/2004/08/eventing'>
+ <xs:include schemaLocation='eventing.xsd'/>
+ </xs:schema>
+ </wsdl:types>
+
+ <wsdl:message name='SubscribeMsg'>
+ <wsdl:part name='body' element='wse:Subscribe'/>
+ </wsdl:message>
+ <wsdl:message name='SubscribeResponseMsg'>
+ <wsdl:part name='body' element='wse:SubscribeResponse'/>
+ </wsdl:message>
+
+ <wsdl:message name='RenewMsg'>
+ <wsdl:part name='body' element='wse:Renew'/>
+ </wsdl:message>
+ <wsdl:message name='RenewResponseMsg'>
+ <wsdl:part name='body' element='wse:RenewResponse'/>
+ </wsdl:message>
+
+ <wsdl:message name='GetStatusMsg'>
+ <wsdl:part name='body' element='wse:GetStatus'/>
+ </wsdl:message>
+ <wsdl:message name='GetStatusResponseMsg'>
+ <wsdl:part name='body' element='wse:GetStatusResponse'/>
+ </wsdl:message>
+
+ <wsdl:message name='UnsubscribeMsg'>
+ <wsdl:part name='body' element='wse:Unsubscribe'/>
+ </wsdl:message>
+ <wsdl:message name='UnsubscribeResponseMsg'/>
+
+ <wsdl:message name='SubscriptionEnd'>
+ <wsdl:part name='body' element='wse:SubscriptionEnd'/>
+ </wsdl:message>
+
+ <wsdl:portType name='EventSource'>
+ <wsdl:operation name='SubscribeOp'>
+ <wsdl:input message='wse:SubscribeMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe'/>
+ <wsdl:output message='wse:SubscribeResponseMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/SubscribeResponse'/>
+ </wsdl:operation>
+ <wsdl:operation name='SubscriptionEnd'>
+ <wsdl:output message='wse:SubscriptionEnd'/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:portType name='SubscriptionManager'>
+ <wsdl:operation name='RenewOp'>
+ <wsdl:input message='wse:RenewMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/Renew'/>
+ <wsdl:output message='wse:RenewResponseMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/RenewResponse'/>
+ </wsdl:operation>
+ <wsdl:operation name='GetStatusOp'>
+ <wsdl:input message='wse:GetStatusMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/GetStatus'/>
+ <wsdl:output message='wse:GetStatusResponseMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/GetStatusResponse'/>
+ </wsdl:operation>
+ <wsdl:operation name='UnsubscribeOp'>
+ <wsdl:input message='wse:UnsubscribeMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe'/>
+ <wsdl:output message='wse:UnsubscribeResponseMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/UnsubscribeResponse'/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="EventSourceBinding" type="wse:EventSource">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="SubscribeOp">
+ <soap:operation soapAction=""/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="SubscriptionEnd">
+ <soap:operation soapAction=""/>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:binding name="SubscriptionManagerBinding" type="wse:SubscriptionManager">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="GetStatusOp">
+ <soap:operation soapAction=""/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ <wsdl:operation name="RenewOp">
+ <soap:operation soapAction=""/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ <wsdl:operation name="UnsubscribeOp">
+ <soap:operation soapAction=""/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:service name="EventingService">
+ <wsdl:port name="EventSourcePort" binding="wse:EventSourceBinding">
+ <soap:address location="http://@jbosstest.host.name@:8080/jaxrpc-test-eventing/ws4ee/EventSourcePortType"/>
+ </wsdl:port>
+ <wsdl:port name="SubscriptionManagerPort" binding="wse:SubscriptionManagerBinding">
+ <soap:address location="http://@jbosstest.host.name@:8080/jaxrpc-test-eventing/ws4ee/SubscriptionManagerPortType"/>
+ </wsdl:port>
+ </wsdl:service>
+
+</wsdl:definitions>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/eventing.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/eventing.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/eventing.xsd 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/eventing.xsd 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,189 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xs:schema
+ targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/eventing"
+ xmlns:tns="http://schemas.xmlsoap.org/ws/2004/08/eventing"
+ xmlns:wsa="http://www.w3.org/2005/08/addressing"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ blockDefault="#all">
+
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+
+ <xs:import namespace="http://www.w3.org/2005/08/addressing" schemaLocation="http://www.w3.org/2005/08/addressing/ws-addr.xsd"/>
+
+ <!-- Types and global elements -->
+ <xs:complexType name="DeliveryType" mixed="true">
+ <xs:sequence>
+ <!--xs:any namespace="##any" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded" /-->
+ <xs:element name="NotifyTo" type="wsa:EndpointReferenceType" minOccurs="0" maxOccurs="1"/>
+ </xs:sequence>
+ <xs:attribute name="Mode" type="xs:anyURI" use="optional"/>
+ <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+ </xs:complexType>
+
+ <!--xs:element name="NotifyTo" type="wsa:EndpointReferenceType" /-->
+
+ <xs:simpleType name="NonNegativeDurationType">
+ <xs:restriction base="xs:duration">
+ <xs:minInclusive value="P0Y0M0DT0H0M0S"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="ExpirationType">
+ <xs:union memberTypes="xs:dateTime tns:NonNegativeDurationType"/>
+ </xs:simpleType>
+
+ <xs:complexType name="FilterType" mixed="true">
+ <!--xs:sequence>
+ <xs:any namespace="##other" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence-->
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="Dialect" type="xs:anyURI" use="optional"/>
+ </xs:extension>
+ </xs:simpleContent>
+
+ <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+ </xs:complexType>
+
+ <xs:complexType name="LanguageSpecificStringType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute ref="xml:lang" />
+ <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="Subscribe">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="EndTo" type="wsa:EndpointReferenceType"
+ minOccurs="0"/>
+ <xs:element name="Delivery" type="tns:DeliveryType"/>
+ <xs:element name="Expires" type="xs:dateTime" minOccurs="0"/>
+ <xs:element name="Filter" type="tns:FilterType" minOccurs="0"/>
+ <!--xs:any namespace="##other" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded" /-->
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="Identifier" type="xs:anyURI"/>
+
+ <xs:element name="SubscribeResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="SubscriptionManager"
+ type="wsa:EndpointReferenceType"/>
+ <xs:element name="Expires" type="xs:dateTime"/>
+
+ <!--xs:element name="Expires" type="tns:ExpirationType" /-->
+ <!--xs:any namespace="##other" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded" /-->
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+ </xs:complexType>
+ </xs:element>
+
+ <!-- Used in a fault if there's an unsupported dialect -->
+ <xs:element name="SupportedDialect" type="xs:anyURI"/>
+
+ <!-- Used in a fault if there's an unsupported delivery mode -->
+ <xs:element name="SupportedDeliveryMode" type="xs:anyURI"/>
+
+ <!-- Renew request -->
+ <xs:element name="Renew">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Expires" type="xs:dateTime" minOccurs="0"/>
+ <!--xs:any namespace="##other" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded" /-->
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+ </xs:complexType>
+ </xs:element>
+
+ <!-- Renew response -->
+ <xs:element name="RenewResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Expires" type="xs:dateTime" minOccurs="0"/>
+ <!--xs:any namespace="##other" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded" /-->
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+ </xs:complexType>
+ </xs:element>
+
+ <!-- GetStatus request -->
+ <xs:element name="GetStatus">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any namespace="##other" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+ </xs:complexType>
+ </xs:element>
+
+ <!-- GetStatus response -->
+ <xs:element name="GetStatusResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Expires" type="xs:dateTime" minOccurs="0"/>
+ <!--xs:any namespace="##other" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded" /-->
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+ </xs:complexType>
+ </xs:element>
+
+ <!-- Unsubscribe request -->
+ <xs:element name="Unsubscribe">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any namespace="##other" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+ </xs:complexType>
+ </xs:element>
+
+ <!-- count(/s:Envelope/s:Body/*) = 0 for Unsubscribe response -->
+ <!-- SubscriptionEnd message -->
+ <xs:element name="SubscriptionEnd">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="SubscriptionManager"
+ type="wsa:EndpointReferenceType"/>
+ <xs:element name="Code" type="tns:OpenSubscriptionEndCodeType"/>
+ <xs:element name="Reason" type="tns:LanguageSpecificStringType"
+ minOccurs="0" maxOccurs="unbounded"/>
+ <!--xs:any namespace="##other" processContents="lax"
+ minOccurs="0" maxOccurs="unbounded" /-->
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax" /-->
+ </xs:complexType>
+ </xs:element>
+
+ <xs:simpleType name="SubscriptionEndCodeType">
+ <xs:restriction base="xs:QName">
+ <xs:enumeration value="tns:DeliveryFailure"/>
+ <xs:enumeration value="tns:SourceShuttingDown"/>
+ <xs:enumeration value="tns:SourceCancelling"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="OpenSubscriptionEndCodeType">
+ <xs:union memberTypes="tns:SubscriptionEndCodeType xs:QName"/>
+ </xs:simpleType>
+
+ <xs:attribute name="EventSource" type="xs:boolean"/>
+
+</xs:schema>
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/eventing.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wind.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wind.wsdl 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wind.wsdl 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<wsdl:definitions
+ targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/eventing"
+ xmlns:tns="http://www.example.org/oceanwatch"
+ xmlns:wse='http://schemas.xmlsoap.org/ws/2004/08/eventing'
+ xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
+ xmlns:wsa10='http://www.w3.org/2005/08/addressing'
+ xmlns:xs='http://www.w3.org/2001/XMLSchema'
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+
+ <wsdl:types>
+
+ <xs:schema targetNamespace='http://schemas.xmlsoap.org/ws/2004/08/eventing'>
+ <xs:include schemaLocation='eventing.xsd'/>
+ </xs:schema>
+
+ <xs:schema
+ targetNamespace="http://www.example.org/oceanwatch"
+ elementFormDefault="qualified"
+ blockDefault="#all">
+ <xs:element name="WindReport">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Date" type="xs:string"/>
+ <xs:element name="Time" type="xs:string"/>
+ <xs:element name="Speed" type="xs:string"/>
+ <xs:element name="Location" type="xs:string"/>
+ <xs:element name="County" type="xs:string"/>
+ <xs:element name="State" type="xs:string"/>
+ <xs:element name="Lat" type="xs:string"/>
+ <xs:element name="Long" type="xs:string"/>
+ <xs:element name="Comments" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:schema>
+
+ </wsdl:types>
+
+ <wsdl:message name='SubscribeMsg'>
+ <wsdl:part name='body' element='wse:Subscribe'/>
+ </wsdl:message>
+ <wsdl:message name='SubscribeResponseMsg'>
+ <wsdl:part name='body' element='wse:SubscribeResponse'/>
+ </wsdl:message>
+
+ <wsdl:message name='RenewMsg'>
+ <wsdl:part name='body' element='wse:Renew'/>
+ </wsdl:message>
+ <wsdl:message name='RenewResponseMsg'>
+ <wsdl:part name='body' element='wse:RenewResponse'/>
+ </wsdl:message>
+
+ <wsdl:message name='GetStatusMsg'>
+ <wsdl:part name='body' element='wse:GetStatus'/>
+ </wsdl:message>
+ <wsdl:message name='GetStatusResponseMsg'>
+ <wsdl:part name='body' element='wse:GetStatusResponse'/>
+ </wsdl:message>
+
+ <wsdl:message name='UnsubscribeMsg'>
+ <wsdl:part name='body' element='wse:Unsubscribe'/>
+ </wsdl:message>
+ <wsdl:message name='UnsubscribeResponseMsg'/>
+
+ <wsdl:message name='SubscriptionEnd'>
+ <wsdl:part name='body' element='wse:SubscriptionEnd'/>
+ </wsdl:message>
+
+ <wsdl:message name='WindMsg'>
+ <wsdl:part name='body' element='tns:WindReport'/>
+ </wsdl:message>
+
+
+ <wsdl:portType name='EventSource'>
+ <wsdl:operation name='SubscribeOp'>
+ <wsdl:input message='wse:SubscribeMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe'/>
+ <wsdl:output message='wse:SubscribeResponseMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/SubscribeResponse'/>
+ </wsdl:operation>
+ <wsdl:operation name='SubscriptionEnd'>
+ <wsdl:output message='wse:SubscriptionEnd'/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:portType name='SubscriptionManager'>
+ <wsdl:operation name='RenewOp'>
+ <wsdl:input message='wse:RenewMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/Renew'/>
+ <wsdl:output message='wse:RenewResponseMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/RenewResponse'/>
+ </wsdl:operation>
+ <wsdl:operation name='GetStatusOp'>
+ <wsdl:input message='wse:GetStatusMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/GetStatus'/>
+ <wsdl:output message='wse:GetStatusResponseMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/GetStatusResponse'/>
+ </wsdl:operation>
+ <wsdl:operation name='UnsubscribeOp'>
+ <wsdl:input message='wse:UnsubscribeMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe'/>
+ <wsdl:output message='wse:UnsubscribeResponseMsg' wsa10:Action='http://schemas.xmlsoap.org/ws/2004/08/eventing/UnsubscribeResponse'/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:portType name='Warnings' wse:EventSource='true'>
+ <wsdl:operation name='WindOp'>
+ <wsdl:output message='tns:WindMsg'/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="WarningsBinding" type="wse:Warnings">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="WindOp">
+ <soap:operation soapAction=""/>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:binding name="EventSourceBinding" type="wse:EventSource">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="SubscribeOp">
+ <soap:operation soapAction=""/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ <wsdl:operation name="SubscriptionEnd">
+ <soap:operation soapAction=""/>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:binding name="SubscriptionManagerBinding" type="wse:SubscriptionManager">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="GetStatusOp">
+ <soap:operation soapAction=""/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ <wsdl:operation name="RenewOp">
+ <soap:operation soapAction=""/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+
+ <wsdl:operation name="UnsubscribeOp">
+ <soap:operation soapAction=""/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:service name="EventingService">
+ <wsdl:port name="EventSourcePort" binding="wse:EventSourceBinding">
+ <soap:address location="http://@jbosstest.host.name@:8080/jaxrpc-test-eventing/ws4ee/EventSourcePortType"/>
+ </wsdl:port>
+ <wsdl:port name="SubscriptionManagerPort" binding="wse:SubscriptionManagerBinding">
+ <soap:address location="http://@jbosstest.host.name@:8080/jaxrpc-test-eventing/ws4ee/SubscriptionManagerPortType"/>
+ </wsdl:port>
+ </wsdl:service>
+
+</wsdl:definitions>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wind.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wind_inherit.wsdl
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wind_inherit.wsdl 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wind_inherit.wsdl 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<wsdl:definitions
+ targetNamespace="http://www.example.org/oceanwatch"
+ xmlns:tns="http://www.example.org/oceanwatch"
+ xmlns:wse='http://schemas.xmlsoap.org/ws/2004/08/eventing'
+ xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
+ xmlns:wsa10='http://www.w3.org/2005/08/addressing'
+ xmlns:xs='http://www.w3.org/2001/XMLSchema'
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+
+ <wsdl:import
+ namespace='http://schemas.xmlsoap.org/ws/2004/08/eventing'
+ location='eventing.wsdl' />
+
+ <wsdl:types>
+
+ <xs:schema
+ targetNamespace="http://www.example.org/oceanwatch"
+ elementFormDefault="qualified"
+ blockDefault="#all">
+ <xs:element name="WindReport">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="Date" type="xs:string"/>
+ <xs:element name="Time" type="xs:string"/>
+ <xs:element name="Speed" type="xs:string"/>
+ <xs:element name="Location" type="xs:string"/>
+ <xs:element name="County" type="xs:string"/>
+ <xs:element name="State" type="xs:string"/>
+ <xs:element name="Lat" type="xs:string"/>
+ <xs:element name="Long" type="xs:string"/>
+ <xs:element name="Comments" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:schema>
+
+ </wsdl:types>
+
+ <wsdl:portType name='Warnings' wse:EventSource='true'>
+ <wsdl:operation name='WindOp'>
+ <wsdl:output message='tns:WindMsg'/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="WarningsBinding" type="tns:Warnings">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="WindOp">
+ <soap:operation soapAction=""/>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:service name="EventingService">
+ <wsdl:port name="EventSourcePort" binding="wse:EventSourceBinding">
+ <soap:address location="http://@jbosstest.host.name@:8080/jaxrpc-test-eventing/ws4ee/EventSourcePortType"/>
+ </wsdl:port>
+ <wsdl:port name="SubscriptionManagerPort" binding="wse:SubscriptionManagerBinding">
+ <soap:address location="http://@jbosstest.host.name@:8080/jaxrpc-test-eventing/ws4ee/SubscriptionManagerPortType"/>
+ </wsdl:port>
+ </wsdl:service>
+
+</wsdl:definitions>
\ No newline at end of file
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wind_inherit.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wsaddr.xsd
===================================================================
--- branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wsaddr.xsd 2006-09-08 17:32:39 UTC (rev 916)
+++ branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wsaddr.xsd 2006-09-08 17:51:09 UTC (rev 917)
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN"
+ "http://www.w3.org/2001/XMLSchema.dtd">
+<!--
+ W3C XML Schema defined in the Web Services Addressing 1.0 specification
+ http://www.w3.org/TR/ws-addr-core
+
+ Copyright © 2005 World Wide Web Consortium,
+
+ (Massachusetts Institute of Technology, European Research Consortium for
+ Informatics and Mathematics, Keio University). All Rights Reserved. This
+ work is distributed under the W3C® Software License [1] 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.
+
+ [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:tns="http://www.w3.org/2005/08/addressing"
+ targetNamespace="http://www.w3.org/2005/08/addressing"
+ blockDefault="#all" elementFormDefault="qualified"
+ finalDefault="" attributeFormDefault="unqualified">
+
+ <!-- Constructs from the WS-Addressing Core -->
+
+ <xs:element name="EndpointReference" type="tns:EndpointReferenceType"/>
+ <xs:complexType name="EndpointReferenceType" mixed="false">
+ <xs:sequence>
+ <xs:element name="Address" type="xs:anyURI"/>
+
+ <!-- [hb] was not working
+ xs:element name="Address" type="tns:AttributedURIType"/-->
+ <xs:element name="ReferenceParameters" type="tns:ReferenceParametersType" minOccurs="0"/>
+ <xs:element ref="tns:Metadata" minOccurs="0"/>
+ <!--xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/-->
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
+ </xs:complexType>
+
+ <xs:complexType name="ReferenceParametersType" mixed="false">
+ <xs:sequence>
+ <!--xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/-->
+ <!--
+ [hb] workaround for missing wilcard support
+ -->
+ <xs:element name="Identifier" type="xs:anyURI" minOccurs="0"/>
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
+ </xs:complexType>
+
+ <xs:element name="Metadata" type="tns:MetadataType"/>
+ <xs:complexType name="MetadataType" mixed="false">
+ <xs:sequence>
+ <!--xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/-->
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
+ </xs:complexType>
+
+ <xs:element name="MessageID" type="tns:AttributedURIType"/>
+ <xs:element name="RelatesTo" type="tns:RelatesToType"/>
+ <xs:complexType name="RelatesToType" mixed="false">
+ <xs:simpleContent>
+ <xs:extension base="xs:anyURI">
+ <xs:attribute name="RelationshipType" type="tns:RelationshipTypeOpenEnum" use="optional"
+ default="http://www.w3.org/2005/08/addressing/reply"/>
+ <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:simpleType name="RelationshipTypeOpenEnum">
+ <xs:union memberTypes="tns:RelationshipType xs:anyURI"/>
+ </xs:simpleType>
+
+ <xs:simpleType name="RelationshipType">
+ <xs:restriction base="xs:anyURI">
+ <xs:enumeration value="http://www.w3.org/2005/08/addressing/reply"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:element name="ReplyTo" type="tns:EndpointReferenceType"/>
+ <xs:element name="From" type="tns:EndpointReferenceType"/>
+ <xs:element name="FaultTo" type="tns:EndpointReferenceType"/>
+ <xs:element name="To" type="tns:AttributedURIType"/>
+ <xs:element name="Action" type="tns:AttributedURIType"/>
+
+ <xs:complexType name="AttributedURIType" mixed="false">
+ <xs:simpleContent>
+ <xs:extension base="xs:anyURI">
+ <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <!-- Constructs from the WS-Addressing SOAP binding -->
+
+ <xs:attribute name="IsReferenceParameter" type="xs:boolean"/>
+
+ <xs:simpleType name="FaultCodesOpenEnumType">
+ <xs:union memberTypes="tns:FaultCodesType xs:QName"/>
+ </xs:simpleType>
+
+ <xs:simpleType name="FaultCodesType">
+ <xs:restriction base="xs:QName">
+ <xs:enumeration value="tns:InvalidAddressingHeader"/>
+ <xs:enumeration value="tns:InvalidAddress"/>
+ <xs:enumeration value="tns:InvalidEPR"/>
+ <xs:enumeration value="tns:InvalidCardinality"/>
+ <xs:enumeration value="tns:MissingAddressInEPR"/>
+ <xs:enumeration value="tns:DuplicateMessageID"/>
+ <xs:enumeration value="tns:ActionMismatch"/>
+ <xs:enumeration value="tns:MessageAddressingHeaderRequired"/>
+ <xs:enumeration value="tns:DestinationUnreachable"/>
+ <xs:enumeration value="tns:ActionNotSupported"/>
+ <xs:enumeration value="tns:EndpointUnavailable"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:element name="RetryAfter" type="tns:AttributedUnsignedLongType"/>
+ <xs:complexType name="AttributedUnsignedLongType" mixed="false">
+ <xs:simpleContent>
+ <xs:extension base="xs:unsignedLong">
+ <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="ProblemHeaderQName" type="tns:AttributedQNameType"/>
+ <xs:complexType name="AttributedQNameType" mixed="false">
+ <xs:simpleContent>
+ <xs:extension base="xs:QName">
+ <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:element name="ProblemHeader" type="tns:AttributedAnyType"/>
+ <xs:complexType name="AttributedAnyType" mixed="false">
+ <xs:sequence>
+ <!--xs:any namespace="##any" processContents="lax" minOccurs="1" maxOccurs="1"/-->
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
+ </xs:complexType>
+
+ <xs:element name="ProblemIRI" type="tns:AttributedURIType"/>
+
+ <xs:element name="ProblemAction" type="tns:ProblemActionType"/>
+ <xs:complexType name="ProblemActionType" mixed="false">
+ <xs:sequence>
+ <xs:element ref="tns:Action" minOccurs="0"/>
+ <xs:element name="SoapAction" minOccurs="0" type="xs:anyURI"/>
+ </xs:sequence>
+ <!--xs:anyAttribute namespace="##other" processContents="lax"/-->
+ </xs:complexType>
+
+</xs:schema>
Property changes on: branches/jbossws-1.0/src/test/resources/jaxrpc/wseventing/WEB-INF/wsdl/wsaddr.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
More information about the jboss-svn-commits
mailing list