Return-Path: Delivered-To: apmail-ws-tuscany-commits-archive@locus.apache.org Received: (qmail 80907 invoked from network); 3 Apr 2008 00:24:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2008 00:24:02 -0000 Received: (qmail 38500 invoked by uid 500); 3 Apr 2008 00:24:02 -0000 Delivered-To: apmail-ws-tuscany-commits-archive@ws.apache.org Received: (qmail 38468 invoked by uid 500); 3 Apr 2008 00:24:02 -0000 Mailing-List: contact tuscany-commits-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-dev@ws.apache.org Delivered-To: mailing list tuscany-commits@ws.apache.org Received: (qmail 38459 invoked by uid 99); 3 Apr 2008 00:24:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 17:24:02 -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; Thu, 03 Apr 2008 00:23:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 59A881A9832; Wed, 2 Apr 2008 17:23:21 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r644117 [1/2] - in /incubator/tuscany/java/sca/samples/zipcode-jaxws: ./ src/ src/main/ src/main/java/ src/main/java/com/ src/main/java/com/example/ src/main/java/com/example/uszip/ src/main/java/com/example/weather/ src/main/java/location/... Date: Thu, 03 Apr 2008 00:23:16 -0000 To: tuscany-commits@ws.apache.org From: rfeng@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080403002323.59A881A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rfeng Date: Wed Apr 2 17:23:13 2008 New Revision: 644117 URL: http://svn.apache.org/viewvc?rev=644117&view=rev Log: Add a sample for binding.ws with JAX-WS/JAXB generated classes Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/ (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/DISCLAIMER incubator/tuscany/java/sca/samples/zipcode-jaxws/LICENSE incubator/tuscany/java/sca/samples/zipcode-jaxws/NOTICE incubator/tuscany/java/sca/samples/zipcode-jaxws/README incubator/tuscany/java/sca/samples/zipcode-jaxws/build.xml (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/pom.xml (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCode.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCodeResponse.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCity.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCityResponse.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByState.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByStateResponse.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIP.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIPResponse.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/ObjectFactory.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZip.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZipSoap.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/package-info.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/ArrayOfWeatherData.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByPlaceName.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByPlaceNameResponse.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByZipCode.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByZipCodeResponse.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/ObjectFactory.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/WeatherData.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/WeatherForecast.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/WeatherForecastSoap.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/WeatherForecasts.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/package-info.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/location/ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/location/LocationClient.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/location/USLocationImpl.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/weather/ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/weather/WeatherForecastClient.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/weather/WeatherForecastImpl.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/zipcode/ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/zipcode/ZipCodeClient.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/zipcode/ZipCodeService.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/zipcode/ZipCodeServiceImpl.java (with props) incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/resources/ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/resources/USLocation.composite incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/resources/WeatherForecast.composite incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/resources/ZipCode.composite Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Wed Apr 2 17:23:13 2008 @@ -0,0 +1,6 @@ +target +work +.classpath +.project +.settings +build-dependency.xml Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/DISCLAIMER URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/DISCLAIMER?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/DISCLAIMER (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/DISCLAIMER Wed Apr 2 17:23:13 2008 @@ -0,0 +1,8 @@ +Apache Tuscany is an effort undergoing incubation at The Apache Software +Foundation (ASF), sponsored by the Apache Web Services PMC. Incubation is +required of all newly accepted projects until a further review indicates that +the infrastructure, communications, and decision making process have stabilized +in a manner consistent with other successful ASF projects. While incubation +status is not necessarily a reflection of the completeness or stability of the +code, it does indicate that the project has yet to be fully endorsed by the ASF. + Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/LICENSE URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/LICENSE?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/LICENSE (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/LICENSE Wed Apr 2 17:23:13 2008 @@ -0,0 +1,205 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + + + Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/NOTICE URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/NOTICE?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/NOTICE (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/NOTICE Wed Apr 2 17:23:13 2008 @@ -0,0 +1,6 @@ +${pom.name} +Copyright (c) 2005 - 2008 The Apache Software Foundation + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). + Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/README URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/README?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/README (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/README Wed Apr 2 17:23:13 2008 @@ -0,0 +1,72 @@ +ZipCode JAX-WS Sample +====================================== +This sample demonstrates how to access an existing web service using JAX-WS/JAXB generated java interfaces/classes. + +The README in the samples directory (the directory above this) provides +general instructions about building and running samples. Take a look there +first. + +If you just want to run it to see what happens open a command prompt, navigate +to this sample directory and do: + +ant run + +OR if you don't have ant, on Windows do + +java -cp ..\..\lib\tuscany-sca-manifest.jar;target\sample-zipcode-jaxws.jar zipcode.ZipCodeClient + +and on *nix do + +java -cp ../../lib/tuscany-sca-manifest.jar:target/sample-zipcode-jaxws.jar zipcode.ZipCodeClient + + +Sample Overview +--------------- +The sample provides a single component exposing a Web resource. + +zipcode-jaxws/ + src/ + main/ + java/ + + resources/ + ZipCode.composite - the SCA assembly for this sample + zipcode-jaxws.png - a pictorial representation of the + sample .composite file + build.xml - the Ant build file + pom.xml - the Maven build file + + +Building And Running The Sample Using Ant +----------------------------------------- +With the binary distribution the sample can be built and run using Ant using the +following commands + +cd zipcode-jaxws +ant compile +ant run + +You should see the following output from the run target. + +run: + [java] 14-Jan-2008 14:28:07 org.apache.tuscany.sca.http.jetty.JettyServer a +ddServletMapping + [java] INFO: Added Servlet mapping: http://L3AW203:8080/myWeb/* + [java] Sample server started (press enter to shutdown) + [java] + [java] To get the Web resource, point your Web browser to the following add +ress: + [java] http://localhost:8080/myWeb/index.html + [java] + +As this point the Web resource is exposed by a web server started automatically +by the SCA runtime. To stop the server just press enter. + +Building The Sample Using Maven +------------------------------------------- +With either the binary or source distributions the sample can be built using +Maven as follows. + +cd zipcode-jaxws +mvn + Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/build.xml URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/build.xml?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/build.xml (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/build.xml Wed Apr 2 17:23:13 2008 @@ -0,0 +1,62 @@ + + +]> + + + &buildDependency; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/build.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/build.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/pom.xml URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/pom.xml?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/pom.xml (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/pom.xml Wed Apr 2 17:23:13 2008 @@ -0,0 +1,250 @@ + + + + 4.0.0 + + org.apache.tuscany.sca + tuscany-sca + 2.0-incubating-SNAPSHOT + ../../pom.xml + + sample-zipcode-jaxws + jar + Apache Tuscany SCA US Zip Code JAX-WS Sample + Apache Tuscany SCA US Zip Code JAX-WS Sample + + + + org.apache.tuscany.sca + tuscany-host-embedded + 2.0-incubating-SNAPSHOT + + + + org.apache.tuscany.sca + tuscany-implementation-java-runtime + 2.0-incubating-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-ws-axis2 + 2.0-incubating-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-feed + 2.0-incubating-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-host-jetty + 2.0-incubating-SNAPSHOT + runtime + + + + junit + junit + 4.2 + test + + + + + + + java.net + java.net Maven 1.x Repository + http://download.java.net/maven/1 + legacy + + + java.net2 + java.net Maven 2.x Repository + http://download.java.net/maven/2 + + + + + + java.net2 + java.net Maven 2.x Repository + http://download.java.net/maven/2 + + + + + + ${artifactId} + + + org.apache.maven.plugins + maven-antrun-plugin + 1.1 + + + + install-wsdl + validate + + run + + + + + + + + + + + + + org.apache.tuscany.sca + tuscany-maven-ant-generator + 2.0-incubating-SNAPSHOT + + + + location.LocationClient + true + + + generate + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + -Djava.endorsed.dirs=target/endorsed + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy + generate-sources + + copy + + + + + javax.xml.ws + jaxws-api + 2.1 + jar + + + javax.xml.bind + jaxb-api + 2.1 + jar + + + ${project.build.directory}/endorsed + false + true + + + + + + + + + + Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/pom.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCode.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCode.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCode.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCode.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,64 @@ + +package com.example.uszip; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="USAreaCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "usAreaCode" +}) +@XmlRootElement(name = "GetInfoByAreaCode") +public class GetInfoByAreaCode { + + @XmlElement(name = "USAreaCode") + protected String usAreaCode; + + /** + * Gets the value of the usAreaCode property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUSAreaCode() { + return usAreaCode; + } + + /** + * Sets the value of the usAreaCode property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUSAreaCode(String value) { + this.usAreaCode = value; + } + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCode.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCode.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCodeResponse.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCodeResponse.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCodeResponse.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCodeResponse.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,140 @@ + +package com.example.uszip; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="GetInfoByAreaCodeResult" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "getInfoByAreaCodeResult" +}) +@XmlRootElement(name = "GetInfoByAreaCodeResponse") +public class GetInfoByAreaCodeResponse { + + @XmlElement(name = "GetInfoByAreaCodeResult") + protected GetInfoByAreaCodeResponse.GetInfoByAreaCodeResult getInfoByAreaCodeResult; + + /** + * Gets the value of the getInfoByAreaCodeResult property. + * + * @return + * possible object is + * {@link GetInfoByAreaCodeResponse.GetInfoByAreaCodeResult } + * + */ + public GetInfoByAreaCodeResponse.GetInfoByAreaCodeResult getGetInfoByAreaCodeResult() { + return getInfoByAreaCodeResult; + } + + /** + * Sets the value of the getInfoByAreaCodeResult property. + * + * @param value + * allowed object is + * {@link GetInfoByAreaCodeResponse.GetInfoByAreaCodeResult } + * + */ + public void setGetInfoByAreaCodeResult(GetInfoByAreaCodeResponse.GetInfoByAreaCodeResult value) { + this.getInfoByAreaCodeResult = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "content" + }) + public static class GetInfoByAreaCodeResult { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List content; + + /** + * Gets the value of the content property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the content property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getContent().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * + * + */ + public List getContent() { + if (content == null) { + content = new ArrayList(); + } + return this.content; + } + + } + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCodeResponse.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByAreaCodeResponse.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCity.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCity.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCity.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCity.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,64 @@ + +package com.example.uszip; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="USCity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "usCity" +}) +@XmlRootElement(name = "GetInfoByCity") +public class GetInfoByCity { + + @XmlElement(name = "USCity") + protected String usCity; + + /** + * Gets the value of the usCity property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUSCity() { + return usCity; + } + + /** + * Sets the value of the usCity property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUSCity(String value) { + this.usCity = value; + } + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCity.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCity.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCityResponse.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCityResponse.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCityResponse.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCityResponse.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,140 @@ + +package com.example.uszip; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="GetInfoByCityResult" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "getInfoByCityResult" +}) +@XmlRootElement(name = "GetInfoByCityResponse") +public class GetInfoByCityResponse { + + @XmlElement(name = "GetInfoByCityResult") + protected GetInfoByCityResponse.GetInfoByCityResult getInfoByCityResult; + + /** + * Gets the value of the getInfoByCityResult property. + * + * @return + * possible object is + * {@link GetInfoByCityResponse.GetInfoByCityResult } + * + */ + public GetInfoByCityResponse.GetInfoByCityResult getGetInfoByCityResult() { + return getInfoByCityResult; + } + + /** + * Sets the value of the getInfoByCityResult property. + * + * @param value + * allowed object is + * {@link GetInfoByCityResponse.GetInfoByCityResult } + * + */ + public void setGetInfoByCityResult(GetInfoByCityResponse.GetInfoByCityResult value) { + this.getInfoByCityResult = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "content" + }) + public static class GetInfoByCityResult { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List content; + + /** + * Gets the value of the content property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the content property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getContent().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * + * + */ + public List getContent() { + if (content == null) { + content = new ArrayList(); + } + return this.content; + } + + } + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCityResponse.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByCityResponse.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByState.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByState.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByState.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByState.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,64 @@ + +package com.example.uszip; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="USState" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "usState" +}) +@XmlRootElement(name = "GetInfoByState") +public class GetInfoByState { + + @XmlElement(name = "USState") + protected String usState; + + /** + * Gets the value of the usState property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUSState() { + return usState; + } + + /** + * Sets the value of the usState property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUSState(String value) { + this.usState = value; + } + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByState.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByState.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByStateResponse.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByStateResponse.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByStateResponse.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByStateResponse.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,140 @@ + +package com.example.uszip; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="GetInfoByStateResult" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "getInfoByStateResult" +}) +@XmlRootElement(name = "GetInfoByStateResponse") +public class GetInfoByStateResponse { + + @XmlElement(name = "GetInfoByStateResult") + protected GetInfoByStateResponse.GetInfoByStateResult getInfoByStateResult; + + /** + * Gets the value of the getInfoByStateResult property. + * + * @return + * possible object is + * {@link GetInfoByStateResponse.GetInfoByStateResult } + * + */ + public GetInfoByStateResponse.GetInfoByStateResult getGetInfoByStateResult() { + return getInfoByStateResult; + } + + /** + * Sets the value of the getInfoByStateResult property. + * + * @param value + * allowed object is + * {@link GetInfoByStateResponse.GetInfoByStateResult } + * + */ + public void setGetInfoByStateResult(GetInfoByStateResponse.GetInfoByStateResult value) { + this.getInfoByStateResult = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "content" + }) + public static class GetInfoByStateResult { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List content; + + /** + * Gets the value of the content property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the content property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getContent().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * + * + */ + public List getContent() { + if (content == null) { + content = new ArrayList(); + } + return this.content; + } + + } + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByStateResponse.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByStateResponse.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIP.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIP.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIP.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIP.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,64 @@ + +package com.example.uszip; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="USZip" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "usZip" +}) +@XmlRootElement(name = "GetInfoByZIP") +public class GetInfoByZIP { + + @XmlElement(name = "USZip") + protected String usZip; + + /** + * Gets the value of the usZip property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUSZip() { + return usZip; + } + + /** + * Sets the value of the usZip property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUSZip(String value) { + this.usZip = value; + } + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIP.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIP.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIPResponse.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIPResponse.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIPResponse.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIPResponse.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,140 @@ + +package com.example.uszip; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlMixed; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="GetInfoByZIPResult" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "getInfoByZIPResult" +}) +@XmlRootElement(name = "GetInfoByZIPResponse") +public class GetInfoByZIPResponse { + + @XmlElement(name = "GetInfoByZIPResult") + protected GetInfoByZIPResponse.GetInfoByZIPResult getInfoByZIPResult; + + /** + * Gets the value of the getInfoByZIPResult property. + * + * @return + * possible object is + * {@link GetInfoByZIPResponse.GetInfoByZIPResult } + * + */ + public GetInfoByZIPResponse.GetInfoByZIPResult getGetInfoByZIPResult() { + return getInfoByZIPResult; + } + + /** + * Sets the value of the getInfoByZIPResult property. + * + * @param value + * allowed object is + * {@link GetInfoByZIPResponse.GetInfoByZIPResult } + * + */ + public void setGetInfoByZIPResult(GetInfoByZIPResponse.GetInfoByZIPResult value) { + this.getInfoByZIPResult = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "content" + }) + public static class GetInfoByZIPResult { + + @XmlMixed + @XmlAnyElement(lax = true) + protected List content; + + /** + * Gets the value of the content property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the content property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getContent().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * {@link Object } + * + * + */ + public List getContent() { + if (content == null) { + content = new ArrayList(); + } + return this.content; + } + + } + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIPResponse.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/GetInfoByZIPResponse.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/ObjectFactory.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/ObjectFactory.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/ObjectFactory.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/ObjectFactory.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,128 @@ + +package com.example.uszip; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the com.example.uszip package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.example.uszip + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link GetInfoByCity } + * + */ + public GetInfoByCity createGetInfoByCity() { + return new GetInfoByCity(); + } + + /** + * Create an instance of {@link GetInfoByState } + * + */ + public GetInfoByState createGetInfoByState() { + return new GetInfoByState(); + } + + /** + * Create an instance of {@link GetInfoByZIPResponse.GetInfoByZIPResult } + * + */ + public GetInfoByZIPResponse.GetInfoByZIPResult createGetInfoByZIPResponseGetInfoByZIPResult() { + return new GetInfoByZIPResponse.GetInfoByZIPResult(); + } + + /** + * Create an instance of {@link GetInfoByStateResponse.GetInfoByStateResult } + * + */ + public GetInfoByStateResponse.GetInfoByStateResult createGetInfoByStateResponseGetInfoByStateResult() { + return new GetInfoByStateResponse.GetInfoByStateResult(); + } + + /** + * Create an instance of {@link GetInfoByAreaCodeResponse.GetInfoByAreaCodeResult } + * + */ + public GetInfoByAreaCodeResponse.GetInfoByAreaCodeResult createGetInfoByAreaCodeResponseGetInfoByAreaCodeResult() { + return new GetInfoByAreaCodeResponse.GetInfoByAreaCodeResult(); + } + + /** + * Create an instance of {@link GetInfoByZIP } + * + */ + public GetInfoByZIP createGetInfoByZIP() { + return new GetInfoByZIP(); + } + + /** + * Create an instance of {@link GetInfoByAreaCodeResponse } + * + */ + public GetInfoByAreaCodeResponse createGetInfoByAreaCodeResponse() { + return new GetInfoByAreaCodeResponse(); + } + + /** + * Create an instance of {@link GetInfoByCityResponse } + * + */ + public GetInfoByCityResponse createGetInfoByCityResponse() { + return new GetInfoByCityResponse(); + } + + /** + * Create an instance of {@link GetInfoByStateResponse } + * + */ + public GetInfoByStateResponse createGetInfoByStateResponse() { + return new GetInfoByStateResponse(); + } + + /** + * Create an instance of {@link GetInfoByCityResponse.GetInfoByCityResult } + * + */ + public GetInfoByCityResponse.GetInfoByCityResult createGetInfoByCityResponseGetInfoByCityResult() { + return new GetInfoByCityResponse.GetInfoByCityResult(); + } + + /** + * Create an instance of {@link GetInfoByZIPResponse } + * + */ + public GetInfoByZIPResponse createGetInfoByZIPResponse() { + return new GetInfoByZIPResponse(); + } + + /** + * Create an instance of {@link GetInfoByAreaCode } + * + */ + public GetInfoByAreaCode createGetInfoByAreaCode() { + return new GetInfoByAreaCode(); + } + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/ObjectFactory.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/ObjectFactory.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZip.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZip.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZip.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZip.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,71 @@ + +package com.example.uszip; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.3-b02- + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "USZip", targetNamespace = "http://www.webserviceX.NET", wsdlLocation = "file:/C:/Tuscany/java/sca/demos/us-location/src/main/resources/wsdl/uszip.wsdl") +public class USZip + extends Service +{ + + private final static URL USZIP_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(com.example.uszip.USZip.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = com.example.uszip.USZip.class.getResource("."); + url = new URL(baseUrl, "file:/C:/Tuscany/java/sca/demos/us-location/src/main/resources/wsdl/uszip.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/C:/Tuscany/java/sca/demos/us-location/src/main/resources/wsdl/uszip.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + USZIP_WSDL_LOCATION = url; + } + + public USZip(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public USZip() { + super(USZIP_WSDL_LOCATION, new QName("http://www.webserviceX.NET", "USZip")); + } + + /** + * + * @return + * returns USZipSoap + */ + @WebEndpoint(name = "USZipSoap") + public USZipSoap getUSZipSoap() { + return super.getPort(new QName("http://www.webserviceX.NET", "USZipSoap"), USZipSoap.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. + * @return + * returns USZipSoap + */ + @WebEndpoint(name = "USZipSoap") + public USZipSoap getUSZipSoap(WebServiceFeature... features) { + return super.getPort(new QName("http://www.webserviceX.NET", "USZipSoap"), USZipSoap.class, features); + } + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZip.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZip.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZipSoap.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZipSoap.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZipSoap.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZipSoap.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,86 @@ + +package com.example.uszip; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.ws.RequestWrapper; +import javax.xml.ws.ResponseWrapper; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.3-b02- + * Generated source version: 2.1 + * + */ +@WebService(name = "USZipSoap", targetNamespace = "http://www.webserviceX.NET") +@XmlSeeAlso({ + ObjectFactory.class +}) +public interface USZipSoap { + + + /** + * Get State Code,City,Area Code,Time Zone,Zip Code by Zip Code + * + * @param usZip + * @return + * returns com.example.uszip.GetInfoByZIPResponse.GetInfoByZIPResult + */ + @WebMethod(operationName = "GetInfoByZIP", action = "http://www.webserviceX.NET/GetInfoByZIP") + @WebResult(name = "GetInfoByZIPResult", targetNamespace = "http://www.webserviceX.NET") + @RequestWrapper(localName = "GetInfoByZIP", targetNamespace = "http://www.webserviceX.NET", className = "com.example.uszip.GetInfoByZIP") + @ResponseWrapper(localName = "GetInfoByZIPResponse", targetNamespace = "http://www.webserviceX.NET", className = "com.example.uszip.GetInfoByZIPResponse") + public com.example.uszip.GetInfoByZIPResponse.GetInfoByZIPResult getInfoByZIP( + @WebParam(name = "USZip", targetNamespace = "http://www.webserviceX.NET") + String usZip); + + /** + * Get State Code,City,Area Code,Time Zone,Zip Code by City + * + * @param usCity + * @return + * returns com.example.uszip.GetInfoByCityResponse.GetInfoByCityResult + */ + @WebMethod(operationName = "GetInfoByCity", action = "http://www.webserviceX.NET/GetInfoByCity") + @WebResult(name = "GetInfoByCityResult", targetNamespace = "http://www.webserviceX.NET") + @RequestWrapper(localName = "GetInfoByCity", targetNamespace = "http://www.webserviceX.NET", className = "com.example.uszip.GetInfoByCity") + @ResponseWrapper(localName = "GetInfoByCityResponse", targetNamespace = "http://www.webserviceX.NET", className = "com.example.uszip.GetInfoByCityResponse") + public com.example.uszip.GetInfoByCityResponse.GetInfoByCityResult getInfoByCity( + @WebParam(name = "USCity", targetNamespace = "http://www.webserviceX.NET") + String usCity); + + /** + * Get State Code,City,Area Code,Time Zone,Zip Code by state + * + * @param usState + * @return + * returns com.example.uszip.GetInfoByStateResponse.GetInfoByStateResult + */ + @WebMethod(operationName = "GetInfoByState", action = "http://www.webserviceX.NET/GetInfoByState") + @WebResult(name = "GetInfoByStateResult", targetNamespace = "http://www.webserviceX.NET") + @RequestWrapper(localName = "GetInfoByState", targetNamespace = "http://www.webserviceX.NET", className = "com.example.uszip.GetInfoByState") + @ResponseWrapper(localName = "GetInfoByStateResponse", targetNamespace = "http://www.webserviceX.NET", className = "com.example.uszip.GetInfoByStateResponse") + public com.example.uszip.GetInfoByStateResponse.GetInfoByStateResult getInfoByState( + @WebParam(name = "USState", targetNamespace = "http://www.webserviceX.NET") + String usState); + + /** + * Get State Code,City,Area Code,Time Zone,Zip Code by Area Code + * + * @param usAreaCode + * @return + * returns com.example.uszip.GetInfoByAreaCodeResponse.GetInfoByAreaCodeResult + */ + @WebMethod(operationName = "GetInfoByAreaCode", action = "http://www.webserviceX.NET/GetInfoByAreaCode") + @WebResult(name = "GetInfoByAreaCodeResult", targetNamespace = "http://www.webserviceX.NET") + @RequestWrapper(localName = "GetInfoByAreaCode", targetNamespace = "http://www.webserviceX.NET", className = "com.example.uszip.GetInfoByAreaCode") + @ResponseWrapper(localName = "GetInfoByAreaCodeResponse", targetNamespace = "http://www.webserviceX.NET", className = "com.example.uszip.GetInfoByAreaCodeResponse") + public com.example.uszip.GetInfoByAreaCodeResponse.GetInfoByAreaCodeResult getInfoByAreaCode( + @WebParam(name = "USAreaCode", targetNamespace = "http://www.webserviceX.NET") + String usAreaCode); + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZipSoap.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/USZipSoap.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/package-info.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/package-info.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/package-info.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/package-info.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.webserviceX.NET", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package com.example.uszip; Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/package-info.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/uszip/package-info.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/ArrayOfWeatherData.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/ArrayOfWeatherData.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/ArrayOfWeatherData.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/ArrayOfWeatherData.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,69 @@ + +package com.example.weather; + +import java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for ArrayOfWeatherData complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="ArrayOfWeatherData">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="WeatherData" type="{http://www.webservicex.net}WeatherData" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ArrayOfWeatherData", propOrder = { + "weatherData" +}) +public class ArrayOfWeatherData { + + @XmlElement(name = "WeatherData") + protected List weatherData; + + /** + * Gets the value of the weatherData property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the weatherData property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getWeatherData().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link WeatherData } + * + * + */ + public List getWeatherData() { + if (weatherData == null) { + weatherData = new ArrayList(); + } + return this.weatherData; + } + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/ArrayOfWeatherData.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/ArrayOfWeatherData.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByPlaceName.java URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByPlaceName.java?rev=644117&view=auto ============================================================================== --- incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByPlaceName.java (added) +++ incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByPlaceName.java Wed Apr 2 17:23:13 2008 @@ -0,0 +1,64 @@ + +package com.example.weather; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType>
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="PlaceName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "placeName" +}) +@XmlRootElement(name = "GetWeatherByPlaceName") +public class GetWeatherByPlaceName { + + @XmlElement(name = "PlaceName") + protected String placeName; + + /** + * Gets the value of the placeName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlaceName() { + return placeName; + } + + /** + * Sets the value of the placeName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlaceName(String value) { + this.placeName = value; + } + +} Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByPlaceName.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/tuscany/java/sca/samples/zipcode-jaxws/src/main/java/com/example/weather/GetWeatherByPlaceName.java ------------------------------------------------------------------------------ svn:keywords = Rev Date --------------------------------------------------------------------- To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org For additional commands, e-mail: tuscany-commits-help@ws.apache.org