Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 72216 invoked from network); 8 Jul 2008 21:40:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jul 2008 21:40:27 -0000 Received: (qmail 6227 invoked by uid 500); 8 Jul 2008 21:40:28 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 6184 invoked by uid 500); 8 Jul 2008 21:40:28 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 6175 invoked by uid 99); 8 Jul 2008 21:40:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 14:40:28 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 21:39:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BB1382388A32; Tue, 8 Jul 2008 14:39:36 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r674974 - 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 21:39:36 -0000 To: scm@geronimo.apache.org From: linsun@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080708213936.BB1382388A32@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: linsun Date: Tue Jul 8 14:39:36 2008 New Revision: 674974 URL: http://svn.apache.org/viewvc?rev=674974&view=rev Log: More readme update - either install the plugin or war file 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=674974&r1=674973&r2=674974&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 14:39:36 2008 @@ -6,30 +6,49 @@ mvn install -2. Deploy +2. Install the sample plugin. For example, Use command below if you +want to install the jaxws-calculator tomcat plugin. -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|sh] deploy %SAMPLE_HOME$\jaxws-calculator\jaxws-calculator-war\target\jaxws-calculator-war-{version}.war - + deploy.[bat|sh] install-plugin %SAMPLE_HOME$\jaxws-calculator-tomcat\jaxws-calculator-tomcat\target\jaxws-calculator-tomcat-{version}.car + Alternatively, you can also use admin console or gshell to install the sample plugin. + 3. Run Use your favorite browser to open the following url: - http://localhost:8080/jaxws-calculator-war-{version} + http://localhost:8080/jaxws-calculator 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 + http://localhost:8080/jaxws-calculator/calculator?wsdl 4. Undeploy Use Admin console to undeploy the module. -Navigate to Applications --> Web App WARs to uninstall the jaxws-calculator-war module. +Navigate to Applications --> Web App WARs to uninstall the jaxws-calculator module. + + +Note: + +If you choose to deploy the jaxws-calculator-war\target\jaxws-calculator-war-{version}.war file +instead of installing the car file, perform either steps below: + +Either + +Copy the geronimo-web.xml from jaxws-calculator-tomcat\target\resources\META-INF\plan.xml +or jaxws-calculator-jetty\target\resources\META-INF\plan.xml into jaxws-calculator-war\src\main\webapp\WEB-INF + +Or + +Update the "soap:address location" value in the CalculatorService.wsdl accordingly, for example + + + + +Rebuild the sample and deploy the war. \ 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=674974&r1=674973&r2=674974&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 14:39:36 2008 @@ -82,7 +82,7 @@ - +