Skip to content

Commit e7ec6c0

Browse files
author
Likitha Shetty
committed
CLOUDSTACK-1444. Contains regenerated JAVA stubs and services.xml obtained by generating code from ec2 wsdl 2012-08-15 [Support for EC2 API version 2012-08-15]
Signed-off-by: Likitha Shetty <likitha.shetty@citrix.com>
1 parent 8939dc6 commit e7ec6c0

918 files changed

Lines changed: 488108 additions & 119273 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

awsapi/resource/AmazonEC2/services.xml

Lines changed: 480 additions & 284 deletions
Large diffs are not rendered by default.

awsapi/src/com/amazon/ec2/ActivateLicense.java

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1-
// Licensed to the Apache Software Foundation (ASF) under one
2-
// or more contributor license agreements. See the NOTICE file
3-
// distributed with this work for additional information
4-
// regarding copyright ownership. The ASF licenses this file
5-
// to you under the Apache License, Version 2.0 (the
6-
// "License"); you may not use this file except in compliance
7-
// with the License. You may obtain a copy of the License at
8-
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
10-
//
11-
// Unless required by applicable law or agreed to in writing,
12-
// software distributed under the License is distributed on an
13-
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14-
// KIND, either express or implied. See the License for the
15-
// specific language governing permissions and limitations
16-
// under the License.
171

182
/**
193
* ActivateLicense.java
204
*
215
* This file was auto-generated from WSDL
22-
* by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
6+
* by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
237
*/
248

259
package com.amazon.ec2;
@@ -33,14 +17,14 @@ public class ActivateLicense
3317
implements org.apache.axis2.databinding.ADBBean{
3418

3519
public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName(
36-
"http://ec2.amazonaws.com/doc/2010-11-15/",
20+
"http://ec2.amazonaws.com/doc/2012-08-15/",
3721
"ActivateLicense",
3822
"ns1");
3923

4024

4125

4226
private static java.lang.String generatePrefix(java.lang.String namespace) {
43-
if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
27+
if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
4428
return "ns1";
4529
}
4630
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -343,7 +327,7 @@ public static ActivateLicense parse(javax.xml.stream.XMLStreamReader reader) thr
343327
while(!reader.isEndElement()) {
344328
if (reader.isStartElement() ){
345329

346-
if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","ActivateLicense").equals(reader.getName())){
330+
if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","ActivateLicense").equals(reader.getName())){
347331

348332
object.setActivateLicense(com.amazon.ec2.ActivateLicenseType.Factory.parse(reader));
349333

awsapi/src/com/amazon/ec2/ActivateLicenseResponse.java

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1-
// Licensed to the Apache Software Foundation (ASF) under one
2-
// or more contributor license agreements. See the NOTICE file
3-
// distributed with this work for additional information
4-
// regarding copyright ownership. The ASF licenses this file
5-
// to you under the Apache License, Version 2.0 (the
6-
// "License"); you may not use this file except in compliance
7-
// with the License. You may obtain a copy of the License at
8-
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
10-
//
11-
// Unless required by applicable law or agreed to in writing,
12-
// software distributed under the License is distributed on an
13-
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14-
// KIND, either express or implied. See the License for the
15-
// specific language governing permissions and limitations
16-
// under the License.
171

182
/**
193
* ActivateLicenseResponse.java
204
*
215
* This file was auto-generated from WSDL
22-
* by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
6+
* by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
237
*/
248

259
package com.amazon.ec2;
@@ -33,14 +17,14 @@ public class ActivateLicenseResponse
3317
implements org.apache.axis2.databinding.ADBBean{
3418

3519
public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName(
36-
"http://ec2.amazonaws.com/doc/2010-11-15/",
20+
"http://ec2.amazonaws.com/doc/2012-08-15/",
3721
"ActivateLicenseResponse",
3822
"ns1");
3923

4024

4125

4226
private static java.lang.String generatePrefix(java.lang.String namespace) {
43-
if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
27+
if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
4428
return "ns1";
4529
}
4630
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -343,7 +327,7 @@ public static ActivateLicenseResponse parse(javax.xml.stream.XMLStreamReader rea
343327
while(!reader.isEndElement()) {
344328
if (reader.isStartElement() ){
345329

346-
if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","ActivateLicenseResponse").equals(reader.getName())){
330+
if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","ActivateLicenseResponse").equals(reader.getName())){
347331

348332
object.setActivateLicenseResponse(com.amazon.ec2.ActivateLicenseResponseType.Factory.parse(reader));
349333

awsapi/src/com/amazon/ec2/ActivateLicenseResponseType.java

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1-
// Licensed to the Apache Software Foundation (ASF) under one
2-
// or more contributor license agreements. See the NOTICE file
3-
// distributed with this work for additional information
4-
// regarding copyright ownership. The ASF licenses this file
5-
// to you under the Apache License, Version 2.0 (the
6-
// "License"); you may not use this file except in compliance
7-
// with the License. You may obtain a copy of the License at
8-
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
10-
//
11-
// Unless required by applicable law or agreed to in writing,
12-
// software distributed under the License is distributed on an
13-
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14-
// KIND, either express or implied. See the License for the
15-
// specific language governing permissions and limitations
16-
// under the License.
171

182
/**
193
* ActivateLicenseResponseType.java
204
*
215
* This file was auto-generated from WSDL
22-
* by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
6+
* by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
237
*/
248

259
package com.amazon.ec2;
@@ -33,13 +17,13 @@ public class ActivateLicenseResponseType
3317
implements org.apache.axis2.databinding.ADBBean{
3418
/* This type was generated from the piece of schema that had
3519
name = ActivateLicenseResponseType
36-
Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
20+
Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
3721
Namespace Prefix = ns1
3822
*/
3923

4024

4125
private static java.lang.String generatePrefix(java.lang.String namespace) {
42-
if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
26+
if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
4327
return "ns1";
4428
}
4529
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -190,7 +174,7 @@ public void serialize(final javax.xml.namespace.QName parentQName,
190174
if (serializeType){
191175

192176

193-
java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
177+
java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
194178
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
195179
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
196180
namespacePrefix+":ActivateLicenseResponseType",
@@ -204,7 +188,7 @@ public void serialize(final javax.xml.namespace.QName parentQName,
204188

205189
}
206190

207-
namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
191+
namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
208192
if (! namespace.equals("")) {
209193
prefix = xmlWriter.getPrefix(namespace);
210194

@@ -238,7 +222,7 @@ public void serialize(final javax.xml.namespace.QName parentQName,
238222

239223
xmlWriter.writeEndElement();
240224

241-
namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
225+
namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
242226
if (! namespace.equals("")) {
243227
prefix = xmlWriter.getPrefix(namespace);
244228

@@ -429,7 +413,7 @@ public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName
429413
java.util.ArrayList attribList = new java.util.ArrayList();
430414

431415

432-
elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
416+
elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
433417
"requestId"));
434418

435419
if (localRequestId != null){
@@ -438,7 +422,7 @@ public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName
438422
throw new org.apache.axis2.databinding.ADBException("requestId cannot be null!!");
439423
}
440424

441-
elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
425+
elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
442426
"return"));
443427

444428
elementList.add(
@@ -522,7 +506,7 @@ public static ActivateLicenseResponseType parse(javax.xml.stream.XMLStreamReader
522506

523507
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
524508

525-
if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","requestId").equals(reader.getName())){
509+
if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","requestId").equals(reader.getName())){
526510

527511
java.lang.String content = reader.getElementText();
528512

@@ -541,7 +525,7 @@ public static ActivateLicenseResponseType parse(javax.xml.stream.XMLStreamReader
541525

542526
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
543527

544-
if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","return").equals(reader.getName())){
528+
if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","return").equals(reader.getName())){
545529

546530
java.lang.String content = reader.getElementText();
547531

awsapi/src/com/amazon/ec2/ActivateLicenseType.java

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1-
// Licensed to the Apache Software Foundation (ASF) under one
2-
// or more contributor license agreements. See the NOTICE file
3-
// distributed with this work for additional information
4-
// regarding copyright ownership. The ASF licenses this file
5-
// to you under the Apache License, Version 2.0 (the
6-
// "License"); you may not use this file except in compliance
7-
// with the License. You may obtain a copy of the License at
8-
//
9-
// http://www.apache.org/licenses/LICENSE-2.0
10-
//
11-
// Unless required by applicable law or agreed to in writing,
12-
// software distributed under the License is distributed on an
13-
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14-
// KIND, either express or implied. See the License for the
15-
// specific language governing permissions and limitations
16-
// under the License.
171

182
/**
193
* ActivateLicenseType.java
204
*
215
* This file was auto-generated from WSDL
22-
* by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
6+
* by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
237
*/
248

259
package com.amazon.ec2;
@@ -33,13 +17,13 @@ public class ActivateLicenseType
3317
implements org.apache.axis2.databinding.ADBBean{
3418
/* This type was generated from the piece of schema that had
3519
name = ActivateLicenseType
36-
Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
20+
Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
3721
Namespace Prefix = ns1
3822
*/
3923

4024

4125
private static java.lang.String generatePrefix(java.lang.String namespace) {
42-
if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
26+
if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
4327
return "ns1";
4428
}
4529
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -190,7 +174,7 @@ public void serialize(final javax.xml.namespace.QName parentQName,
190174
if (serializeType){
191175

192176

193-
java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
177+
java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
194178
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
195179
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
196180
namespacePrefix+":ActivateLicenseType",
@@ -204,7 +188,7 @@ public void serialize(final javax.xml.namespace.QName parentQName,
204188

205189
}
206190

207-
namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
191+
namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
208192
if (! namespace.equals("")) {
209193
prefix = xmlWriter.getPrefix(namespace);
210194

@@ -238,7 +222,7 @@ public void serialize(final javax.xml.namespace.QName parentQName,
238222

239223
xmlWriter.writeEndElement();
240224

241-
namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
225+
namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
242226
if (! namespace.equals("")) {
243227
prefix = xmlWriter.getPrefix(namespace);
244228

@@ -429,7 +413,7 @@ public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName
429413
java.util.ArrayList attribList = new java.util.ArrayList();
430414

431415

432-
elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
416+
elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
433417
"licenseId"));
434418

435419
if (localLicenseId != null){
@@ -438,7 +422,7 @@ public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName
438422
throw new org.apache.axis2.databinding.ADBException("licenseId cannot be null!!");
439423
}
440424

441-
elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
425+
elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
442426
"capacity"));
443427

444428
elementList.add(
@@ -522,7 +506,7 @@ public static ActivateLicenseType parse(javax.xml.stream.XMLStreamReader reader)
522506

523507
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
524508

525-
if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","licenseId").equals(reader.getName())){
509+
if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","licenseId").equals(reader.getName())){
526510

527511
java.lang.String content = reader.getElementText();
528512

@@ -541,7 +525,7 @@ public static ActivateLicenseType parse(javax.xml.stream.XMLStreamReader reader)
541525

542526
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
543527

544-
if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","capacity").equals(reader.getName())){
528+
if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","capacity").equals(reader.getName())){
545529

546530
java.lang.String content = reader.getElementText();
547531

0 commit comments

Comments
 (0)