geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r702338 - in /geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-wsa-tests/wsa-test-war/src/main: java/org/apache/geronimo/jaxws/wsa/TestServlet.java webapp/WEB-INF/wsdl/calculator.wsdl
Date Tue, 07 Oct 2008 04:18:17 GMT
Author: gawor
Date: Mon Oct  6 21:18:14 2008
New Revision: 702338

URL: http://svn.apache.org/viewvc?rev=702338&view=rev
Log:
more test with AddressingFeature off

Modified:
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-wsa-tests/wsa-test-war/src/main/java/org/apache/geronimo/jaxws/wsa/TestServlet.java
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-wsa-tests/wsa-test-war/src/main/webapp/WEB-INF/wsdl/calculator.wsdl

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-wsa-tests/wsa-test-war/src/main/java/org/apache/geronimo/jaxws/wsa/TestServlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-wsa-tests/wsa-test-war/src/main/java/org/apache/geronimo/jaxws/wsa/TestServlet.java?rev=702338&r1=702337&r2=702338&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-wsa-tests/wsa-test-war/src/main/java/org/apache/geronimo/jaxws/wsa/TestServlet.java
(original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-wsa-tests/wsa-test-war/src/main/java/org/apache/geronimo/jaxws/wsa/TestServlet.java
Mon Oct  6 21:18:14 2008
@@ -228,7 +228,7 @@
     public void testPort() throws Exception {
         Calculator calc = null;
         
-        // make a call without AddressingFeature disabled
+        // make a call without AddressingFeature
         calc = service.getPort(Calculator.class);
         try {
             calc.add(1, 1);
@@ -236,6 +236,15 @@
         } catch (SOAPFaultException e) {
             // that's what we expect
         }
+
+        // make a call with AddressingFeature disabled
+        calc = service.getPort(Calculator.class, new AddressingFeature(false, false));
+        try {
+            calc.add(1, 1);
+            throw new ServletException("Did not throw exception");
+        } catch (SOAPFaultException e) {
+            // that's what we expect
+        }
                 
         // make a call with AddressingFeature enabled
         calc = service.getPort(Calculator.class, new AddressingFeature());

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-wsa-tests/wsa-test-war/src/main/webapp/WEB-INF/wsdl/calculator.wsdl
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-wsa-tests/wsa-test-war/src/main/webapp/WEB-INF/wsdl/calculator.wsdl?rev=702338&r1=702337&r2=702338&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-wsa-tests/wsa-test-war/src/main/webapp/WEB-INF/wsdl/calculator.wsdl
(original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-wsa-tests/wsa-test-war/src/main/webapp/WEB-INF/wsdl/calculator.wsdl
Mon Oct  6 21:18:14 2008
@@ -85,50 +85,50 @@
   </wsdl:message>
   <wsdl:portType name="Calculator">
     <wsdl:operation name="add">
-      <wsdl:input message="tns:add" name="add">
+      <wsdl:input message="tns:add" >
     </wsdl:input>
-      <wsdl:output message="tns:addResponse" name="addResponse">
+      <wsdl:output message="tns:addResponse" >
     </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="getEPR">
-      <wsdl:input message="tns:getEPR" name="getEPR">
+      <wsdl:input message="tns:getEPR" >
     </wsdl:input>
-      <wsdl:output message="tns:getEPRResponse" name="getEPRResponse">
+      <wsdl:output message="tns:getEPRResponse" >
     </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="multiply">
-      <wsdl:input message="tns:multiply" name="multiply">
+      <wsdl:input message="tns:multiply" >
     </wsdl:input>
-      <wsdl:output message="tns:multiplyResponse" name="multiplyResponse">
-    </wsdl:output>
+      <wsdl:output message="tns:multiplyResponse" >
+    </wsdl:output> 
     </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="CalculatorServiceSoapBinding" type="tns:Calculator">
     <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
     <wsdl:operation name="add">
       <soap:operation soapAction="" style="document" />
-      <wsdl:input name="add">
+      <wsdl:input >
         <soap:body use="literal" />
       </wsdl:input>
-      <wsdl:output name="addResponse">
+      <wsdl:output >
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="getEPR">
       <soap:operation soapAction="" style="document" />
-      <wsdl:input name="getEPR">
+      <wsdl:input >
         <soap:body use="literal" />
       </wsdl:input>
-      <wsdl:output name="getEPRResponse">
+      <wsdl:output >
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
     <wsdl:operation name="multiply">
       <soap:operation soapAction="" style="document" />
-      <wsdl:input name="multiply">
+      <wsdl:input >
         <soap:body use="literal" />
       </wsdl:input>
-      <wsdl:output name="multiplyResponse">
+      <wsdl:output >
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>



Mime
View raw message