Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 43987 invoked from network); 8 Apr 2008 06:42:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Apr 2008 06:42:41 -0000 Received: (qmail 18504 invoked by uid 500); 8 Apr 2008 06:42:42 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 18456 invoked by uid 500); 8 Apr 2008 06:42:42 -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 18447 invoked by uid 99); 8 Apr 2008 06:42:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2008 23:42:41 -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.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 06:41:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 8D84C1A985B; Mon, 7 Apr 2008 23:41:41 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r645776 [9/9] - in /geronimo/samples/branches/1.1: ./ migration-ejb-bmp/ migration-ejb-bmp/config/ migration-ejb-bmp/config/geronimo/ migration-ejb-bmp/config/jboss/ migration-ejb-bmp/src/ migration-ejb-bmp/src/META-INF/ migration-ejb-bmp/s... Date: Tue, 08 Apr 2008 06:41:00 -0000 To: scm@geronimo.apache.org From: ecraig@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080408064141.8D84C1A985B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: geronimo/samples/branches/1.1/migration-webservices/web/WEB-INF/wsdl/search-phones-service.wsdl URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.1/migration-webservices/web/WEB-INF/wsdl/search-phones-service.wsdl?rev=645776&view=auto ============================================================================== --- geronimo/samples/branches/1.1/migration-webservices/web/WEB-INF/wsdl/search-phones-service.wsdl (added) +++ geronimo/samples/branches/1.1/migration-webservices/web/WEB-INF/wsdl/search-phones-service.wsdl Mon Apr 7 23:40:31 2008 @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Propchange: geronimo/samples/branches/1.1/migration-webservices/web/WEB-INF/wsdl/search-phones-service.wsdl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/samples/branches/1.1/migration-webservices/web/WEB-INF/wsdl/search-phones-service.wsdl ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/samples/branches/1.1/migration-webservices/web/WEB-INF/wsdl/search-phones-service.wsdl ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: geronimo/samples/branches/1.1/migration-webservices/web/css/main.css URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.1/migration-webservices/web/css/main.css?rev=645776&view=auto ============================================================================== --- geronimo/samples/branches/1.1/migration-webservices/web/css/main.css (added) +++ geronimo/samples/branches/1.1/migration-webservices/web/css/main.css Mon Apr 7 23:40:31 2008 @@ -0,0 +1,510 @@ +/* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed with +* this work for additional information regarding copyright ownership. +* The ASF licenses this file to You under the Apache License, Version 2.0 +* (the "License"); you may not use this file except in compliance with +* the License. You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ +body +{ + /*background-color: #FFFFFF;*/ +} + +.BrightTitle +{ + color: #FFFFFF; + background-color: #5FA3D6; + font-size: 11px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; +} + +.BrightTitle a:hover +{ + color: #5FA3D6; +} + +.BrightBox +{ + border: thin solid #5FA3D6; +} + +td +{ + font-size: 11px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; +} + +a:link, a:visited +{ + color: #204486; +} + +a:hover +{ + /*color: #5FA3D6;*/ + color: #CF820A; +} + +.Logo +{ + background-image:url("images/head_left_754x86.gif"); + background-repeat: no-repeat; + width: 570px; + height: 86px; + font-size: 35px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + text-align: right; + vertical-align: bottom; + line-height: 30px; + font-weight: bold; +} + +.LoginLogo +{ + background-image:url("images/head_left_login_586x86.gif"); + background-repeat: no-repeat; + width: 570px; + height: 86px; + font-size: 35px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + text-align: right; + vertical-align: bottom; + line-height: 30px; + font-weight: bold; +} + +.Top +{ + background-image:url("images/head_bgstretch_1x86.gif"); + background-repeat: repeat-x; + height: 86px; + font-size: 11px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + text-align: right; + vertical-align: bottom; + font-weight: bold; +} + +.Top a:link, .Top a:visited, .Top a:hover +{ + color: #FFFFFF; + font-size: 11px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + text-decoration: underline; + text-align: left; + vertical-align: bottom; + line-height: 30px; + font-weight: bold; +} + +.TopSpacer +{ + height: 20px; +} + +.Hidden +{ + visibility: hidden; + height: 0px; + line-height: 0px; + display: none; +} + +.Menu .Selection +{ + background-color: #F2F2F2; + font-size: 12px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; +} + +.Menu .Selection .CollapsedLeft +{ + width: 12px; + height: 12px; + color: #000000; + background-color: #F2F2F2; +} + +.Menu .Selection .Indent +{ + width: 2px; + background-color: #F2F2F2; +} + +.Menu .Selection .CollapsedRight +{ + width: 8px; + height: 12px; + background-color: #F2F2F2; +} + +.Menu .Selection .TopLeft +{ + width: 8px; + height: 16px; + background-color: #F2F2F2; +} + +.Menu .Selection .TopMiddle +{ + color: #000000; + text-decoration: none; + background-color: #F2F2F2; +} + +.Menu .Selection .TopMiddle a:link, +.Menu .Selection .TopMiddle a:visited, +{ + color: #000000; + line-height: 20px; + font-size: 12px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + background-color: #F2F2F2; +} + +.Menu .Selection .TopMiddle a:hover +{ + color: #5FA3D6; +} + +.Menu .Selection .TopRight +{ + width: 8px; + height: 16px; + background-color: #F2F2F2; +} + +.Menu .Selection .Spacer +{ + height: 5px; +} + +.Menu .Hidden +{ + visibility: hidden; + height: 0px; + display: none; +} + +.Menu .Subselection .Left +{ + width: 12px; + background-color: #F2F2F2; +} + +.Menu .Subselection .Indent +{ + width: 2px; + background-color: #F2F2F2; +} + +.Menu .Subselection .Middle +{ + font-size: 12px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + background-color: #F2F2F2; + color:#000000; +} + +.Menu .Subselection .Middle a:link, +.Menu .Subselection .Middle a:visited, +{ + line-height: 20px; + color: #000000; +} + +.Menu .Subselection .Middle a:hover +{ + color: #5FA3D6; +} + +.Menu .Subselection .Right +{ + width: 8px; + background-color: #F2F2F2; +} + +.Menu .Subselection .BottomLeft +{ + width: 8px; + height: 8px; + background-color: #F2F2F2; +} + +.Menu .Subselection .BottomMiddle +{ + height: 8px; + background-color: #F2F2F2; +} + +.Menu .Subselection .BottomRight +{ + width: 8px; + height: 8px; + background-color: #F2F2F2; +} + +.Menu .SelectedSubselection .Middle a{ + color: #000; + text-decoration: none; +} + +.Menu .SelectedSubselection .Middle a:hover{ + color: #000; + text-decoration: underline; +} + +.Gutter +{ + width: 5px; +} + +.Content .TopLeft +{ + width: 18px; + height: 18px; + line-height: 18px; + background-color: #000000; +} + +.Content .Title +{ + font-size: 12px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + background-color: #000000; + color: #FFFFFF; + height: 18px; + line-height: 18px; +} + +.Content .Title a:link, .Content .Title a:hover, .Content .Title a:visited +{ + font-size: 12px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + background-color: #000000; + color: #FFFFFF; + height: 18px; + line-height: 18px; +} + +.Content .Title .Indent +{ + width: 20px; +} + +.Content .TopRight +{ + width: 18px; + height: 18px; + background-color:#000000; +} + +.Content .CollapsedLeft +{ + width: 18px; + height: 18px; + background-color:#000000; +} + +.Content .CollapsedRight +{ + width: 18px; + height: 18px; + background-color:#000000; +} + +.Content .Left +{ + width: 18px; + background-color: #FFFFFF; +} + +.Content .Body, .Content .Body td +{ + font-size: 12px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + background-color: #FFFFFF; + color: #1E1E52; +} + +.Content .Body strong +{ + font-weight: bold; + font-size: 12px; +} + +.Content .Body th +{ + font-weight: bold; + font-size: 12px; +} + +.Content .Body .LightBackground +{ + background-color: #FFFFFF; + color:#000000; +} + +.Content .Body .LightBackground .InputField +{ + width: 150px; +} + +.Content .Body .MediumBackground +{ + background-color: #F2F2F2; + color:#000000; +} + +.Content .Body .DarkBackground, +.Content .Body .DarkBackground a:link, +.Content .Body .DarkBackground a:visited, +.Content .Body .DarkBackground a:hover +{ + background-color: #2581C7; + color:#FFFFFF; + font-size: 15px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; +} + +.Content .Body .reallyDarkBackground, +.Content .ReallyDarkBackground, +.ReallyDarkBackground +{ + color: #FFFFFF; + background-color: #000000; + font-size: 15px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; +} + +.Content .Body .IndentedTitle +{ + background-color: #919FBC; + color:#FFFFFF; +} + +.Content .Body .LightIndentedBG +{ + background-color: #FFFFFF; + color:#000000; +} + +.Content .Body .MediumIndentedBG +{ + background-color: #DDDDDD; + color:#000000; +} + + +.Content .Body a:link, +.Content .Body a:visited, +{ + font-size: 10px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + text-decoration: underline; + color: #546BC7; + font-weight: bold; +} + +.Content .Body a:hover +{ + color: #5FA3D6; +} + +.Content .Buttons { + border-top-width: thin; + border-right-width: thin; + border-bottom-width: thin; + border-left-width: thin; + border-top-style: solid; + border-right-style: solid; + border-bottom-style: solid; + border-left-style: solid; + border-top-color: #7B7BAE; + border-right-color: #7B7BAE; + border-bottom-color: #141336; + border-left-color: #141336; + background-color: #23224C; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + font-size: 12px; + text-decoration: underline; + color: #5FA3D6; +} + +.Content .Right +{ + width: 18px; + background-color: #FFFFFF; +} + +.Content .BottomLeft +{ + width: 18px; + height: 12px; + line-height: 12px; + background-color:#333366; +} + +.Content .Footer +{ + line-height: 12px; + height: 12px; + font-size: 9px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + background-color:#333366; + color:#000000; +} + +.Content .Footer a:link, +.Content .Footer a:visited, +.Content .Footer a:hover +{ + color: #5FA3D6; +} + +.Content .BottomRight +{ + width: 18px; + line-height: 12px; + height: 12px; + background-color:#333366; +} + +.Content .Spacer +{ + height: 10px; +} + +.BottomSpacer +{ +} + +.Footer +{ + font-size: 9px; + font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; + height: 20px; + background-color: #5FA3D6; +} + +.Footer a:link, +.Footer a:visited, +.Footer a:hover +{ + color: #5FA3D6; + text-decoration: underline; +} + +.Box +{ + border: thin solid #000000; +} Propchange: geronimo/samples/branches/1.1/migration-webservices/web/css/main.css ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/samples/branches/1.1/migration-webservices/web/css/main.css ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/samples/branches/1.1/migration-webservices/web/css/main.css ------------------------------------------------------------------------------ svn:mime-type = text/css Added: geronimo/samples/branches/1.1/migration-webservices/web/index.jsp URL: http://svn.apache.org/viewvc/geronimo/samples/branches/1.1/migration-webservices/web/index.jsp?rev=645776&view=auto ============================================================================== --- geronimo/samples/branches/1.1/migration-webservices/web/index.jsp (added) +++ geronimo/samples/branches/1.1/migration-webservices/web/index.jsp Mon Apr 7 23:40:31 2008 @@ -0,0 +1,125 @@ + +<%@ page language="java" + contentType="text/html; charset=utf-8" + pageEncoding="utf-8" + import="org.apache.geronimo.samples.phone.client.*" +%> + +<%! + /* Name of the reference to the Search Phones service described in the web.xml file */ + private final static String SERVICE_REF_NAME = "java:comp/env/service/SearchPhones"; + + /* Used for making hints to users */ + private final static org.apache.geronimo.samples.phone.server.PersonPhone[] AVAILABLE_PHONES = + org.apache.geronimo.samples.phone.server.SearchPhonesServer.AVAILABLE_PHONES; + + /* Returns the endpoint for calling methods of the web service */ + public SearchPhonesPortType getService() throws Exception { + javax.naming.InitialContext ctx = new javax.naming.InitialContext(); + SearchPhonesService service = (SearchPhonesService)ctx.lookup(SERVICE_REF_NAME); + return service.getSearchPhonesService(); + } +%> + +<% String name = request.getParameter("name"); %> + + + + + + + Phone Book Application + + + + +
+
+ + + + + + + + + + + +
Phone Book Application
+

+ This is a Phone Book Web Application. + Please enter the name of the person whose phone number you wish to find. +
+

+
+

Search criterion

+
+ + + + + + + + + + + +
Person name:"/>
+
+ Hint: the following names are hardcoded:
+ + <% for (int i = 0; i < AVAILABLE_PHONES.length; i++) { %> + <%=AVAILABLE_PHONES[i].getPersonName()%><%=(i < AVAILABLE_PHONES.length - 1 ? ", " : " ")%> + <% } %> + +
+
+ + <% if (name != null && !name.equals("")) { + PersonPhone[] foundPhones = getService().search(name); %> + +
+

Search results

+ + + <% if (foundPhones == null || foundPhones.length == 0) { %> + + + <% } else { %> + + + <% for (int i = 0; i < foundPhones.length; i++) { %> + + + + + <% } %> + + <% } %> + +
No persons which name starts with the specified criterion were found.
The following persons and phones were found:
<%=foundPhones[i].getPersonName()%><%=foundPhones[i].getPhoneNumber()%>
+ + <% } %> +
+
+ + + Propchange: geronimo/samples/branches/1.1/migration-webservices/web/index.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: geronimo/samples/branches/1.1/migration-webservices/web/index.jsp ------------------------------------------------------------------------------ svn:keywords = Date Revision Propchange: geronimo/samples/branches/1.1/migration-webservices/web/index.jsp ------------------------------------------------------------------------------ svn:mime-type = text/plain