geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r526478 - in /geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-tests/jaxrpc-war/src: main/webapp/WEB-INF/wsdl/greeter.wsdl test/resources/request1.xml
Date Sat, 07 Apr 2007 20:14:33 GMT
Author: gawor
Date: Sat Apr  7 13:14:32 2007
New Revision: 526478

URL: http://svn.apache.org/viewvc?view=rev&rev=526478
Log:
switch example to rpc/literal

Modified:
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-tests/jaxrpc-war/src/main/webapp/WEB-INF/wsdl/greeter.wsdl
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-tests/jaxrpc-war/src/test/resources/request1.xml

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-tests/jaxrpc-war/src/main/webapp/WEB-INF/wsdl/greeter.wsdl
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-tests/jaxrpc-war/src/main/webapp/WEB-INF/wsdl/greeter.wsdl?view=diff&rev=526478&r1=526477&r2=526478
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-tests/jaxrpc-war/src/main/webapp/WEB-INF/wsdl/greeter.wsdl
(original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-tests/jaxrpc-war/src/main/webapp/WEB-INF/wsdl/greeter.wsdl
Sat Apr  7 13:14:32 2007
@@ -24,33 +24,12 @@
     xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     targetNamespace="http://org.apache.org/greeter" name="HelloWorld">
-    <wsdl:types>
-        <schema targetNamespace="http://org.apache.org/greeter/types" 
-            xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
-
-            <element name="greetMe">
-                <complexType>
-                    <sequence>
-                        <element name="requestType" type="xsd:string"/>
-                    </sequence>
-                </complexType>
-            </element>
-            <element name="greetMeResponse">
-                <complexType>
-                    <sequence>
-                        <element name="responseType" type="xsd:string"/>
-                    </sequence>
-                </complexType>
-            </element>
-
-        </schema>
-    </wsdl:types>
    
     <wsdl:message name="greetMeRequest">
-        <wsdl:part element="x1:greetMe" name="in"/>
+        <wsdl:part name="in" type="xsd:string" />
     </wsdl:message>
     <wsdl:message name="greetMeResponse">
-        <wsdl:part element="x1:greetMeResponse" name="out"/>
+        <wsdl:part name="out" type="xsd:string" />
     </wsdl:message>
     
     <wsdl:portType name="Greeter">
@@ -61,10 +40,10 @@
     </wsdl:portType>
     
     <wsdl:binding name="GreeterSOAPBinding" type="tns:Greeter">
-        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
                 
         <wsdl:operation name="greetMe">
-            <soap:operation soapAction="" style="document"/>
+            <soap:operation soapAction="" style="rpc"/>
             <wsdl:input name="greetMeRequest">
                 <soap:body use="literal"/>
             </wsdl:input>

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-tests/jaxrpc-war/src/test/resources/request1.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-tests/jaxrpc-war/src/test/resources/request1.xml?view=diff&rev=526478&r1=526477&r2=526478
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-tests/jaxrpc-war/src/test/resources/request1.xml
(original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxrpc-tests/jaxrpc-war/src/test/resources/request1.xml
Sat Apr  7 13:14:32 2007
@@ -19,8 +19,8 @@
 -->
 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
-     <greetMe xmlns="http://org.apache.org/greeter/types">
-       <requestType>foo bar</requestType>
+     <greetMe xmlns="http://org.apache.org/greeter">
+       <in>foo bar</in>
      </greetMe>
    </soap:Body>
 </soap:Envelope>



Mime
View raw message