geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lin...@apache.org
Subject svn commit: r674896 - in /geronimo/samples/branches/2.1/samples/jaxws-calculator: README.txt jaxws-calculator-war/src/main/webapp/WEB-INF/wsdl/CalculatorService.wsdl
Date Tue, 08 Jul 2008 17:50:03 GMT
Author: linsun
Date: Tue Jul  8 10:50:03 2008
New Revision: 674896

URL: http://svn.apache.org/viewvc?rev=674896&view=rev
Log:
update readme and soap addr location (as this sample doesn't have a geronimo-web.xml)

Modified:
    geronimo/samples/branches/2.1/samples/jaxws-calculator/README.txt
    geronimo/samples/branches/2.1/samples/jaxws-calculator/jaxws-calculator-war/src/main/webapp/WEB-INF/wsdl/CalculatorService.wsdl

Modified: geronimo/samples/branches/2.1/samples/jaxws-calculator/README.txt
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.1/samples/jaxws-calculator/README.txt?rev=674896&r1=674895&r2=674896&view=diff
==============================================================================
--- geronimo/samples/branches/2.1/samples/jaxws-calculator/README.txt (original)
+++ geronimo/samples/branches/2.1/samples/jaxws-calculator/README.txt Tue Jul  8 10:50:03
2008
@@ -1,27 +1,35 @@
-This sample shows JAX-WS 2.0 usage in Geronimo 2.0.  
+This sample shows JAX-WS 2.0 usage in Geronimo 2.1.  
 
 1. Build
 
-Using Maven 2.0.5+ to build this sample.
+Using Apache Maven v2.0.5 through 2.0.7 to build this sample.
 
    mvn install
    
 2. Deploy
 
-After the build, A war file jaxws-calculator-war-2.0-SNAPSHOT.war will be created under jaxws-calculator-war\target.
+After the build, A war file jaxws-calculator-war-{version}.war will be created under jaxws-calculator-war\target.
 Deploy this sample via the following command or admin console.
 
-   deploy.bat deploy %SAMPLE_HOME$\jaxws-calculator\jaxws-calculator-war\target\jaxws-calculator-war-2.0-SNAPSHOT.war
+   deploy.[bat|sh] deploy %SAMPLE_HOME$\jaxws-calculator\jaxws-calculator-war\target\jaxws-calculator-war-{version}.war
    
    
 3. Run
 
 Use your favorite browser to open the following url:
    
-   http://localhost:8080/jaxws-calculator-war-2.0-SNAPSHOT
+   http://localhost:8080/jaxws-calculator-war-{version}
+
+Enter 2 integers and select the "=" button to display the result.      
+
+To query wsdl, open the following url in your browser:
+
+   http://localhost:8080/jaxws-calculator-war-{version}/calculator?wsdl
+
 
 4. Undeploy
 
-Undeploy this sample via the following command or admin console.
+Use Admin console to undeploy the module.   
+Navigate to Applications --> Web App WARs to uninstall the jaxws-calculator-war module.
    
-   deploy.bat undeploy org.apache.geronimo.samples.jws/Calculator/2.0/car
\ No newline at end of file
+  
\ No newline at end of file

Modified: geronimo/samples/branches/2.1/samples/jaxws-calculator/jaxws-calculator-war/src/main/webapp/WEB-INF/wsdl/CalculatorService.wsdl
URL: http://svn.apache.org/viewvc/geronimo/samples/branches/2.1/samples/jaxws-calculator/jaxws-calculator-war/src/main/webapp/WEB-INF/wsdl/CalculatorService.wsdl?rev=674896&r1=674895&r2=674896&view=diff
==============================================================================
--- geronimo/samples/branches/2.1/samples/jaxws-calculator/jaxws-calculator-war/src/main/webapp/WEB-INF/wsdl/CalculatorService.wsdl
(original)
+++ geronimo/samples/branches/2.1/samples/jaxws-calculator/jaxws-calculator-war/src/main/webapp/WEB-INF/wsdl/CalculatorService.wsdl
Tue Jul  8 10:50:03 2008
@@ -82,7 +82,7 @@
 
     <wsdl:service name="Calculator">
         <wsdl:port name="CalculatorPort" binding="tns:CalculatorSoapBinding">
-            <soap:address location="http://localhost:8080/jaxws-calculator-1.0/calculator"/>
+            <soap:address location="http://localhost:8080/jaxws-calculator-war-2.1-SNAPSHOT/calculator"/>
         </wsdl:port>
     </wsdl:service>
 



Mime
View raw message