×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: ActionScript
Posted by: Robert Britton
Added: Mar 30, 2015 11:08 AM
Views: 1885
Tags: no tags
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <!--
  4.  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  5.  
  6.  Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
  7.  
  8.  Oracle and Java are registered trademarks of Oracle and/or its affiliates.
  9.  Other names may be trademarks of their respective owners.
  10.  
  11.  The contents of this file are subject to the terms of either the GNU
  12.  General Public License Version 2 only ("GPL") or the Common
  13.  Development and Distribution License("CDDL") (collectively, the
  14.  "License"). You may not use this file except in compliance with the
  15.  License. You can obtain a copy of the License at
  16.  http://www.netbeans.org/cddl-gplv2.html
  17.  or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
  18.  specific language governing permissions and limitations under the
  19.  License.  When distributing the software, include this License Header
  20.  Notice in each file and include the License file at
  21.  nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
  22.  particular file as subject to the "Classpath" exception as provided
  23.  by Oracle in the GPL Version 2 section of the License file that
  24.  accompanied this code. If applicable, add the following below the
  25.  License Header, with the fields enclosed by brackets [] replaced by
  26.  your own identifying information:
  27.  "Portions Copyrighted [year] [name of copyright owner]"
  28.  
  29.  Contributor(s):
  30.  
  31.  The Original Software is NetBeans. The Initial Developer of the Original
  32.  Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
  33.  Microsystems, Inc. All Rights Reserved.
  34.  
  35.  If you wish your version of this file to be governed by only the CDDL
  36.  or only the GPL Version 2, indicate your decision by adding
  37.  "[Contributor] elects to include this software in this distribution
  38. under the [CDDL or GPL Version 2] license." If you do not indicate a
  39.  single choice of license, a recipient has the option to distribute
  40.  your version of this file under either the CDDL, the GPL Version 2 or
  41.  to extend the choice of license to its licensees as provided above.
  42.  However, if you add GPL Version 2 code and therefore, elected the GPL
  43.  Version 2 license, then the option applies only if the new code is
  44.  made subject to such option by the copyright holder.
  45. -->
  46. <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  47.              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  48.              xsi:schemaLocation="http://research.sun.com/wadl/2006/10
  49.                https://wadl.dev.java.net/wadl20061109.xsd"
  50.              xmlns="http://research.sun.com/wadl/2006/10"
  51.              xmlns:buckets="urn:amazons3:amazons3buckets">
  52.     <grammars>
  53.         <include href="AmazonS3Buckets.xsd"/>
  54.     </grammars>
  55.     <resources base="http://s3.amazonaws.com">
  56.         <!--
  57.             API documentation:
  58.        
  59.             http://developer.amazonwebservices.com/connect/kbcategory.jspa?categoryID=46
  60.            
  61.             This is a single WADL method for a all 3 methods of Amazon S3 services.
  62.         -->
  63.         <resource path="/">
  64.             <method name="GET" id="getBuckets">
  65.                 <request>
  66.                     <param name="Authorization" type="xsd:string" style="header" required="true"/>
  67.                 </request>
  68.                 <response>
  69.                     <representation mediaType="application/xml" element="buckets:ListAllMyBucketsResult"/>
  70.                 </response>
  71.             </method>
  72.         </resource>
  73.     </resources>
  74. </application>
  75.