[jbossws-commits] JBossWS SVN: r6309 - in stack/native/trunk: src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway and 7 other directories.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Wed Apr 9 11:50:06 EDT 2008


Author: richard.opalka at jboss.com
Date: 2008-04-09 11:50:05 -0400 (Wed, 09 Apr 2008)
New Revision: 6309

Added:
   stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/secure/wsdl/
   stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/secure/wsdl/SecuredOneWayService.wsdl
   stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/secure/wsdl/SecuredReqResService.wsdl
   stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl/
   stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl/OneWayService.wsdl
   stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl/ReqResService.wsdl
Removed:
   stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/wsrm-exactly-once-in-order-policy.xml
Modified:
   stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractOneWayTest.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractSecuredOneWayTest.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractReqResTest.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractSecuredReqResTest.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceIface.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceImpl.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceIface.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceImpl.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceIface.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceImpl.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceIface.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceImpl.java
Log:
[JBWS-2097] refactoring - removing dependency on jboss policy specific classes and using contract based approach

Modified: stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-jars-jaxws.xml	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/ant-import-tests/build-jars-jaxws.xml	2008-04-09 15:50:05 UTC (rev 6309)
@@ -450,9 +450,11 @@
         <include name="org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceImpl.class"/>
       </classes>
       <webinf dir="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF">
-        <include name="wsrm-exactly-once-in-order-policy.xml"/>
         <include name="wsrm-jaxws-endpoint-config.xml"/>
       </webinf>
+      <zipfileset
+      	dir="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl" 
+    	prefix="WEB-INF/wsdl"/>
     </war>
 
     <war warfile="${tests.output.dir}/libs/jaxws-secured-wsrm.war"
@@ -464,7 +466,6 @@
         <include name="org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceImpl.class"/>
       </classes>
       <webinf dir="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF">
-        <include name="wsrm-exactly-once-in-order-policy.xml"/>
         <include name="wsrm-jaxws-endpoint-config.xml"/>
       </webinf>
       <webinf dir="${tests.output.dir}/resources/jaxws/wsrm/wssecurity/WEB-INF">
@@ -474,6 +475,9 @@
         <include name="wsse.keystore"/>
         <include name="wsse.truststore"/>
       </webinf>
+      <zipfileset
+        dir="${tests.output.dir}/resources/jaxws/wsrm/WEB-INF/secure/wsdl" 
+        prefix="WEB-INF/wsdl"/>
     </war>
 
     <war warfile="${tests.output.dir}/libs/jaxws-wsrm-one-way-emulator.war"

Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractOneWayTest.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractOneWayTest.java	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractOneWayTest.java	2008-04-09 15:50:05 UTC (rev 6309)
@@ -50,7 +50,7 @@
    {
       super.setUp();
 
-      QName serviceName = new QName("http://org.jboss.ws/jaxws/wsrm", "OneWayService");
+      QName serviceName = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "OneWayService");
       URL wsdlURL = new URL(serviceURL + "?wsdl");
       Service service = Service.create(wsdlURL, serviceName);
       proxy = (OneWayServiceIface)service.getPort(OneWayServiceIface.class);

Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractSecuredOneWayTest.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractSecuredOneWayTest.java	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/oneway/RMAbstractSecuredOneWayTest.java	2008-04-09 15:50:05 UTC (rev 6309)
@@ -50,7 +50,7 @@
    {
       super.setUp();
 
-      QName serviceName = new QName("http://org.jboss.ws/jaxws/wsrm", "SecuredOneWayService");
+      QName serviceName = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "SecuredOneWayService");
       URL wsdlURL = new URL(serviceURL + "?wsdl");
       Service service = Service.create(wsdlURL, serviceName);
       proxy = (SecuredOneWayServiceIface)service.getPort(SecuredOneWayServiceIface.class);

Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractReqResTest.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractReqResTest.java	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractReqResTest.java	2008-04-09 15:50:05 UTC (rev 6309)
@@ -73,7 +73,7 @@
 
       if (proxy == null)
       {
-         QName serviceName = new QName("http://org.jboss.ws/jaxws/wsrm", "ReqResService");
+         QName serviceName = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "ReqResService");
          URL wsdlURL = new URL(serviceURL + "?wsdl");
          Service service = Service.create(wsdlURL, serviceName);
          service.setExecutor(testExecutor);

Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractSecuredReqResTest.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractSecuredReqResTest.java	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/reqres/RMAbstractSecuredReqResTest.java	2008-04-09 15:50:05 UTC (rev 6309)
@@ -72,7 +72,7 @@
 
       if (proxy == null)
       {
-         QName serviceName = new QName("http://org.jboss.ws/jaxws/wsrm", "SecuredReqResService");
+         QName serviceName = new QName("http://www.jboss.org/jbossws/ws-extensions/wsrm", "SecuredReqResService");
          URL wsdlURL = new URL(serviceURL + "?wsdl");
          Service service = Service.create(wsdlURL, serviceName);
          service.setExecutor(testExecutor);

Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceIface.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceIface.java	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceIface.java	2008-04-09 15:50:05 UTC (rev 6309)
@@ -4,6 +4,9 @@
 import javax.jws.WebService;
 
 @WebService
+(
+   targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm"
+)
 public interface OneWayServiceIface
 {
    @Oneway

Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceImpl.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceImpl.java	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/OneWayServiceImpl.java	2008-04-09 15:50:05 UTC (rev 6309)
@@ -5,9 +5,6 @@
 
 import org.jboss.logging.Logger;
 import org.jboss.ws.annotation.EndpointConfig;
-import org.jboss.ws.extensions.policy.PolicyScopeLevel;
-import org.jboss.ws.extensions.policy.annotation.Policy;
-import org.jboss.ws.extensions.policy.annotation.PolicyAttachment;
 
 import java.util.Arrays;
 
@@ -15,17 +12,10 @@
 (
    name = "OneWay",
    serviceName = "OneWayService",
-   targetNamespace = "http://org.jboss.ws/jaxws/wsrm",
+   wsdlLocation = "WEB-INF/wsdl/OneWayService.wsdl",
+   targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm",
    endpointInterface = "org.jboss.test.ws.jaxws.wsrm.services.OneWayServiceIface"
 )
- at PolicyAttachment
-(
-   @Policy
-   (
-      policyFileLocation = "WEB-INF/wsrm-exactly-once-in-order-policy.xml",
-      scope = PolicyScopeLevel.WSDL_BINDING
-   )
-)
 @EndpointConfig
 (
    configName = "Standard WSRM Endpoint",

Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceIface.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceIface.java	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceIface.java	2008-04-09 15:50:05 UTC (rev 6309)
@@ -9,6 +9,9 @@
 import javax.xml.ws.Response;
 
 @WebService
+(
+   targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm"
+)
 public interface ReqResServiceIface
 {
    @WebMethod(operationName = "echo")

Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceImpl.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceImpl.java	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/ReqResServiceImpl.java	2008-04-09 15:50:05 UTC (rev 6309)
@@ -5,25 +5,15 @@
 
 import org.jboss.logging.Logger;
 import org.jboss.ws.annotation.EndpointConfig;
-import org.jboss.ws.extensions.policy.PolicyScopeLevel;
-import org.jboss.ws.extensions.policy.annotation.Policy;
-import org.jboss.ws.extensions.policy.annotation.PolicyAttachment;
 
 @WebService
 (
    name = "ReqRes",
    serviceName = "ReqResService",
-   targetNamespace = "http://org.jboss.ws/jaxws/wsrm",
+   wsdlLocation = "WEB-INF/wsdl/ReqResService.wsdl",
+   targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm",
    endpointInterface = "org.jboss.test.ws.jaxws.wsrm.services.ReqResServiceIface"
 )
- at PolicyAttachment
-(
-   @Policy
-   (
-      policyFileLocation = "WEB-INF/wsrm-exactly-once-in-order-policy.xml",
-      scope = PolicyScopeLevel.WSDL_BINDING
-   )
-)
 @EndpointConfig
 (
    configName = "Standard WSRM Endpoint",

Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceIface.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceIface.java	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceIface.java	2008-04-09 15:50:05 UTC (rev 6309)
@@ -25,6 +25,9 @@
 import javax.jws.WebService;
 
 @WebService
+(
+   targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm"
+)
 public interface SecuredOneWayServiceIface
 {
    @Oneway

Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceImpl.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceImpl.java	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredOneWayServiceImpl.java	2008-04-09 15:50:05 UTC (rev 6309)
@@ -28,25 +28,15 @@
 
 import org.jboss.logging.Logger;
 import org.jboss.ws.annotation.EndpointConfig;
-import org.jboss.ws.extensions.policy.PolicyScopeLevel;
-import org.jboss.ws.extensions.policy.annotation.Policy;
-import org.jboss.ws.extensions.policy.annotation.PolicyAttachment;
 
 @WebService
 (
    name = "SecuredOneWay",
    serviceName = "SecuredOneWayService",
-   targetNamespace = "http://org.jboss.ws/jaxws/wsrm",
+   wsdlLocation = "WEB-INF/wsdl/SecuredOneWayService.wsdl",
+   targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm",
    endpointInterface = "org.jboss.test.ws.jaxws.wsrm.services.SecuredOneWayServiceIface"
 )
- at PolicyAttachment
-(
-   @Policy
-   (
-      policyFileLocation = "WEB-INF/wsrm-exactly-once-in-order-policy.xml",
-      scope = PolicyScopeLevel.WSDL_BINDING
-   )
-)
 @EndpointConfig
 (
    configName = "Secured WSRM Endpoint",

Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceIface.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceIface.java	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceIface.java	2008-04-09 15:50:05 UTC (rev 6309)
@@ -29,6 +29,9 @@
 import javax.xml.ws.Response;
 
 @WebService
+(
+   targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm"
+)
 public interface SecuredReqResServiceIface
 {
    @WebMethod(operationName = "echo")

Modified: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceImpl.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceImpl.java	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/wsrm/services/SecuredReqResServiceImpl.java	2008-04-09 15:50:05 UTC (rev 6309)
@@ -26,25 +26,15 @@
 
 import org.jboss.logging.Logger;
 import org.jboss.ws.annotation.EndpointConfig;
-import org.jboss.ws.extensions.policy.PolicyScopeLevel;
-import org.jboss.ws.extensions.policy.annotation.Policy;
-import org.jboss.ws.extensions.policy.annotation.PolicyAttachment;
 
 @WebService
 (
    name = "SecuredReqRes",
    serviceName = "SecuredReqResService",
-   targetNamespace = "http://org.jboss.ws/jaxws/wsrm",
+   wsdlLocation = "WEB-INF/wsdl/SecuredReqResService.wsdl",
+   targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsrm",
    endpointInterface = "org.jboss.test.ws.jaxws.wsrm.services.SecuredReqResServiceIface"
 )
- at PolicyAttachment
-(
-   @Policy
-   (
-      policyFileLocation = "WEB-INF/wsrm-exactly-once-in-order-policy.xml",
-      scope = PolicyScopeLevel.WSDL_BINDING
-   )
-)
 @EndpointConfig
 (
    configName = "Secured WSRM Endpoint",

Added: stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/secure/wsdl/SecuredOneWayService.wsdl
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/secure/wsdl/SecuredOneWayService.wsdl	                        (rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/secure/wsdl/SecuredOneWayService.wsdl	2008-04-09 15:50:05 UTC (rev 6309)
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions
+  name="SecuredOneWayService"
+  targetNamespace="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+  xmlns:ns1="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+  xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+  xmlns="http://schemas.xmlsoap.org/wsdl/">
+  <wsp:UsingPolicy/>
+  <wsp:Policy
+    wsu:Id="wsrm11policy"
+    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
+    <wsp:All>
+      <wsrmp:DeliveryAssurance xmlns:wsrmp="http://docs.oasis-open.org/ws-rx/wsrmp/200702">
+        <wsp:Policy>
+          <wsp:ExactlyOne>
+            <wsp:All>
+              <wsrmp:ExactlyOnce/>
+              <wsrmp:InOrder/>
+            </wsp:All>
+          </wsp:ExactlyOne>
+        </wsp:Policy>
+      </wsrmp:DeliveryAssurance>
+    </wsp:All>
+  </wsp:Policy>
+  <types>
+    <xs:schema
+      version="1.0"
+      targetNamespace="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+      xmlns:tns="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+      xmlns:xs="http://www.w3.org/2001/XMLSchema">
+      <xs:element name="method1" type="tns:method1"/>
+      <xs:element name="method2" type="tns:method2"/>
+      <xs:element name="method3" type="tns:method3"/>
+      <xs:complexType name="method1">
+        <xs:sequence/>
+      </xs:complexType>
+      <xs:complexType name="method2">
+        <xs:sequence>
+          <xs:element minOccurs="0" name="arg0" type="xs:string"/>
+        </xs:sequence>
+      </xs:complexType>
+      <xs:complexType name="method3">
+        <xs:sequence>
+          <xs:element maxOccurs="unbounded" minOccurs="0" name="arg0" type="xs:string"/>
+        </xs:sequence>
+      </xs:complexType>
+    </xs:schema>
+  </types>
+  <message name="SecuredOneWayServiceIface_method2">
+    <part name="method2" element="ns1:method2">
+    </part>
+  </message>
+  <message name="SecuredOneWayServiceIface_method1">
+    <part name="method1" element="ns1:method1">
+    </part>
+  </message>
+  <message name="SecuredOneWayServiceIface_method3">
+    <part name="method3" element="ns1:method3">
+    </part>
+  </message>
+  <portType name="SecuredOneWayServiceIface">
+    <operation name="method1">
+      <input message="ns1:SecuredOneWayServiceIface_method1">
+    </input>
+    </operation>
+    <operation name="method2">
+      <input message="ns1:SecuredOneWayServiceIface_method2">
+    </input>
+    </operation>
+    <operation name="method3">
+      <input message="ns1:SecuredOneWayServiceIface_method3">
+    </input>
+    </operation>
+  </portType>
+  <binding name="SecuredOneWayServiceIfaceBinding" type="ns1:SecuredOneWayServiceIface">
+    <wsp:PolicyReference URI="#wsrm11policy"/>
+    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+    <operation name="method1">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+    </operation>
+    <operation name="method2">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+    </operation>
+    <operation name="method3">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+    </operation>
+  </binding>
+  <service name="SecuredOneWayService">
+    <port name="SecuredOneWayPort" binding="ns1:SecuredOneWayServiceIfaceBinding">
+      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+    </port>
+  </service>
+</definitions>


Property changes on: stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/secure/wsdl/SecuredOneWayService.wsdl
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/secure/wsdl/SecuredReqResService.wsdl
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/secure/wsdl/SecuredReqResService.wsdl	                        (rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/secure/wsdl/SecuredReqResService.wsdl	2008-04-09 15:50:05 UTC (rev 6309)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions
+  name="SecuredReqResService"
+  targetNamespace="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+  xmlns:ns1="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+  xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+  xmlns="http://schemas.xmlsoap.org/wsdl/">
+  <wsp:UsingPolicy/>
+  <wsp:Policy
+    wsu:Id="wsrm11policy"
+    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
+    <wsp:All>
+      <wsrmp:DeliveryAssurance xmlns:wsrmp="http://docs.oasis-open.org/ws-rx/wsrmp/200702">
+        <wsp:Policy>
+          <wsp:ExactlyOne>
+            <wsp:All>
+              <wsrmp:ExactlyOnce/>
+              <wsrmp:InOrder/>
+            </wsp:All>
+          </wsp:ExactlyOne>
+        </wsp:Policy>
+      </wsrmp:DeliveryAssurance>
+    </wsp:All>
+  </wsp:Policy>
+  <types>
+    <xs:schema
+      version="1.0"
+      targetNamespace="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+      xmlns:tns="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+      xmlns:xs="http://www.w3.org/2001/XMLSchema">
+      <xs:element name="echo" type="tns:echo"/>
+      <xs:element name="echoResponse" type="tns:echoResponse"/>
+      <xs:complexType name="echo">
+        <xs:sequence>
+          <xs:element minOccurs="0" name="arg0" type="xs:string"/>
+        </xs:sequence>
+      </xs:complexType>
+      <xs:complexType name="echoResponse">
+        <xs:sequence>
+          <xs:element minOccurs="0" name="return" type="xs:string"/>
+        </xs:sequence>
+      </xs:complexType>
+    </xs:schema>
+  </types>
+  <message name="SecuredReqResServiceIface_echo">
+    <part name="echo" element="ns1:echo">
+    </part>
+  </message>
+  <message name="SecuredReqResServiceIface_echoResponse">
+    <part name="echoResponse" element="ns1:echoResponse">
+    </part>
+  </message>
+  <portType name="SecuredReqResServiceIface">
+    <operation name="echo" parameterOrder="echo">
+      <input message="ns1:SecuredReqResServiceIface_echo">
+    </input>
+      <output message="ns1:SecuredReqResServiceIface_echoResponse">
+    </output>
+    </operation>
+  </portType>
+  <binding name="SecuredReqResServiceIfaceBinding" type="ns1:SecuredReqResServiceIface">
+    <wsp:PolicyReference URI="#wsrm11policy"/>
+    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+    <operation name="echo">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+    </operation>
+  </binding>
+  <service name="SecuredReqResService">
+    <port name="SecuredReqResPort" binding="ns1:SecuredReqResServiceIfaceBinding">
+      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+    </port>
+  </service>
+</definitions>


Property changes on: stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/secure/wsdl/SecuredReqResService.wsdl
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl/OneWayService.wsdl
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl/OneWayService.wsdl	                        (rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl/OneWayService.wsdl	2008-04-09 15:50:05 UTC (rev 6309)
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions
+  name="OneWayService"
+  targetNamespace="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+  xmlns:ns1="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+  xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+  xmlns="http://schemas.xmlsoap.org/wsdl/">
+  <wsp:UsingPolicy/>
+  <wsp:Policy
+    wsu:Id="wsrm11policy"
+    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
+    <wsp:All>
+      <wsrmp:DeliveryAssurance xmlns:wsrmp="http://docs.oasis-open.org/ws-rx/wsrmp/200702">
+        <wsp:Policy>
+          <wsp:ExactlyOne>
+            <wsp:All>
+              <wsrmp:ExactlyOnce/>
+              <wsrmp:InOrder/>
+            </wsp:All>
+          </wsp:ExactlyOne>
+        </wsp:Policy>
+      </wsrmp:DeliveryAssurance>
+    </wsp:All>
+  </wsp:Policy>
+  <types>
+    <xs:schema
+      version="1.0"
+      targetNamespace="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+      xmlns:tns="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+      xmlns:xs="http://www.w3.org/2001/XMLSchema">
+      <xs:element name="method1" type="tns:method1"/>
+      <xs:element name="method2" type="tns:method2"/>
+      <xs:element name="method3" type="tns:method3"/>
+      <xs:complexType name="method1">
+        <xs:sequence/>
+      </xs:complexType>
+      <xs:complexType name="method2">
+        <xs:sequence>
+          <xs:element minOccurs="0" name="arg0" type="xs:string"/>
+        </xs:sequence>
+      </xs:complexType>
+      <xs:complexType name="method3">
+        <xs:sequence>
+          <xs:element maxOccurs="unbounded" minOccurs="0" name="arg0" type="xs:string"/>
+        </xs:sequence>
+      </xs:complexType>
+    </xs:schema>
+  </types>
+  <message name="OneWayServiceIface_method3">
+    <part name="method3" element="ns1:method3">
+    </part>
+  </message>
+  <message name="OneWayServiceIface_method1">
+    <part name="method1" element="ns1:method1">
+    </part>
+  </message>
+  <message name="OneWayServiceIface_method2">
+    <part name="method2" element="ns1:method2">
+    </part>
+  </message>
+  <portType name="OneWayServiceIface">
+    <operation name="method1">
+      <input message="ns1:OneWayServiceIface_method1">
+    </input>
+    </operation>
+    <operation name="method2">
+      <input message="ns1:OneWayServiceIface_method2">
+    </input>
+    </operation>
+    <operation name="method3">
+      <input message="ns1:OneWayServiceIface_method3">
+    </input>
+    </operation>
+  </portType>
+  <binding name="OneWayServiceIfaceBinding" type="ns1:OneWayServiceIface">
+    <wsp:PolicyReference URI="#wsrm11policy"/>
+    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+    <operation name="method1">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+    </operation>
+    <operation name="method2">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+    </operation>
+    <operation name="method3">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+    </operation>
+  </binding>
+  <service name="OneWayService">
+    <port name="OneWayPort" binding="ns1:OneWayServiceIfaceBinding">
+      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+    </port>
+  </service>
+</definitions>


Property changes on: stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl/OneWayService.wsdl
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl/ReqResService.wsdl
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl/ReqResService.wsdl	                        (rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl/ReqResService.wsdl	2008-04-09 15:50:05 UTC (rev 6309)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions
+  name="ReqResService"
+  targetNamespace="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+  xmlns:ns1="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+  xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+  xmlns="http://schemas.xmlsoap.org/wsdl/">
+  <wsp:UsingPolicy/>
+  <wsp:Policy
+    wsu:Id="wsrm11policy"
+    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
+    <wsp:All>
+      <wsrmp:DeliveryAssurance xmlns:wsrmp="http://docs.oasis-open.org/ws-rx/wsrmp/200702">
+        <wsp:Policy>
+          <wsp:ExactlyOne>
+            <wsp:All>
+              <wsrmp:ExactlyOnce/>
+              <wsrmp:InOrder/>
+            </wsp:All>
+          </wsp:ExactlyOne>
+        </wsp:Policy>
+      </wsrmp:DeliveryAssurance>
+    </wsp:All>
+  </wsp:Policy>
+  <types>
+    <xs:schema
+       version="1.0"
+       targetNamespace="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+       xmlns:tns="http://www.jboss.org/jbossws/ws-extensions/wsrm"
+       xmlns:xs="http://www.w3.org/2001/XMLSchema">
+      <xs:element name="echo" type="tns:echo"/>
+      <xs:element name="echoResponse" type="tns:echoResponse"/>
+      <xs:complexType name="echo">
+        <xs:sequence>
+          <xs:element minOccurs="0" name="arg0" type="xs:string"/>
+        </xs:sequence>
+      </xs:complexType>
+      <xs:complexType name="echoResponse">
+        <xs:sequence>
+          <xs:element minOccurs="0" name="return" type="xs:string"/>
+        </xs:sequence>
+      </xs:complexType>
+    </xs:schema>
+  </types>
+  <message name="ReqResServiceIface_echo">
+    <part name="echo" element="ns1:echo">
+    </part>
+  </message>
+  <message name="ReqResServiceIface_echoResponse">
+    <part name="echoResponse" element="ns1:echoResponse">
+    </part>
+  </message>
+  <portType name="ReqResServiceIface">
+    <operation name="echo" parameterOrder="echo">
+      <input message="ns1:ReqResServiceIface_echo">
+    </input>
+      <output message="ns1:ReqResServiceIface_echoResponse">
+    </output>
+    </operation>
+  </portType>
+  <binding name="ReqResServiceIfaceBinding" type="ns1:ReqResServiceIface">
+    <wsp:PolicyReference URI="#wsrm11policy"/>
+    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+    <operation name="echo">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+    </operation>
+  </binding>
+  <service name="ReqResService">
+    <port name="ReqResPort" binding="ns1:ReqResServiceIfaceBinding">
+      <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
+    </port>
+  </service>
+</definitions>


Property changes on: stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/unsecure/wsdl/ReqResService.wsdl
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Deleted: stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/wsrm-exactly-once-in-order-policy.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/wsrm-exactly-once-in-order-policy.xml	2008-04-09 15:29:39 UTC (rev 6308)
+++ stack/native/trunk/src/test/resources/jaxws/wsrm/WEB-INF/wsrm-exactly-once-in-order-policy.xml	2008-04-09 15:50:05 UTC (rev 6309)
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsp:Policy
-   wsu:Id="exactly_one_in_order_rm_delivery"
-   xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
-   xmlns:wsrmp="http://docs.oasis-open.org/ws-rx/wsrmp/200702"
-   xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
-   <wsrmp:DeliveryAssurance>
-      <wsp:Policy>
-         <wsrmp:ExactlyOnce/>
-         <wsrmp:InOrder/>
-      </wsp:Policy>
-   </wsrmp:DeliveryAssurance>
-</wsp:Policy>




More information about the jbossws-commits mailing list