You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2013/07/24 14:25:54 UTC

git commit: Refactored load balance autoscaler service stub

Updated Branches:
  refs/heads/master 3a6c7231b -> 3b258d264


Refactored load balance autoscaler service stub

Signed-off-by: Lakmal Warusawithana <la...@wso2.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/3b258d26
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/3b258d26
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/3b258d26

Branch: refs/heads/master
Commit: 3b258d264447d0f7b2135db2ac15506389a30bbb
Parents: 3a6c723
Author: Imesh Gunaratne <im...@wso2.com>
Authored: Wed Jul 24 17:46:26 2013 +0530
Committer: Lakmal Warusawithana <la...@wso2.com>
Committed: Wed Jul 24 17:55:32 2013 +0530

----------------------------------------------------------------------
 .../pom.xml                                     |  27 +-
 .../pom.xml                                     | 118 ++++++
 .../src/main/resources/AutoscalerService.wsdl   | 420 +++++++++++++++++++
 .../4.1.0/pom.xml                               | 111 -----
 .../src/main/resources/AutoscalerService.wsdl   | 420 -------------------
 5 files changed, 555 insertions(+), 541 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3b258d26/service-stubs/org.apache.stratos.adc.topologymgt.service.stub/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.adc.topologymgt.service.stub/pom.xml b/service-stubs/org.apache.stratos.adc.topologymgt.service.stub/pom.xml
index 348fb9e..a4b6bcf 100644
--- a/service-stubs/org.apache.stratos.adc.topologymgt.service.stub/pom.xml
+++ b/service-stubs/org.apache.stratos.adc.topologymgt.service.stub/pom.xml
@@ -20,18 +20,17 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
     <parent>
-        <groupId>org.wso2.carbon</groupId>
-        <artifactId>carbon-service-stubs</artifactId>
-        <version>4.1.0</version>
-        <relativePath>../../pom.xml</relativePath>
+        <groupId>org.apache.stratos</groupId>
+        <artifactId>stratos-service-stubs-parent</artifactId>
+        <version>3.0.0-SNAPSHOT</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>
     <version>4.1.1</version>
-    <artifactId>org.wso2.carbon.adc.topologymgt.service.stub</artifactId>
+    <artifactId>org.apache.stratos.adc.topologymgt.service.stub</artifactId>
     <packaging>bundle</packaging>
-    <name>WSO2 Carbon -Topology Management Service Stub</name>
-    <url>http://wso2.org</url>
+    <name>Apache Stratos -Topology Management Service Stub</name>
+    <url>http://apache.org</url>
 
     <build>
         <plugins>            
@@ -49,7 +48,7 @@
                         <configuration>
                             <tasks>
                                 <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
-                                    <arg line="-uri src/main/resources/TopologyMgtService.wsdl -u -uw -o target/generated-code -p org.wso2.carbon.topology.mgt"/>
+                                    <arg line="-uri src/main/resources/TopologyMgtService.wsdl -u -uw -o target/generated-code -p org.apache.stratos.topology.mgt"/>
                                     <classpath refid="maven.dependency.classpath"/>
                                     <classpath refid="maven.compile.classpath"/>
                                     <classpath refid="maven.runtime.classpath"/>
@@ -89,8 +88,8 @@
                         <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
                         <Bundle-Name>${project.artifactId}</Bundle-Name>
                         <Export-Package>
-                            org.wso2.carbon.stratos.topology.mgt.service.impl.*; version=0.0.0,
-                            org.wso2.carbon.topology.mgt.*; version=0.0.0
+                            org.apache.stratos.stratos.topology.mgt.service.impl.*; version=0.0.0,
+                            org.apache.stratos.topology.mgt.*; version=0.0.0
                         </Export-Package>
                         <Import-Package>
                             *;resolution:=optional
@@ -106,6 +105,14 @@
             <groupId>org.apache.axis2.wso2</groupId>
             <artifactId>axis2</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.apache.axis2.wso2</groupId>
+            <artifactId>axis2-client</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>wsdl4j.wso2</groupId>
+            <artifactId>wsdl4j</artifactId>
+        </dependency>
     </dependencies>
 
 </project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3b258d26/service-stubs/org.apache.stratos.load.balance.autoscaler.service.stub/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.load.balance.autoscaler.service.stub/pom.xml b/service-stubs/org.apache.stratos.load.balance.autoscaler.service.stub/pom.xml
new file mode 100644
index 0000000..bd86f60
--- /dev/null
+++ b/service-stubs/org.apache.stratos.load.balance.autoscaler.service.stub/pom.xml
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied.  See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <parent>
+        <groupId>org.apache.stratos</groupId>
+        <artifactId>stratos-service-stubs-parent</artifactId>
+        <version>3.0.0-SNAPSHOT</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.apache.stratos.load.balance.autoscaler.service.stub</artifactId>
+    <packaging>bundle</packaging>
+    <name>Apache Stratos - Autoscaler Service Stub</name>
+    <url>http://apache.org</url>
+
+    <build>
+        <plugins>
+            
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <version>1.1</version>
+                <executions>
+                    <execution>
+                        <id>source-code-generation</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+                                    <arg line="-uri src/main/resources/AutoscalerService.wsdl -u -uw -o target/generated-code                                     -p org.apache.stratos.load.balance.autoscaler.service.stub                                     -ns2p http://services.autoscaler.balance.load.carbon.wso2.org=org.apache.stratos.load.balance.autoscaler.stub.services,http://beans.autoscaler.balance.load.carbon.wso2.org/xsd=org.apache.stratos.load.balance.autoscaler.stub.beans.xsd,"/>
+                                    <classpath refid="maven.dependency.classpath"/>
+                                    <classpath refid="maven.compile.classpath"/>
+                                    <classpath refid="maven.runtime.classpath"/>
+                                </java>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>add-source</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>add-source</goal>
+                        </goals>
+                        <configuration>
+                            <sources>
+                                <source>
+                                    target/generated-code/src
+                                </source>
+                            </sources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                
+                <extensions>true</extensions>
+                <configuration>
+                    <instructions>
+                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                        <Bundle-Name>${project.artifactId}</Bundle-Name>
+                        <Export-Package>
+                            org.apache.stratos.load.balance.autoscaler.service.stub.*; version="${carbon.platform.package.export.version}",
+                            org.apache.stratos.load.balance.autoscaler.service.*; version="${carbon.platform.package.export.version}",
+                        </Export-Package>
+                        <Import-Package>
+                            *;resolution:=optional
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.axis2.wso2</groupId>
+            <artifactId>axis2</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.axis2.wso2</groupId>
+            <artifactId>axis2-client</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>wsdl4j.wso2</groupId>
+            <artifactId>wsdl4j</artifactId>
+        </dependency>
+    </dependencies>
+
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3b258d26/service-stubs/org.apache.stratos.load.balance.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.load.balance.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl b/service-stubs/org.apache.stratos.load.balance.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl
new file mode 100644
index 0000000..953c8ca
--- /dev/null
+++ b/service-stubs/org.apache.stratos.load.balance.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl
@@ -0,0 +1,420 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied.  See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://impl.service.autoscaler.carbon.wso2.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.service.autoscaler.carbon.wso2.org">
+    <wsdl:documentation>AutoscalerService</wsdl:documentation>
+    <wsdl:types>
+        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.service.autoscaler.carbon.wso2.org">
+            <xs:element name="terminateSpiInstance">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="publicIp" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="terminateSpiInstanceResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="terminateLastlySpawnedInstance">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
+                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="terminateLastlySpawnedInstanceResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="terminateInstance">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
+                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="terminateInstanceResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="startSpiInstance">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
+                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
+                        <xs:element minOccurs="0" name="args2" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="startSpiInstanceResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="startInstance">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
+                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="startInstanceResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="initAutoscaler">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="isSpi" type="xs:boolean"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="initAutoscalerResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="getPendingInstanceCount">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
+                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="getPendingInstanceCountResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" type="xs:int"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+        </xs:schema>
+    </wsdl:types>
+    <wsdl:message name="terminateSpiInstanceRequest">
+        <wsdl:part name="parameters" element="ns:terminateSpiInstance"/>
+    </wsdl:message>
+    <wsdl:message name="terminateSpiInstanceResponse">
+        <wsdl:part name="parameters" element="ns:terminateSpiInstanceResponse"/>
+    </wsdl:message>
+    <wsdl:message name="getPendingInstanceCountRequest">
+        <wsdl:part name="parameters" element="ns:getPendingInstanceCount"/>
+    </wsdl:message>
+    <wsdl:message name="getPendingInstanceCountResponse">
+        <wsdl:part name="parameters" element="ns:getPendingInstanceCountResponse"/>
+    </wsdl:message>
+    <wsdl:message name="initAutoscalerRequest">
+        <wsdl:part name="parameters" element="ns:initAutoscaler"/>
+    </wsdl:message>
+    <wsdl:message name="initAutoscalerResponse">
+        <wsdl:part name="parameters" element="ns:initAutoscalerResponse"/>
+    </wsdl:message>
+    <wsdl:message name="terminateInstanceRequest">
+        <wsdl:part name="parameters" element="ns:terminateInstance"/>
+    </wsdl:message>
+    <wsdl:message name="terminateInstanceResponse">
+        <wsdl:part name="parameters" element="ns:terminateInstanceResponse"/>
+    </wsdl:message>
+    <wsdl:message name="startSpiInstanceRequest">
+        <wsdl:part name="parameters" element="ns:startSpiInstance"/>
+    </wsdl:message>
+    <wsdl:message name="startSpiInstanceResponse">
+        <wsdl:part name="parameters" element="ns:startSpiInstanceResponse"/>
+    </wsdl:message>
+    <wsdl:message name="startInstanceRequest">
+        <wsdl:part name="parameters" element="ns:startInstance"/>
+    </wsdl:message>
+    <wsdl:message name="startInstanceResponse">
+        <wsdl:part name="parameters" element="ns:startInstanceResponse"/>
+    </wsdl:message>
+    <wsdl:message name="terminateLastlySpawnedInstanceRequest">
+        <wsdl:part name="parameters" element="ns:terminateLastlySpawnedInstance"/>
+    </wsdl:message>
+    <wsdl:message name="terminateLastlySpawnedInstanceResponse">
+        <wsdl:part name="parameters" element="ns:terminateLastlySpawnedInstanceResponse"/>
+    </wsdl:message>
+    <wsdl:portType name="AutoscalerServicePortType">
+        <wsdl:operation name="terminateSpiInstance">
+            <wsdl:input message="ns:terminateSpiInstanceRequest" wsaw:Action="urn:terminateSpiInstance"/>
+            <wsdl:output message="ns:terminateSpiInstanceResponse" wsaw:Action="urn:terminateSpiInstanceResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="getPendingInstanceCount">
+            <wsdl:input message="ns:getPendingInstanceCountRequest" wsaw:Action="urn:getPendingInstanceCount"/>
+            <wsdl:output message="ns:getPendingInstanceCountResponse" wsaw:Action="urn:getPendingInstanceCountResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="initAutoscaler">
+            <wsdl:input message="ns:initAutoscalerRequest" wsaw:Action="urn:initAutoscaler"/>
+            <wsdl:output message="ns:initAutoscalerResponse" wsaw:Action="urn:initAutoscalerResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="terminateInstance">
+            <wsdl:input message="ns:terminateInstanceRequest" wsaw:Action="urn:terminateInstance"/>
+            <wsdl:output message="ns:terminateInstanceResponse" wsaw:Action="urn:terminateInstanceResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="startSpiInstance">
+            <wsdl:input message="ns:startSpiInstanceRequest" wsaw:Action="urn:startSpiInstance"/>
+            <wsdl:output message="ns:startSpiInstanceResponse" wsaw:Action="urn:startSpiInstanceResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="startInstance">
+            <wsdl:input message="ns:startInstanceRequest" wsaw:Action="urn:startInstance"/>
+            <wsdl:output message="ns:startInstanceResponse" wsaw:Action="urn:startInstanceResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="terminateLastlySpawnedInstance">
+            <wsdl:input message="ns:terminateLastlySpawnedInstanceRequest" wsaw:Action="urn:terminateLastlySpawnedInstance"/>
+            <wsdl:output message="ns:terminateLastlySpawnedInstanceResponse" wsaw:Action="urn:terminateLastlySpawnedInstanceResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="AutoscalerServiceSoap11Binding" type="ns:AutoscalerServicePortType">
+        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+        <wsdl:operation name="terminateSpiInstance">
+            <soap:operation soapAction="urn:terminateSpiInstance" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="getPendingInstanceCount">
+            <soap:operation soapAction="urn:getPendingInstanceCount" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="initAutoscaler">
+            <soap:operation soapAction="urn:initAutoscaler" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="startSpiInstance">
+            <soap:operation soapAction="urn:startSpiInstance" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="terminateInstance">
+            <soap:operation soapAction="urn:terminateInstance" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="startInstance">
+            <soap:operation soapAction="urn:startInstance" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="terminateLastlySpawnedInstance">
+            <soap:operation soapAction="urn:terminateLastlySpawnedInstance" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="AutoscalerServiceSoap12Binding" type="ns:AutoscalerServicePortType">
+        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+        <wsdl:operation name="terminateSpiInstance">
+            <soap12:operation soapAction="urn:terminateSpiInstance" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="getPendingInstanceCount">
+            <soap12:operation soapAction="urn:getPendingInstanceCount" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="initAutoscaler">
+            <soap12:operation soapAction="urn:initAutoscaler" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="startSpiInstance">
+            <soap12:operation soapAction="urn:startSpiInstance" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="terminateInstance">
+            <soap12:operation soapAction="urn:terminateInstance" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="startInstance">
+            <soap12:operation soapAction="urn:startInstance" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="terminateLastlySpawnedInstance">
+            <soap12:operation soapAction="urn:terminateLastlySpawnedInstance" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="AutoscalerServiceHttpBinding" type="ns:AutoscalerServicePortType">
+        <http:binding verb="POST"/>
+        <wsdl:operation name="terminateSpiInstance">
+            <http:operation location="terminateSpiInstance"/>
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="getPendingInstanceCount">
+            <http:operation location="getPendingInstanceCount"/>
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="initAutoscaler">
+            <http:operation location="initAutoscaler"/>
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="startSpiInstance">
+            <http:operation location="startSpiInstance"/>
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="terminateInstance">
+            <http:operation location="terminateInstance"/>
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="startInstance">
+            <http:operation location="startInstance"/>
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="terminateLastlySpawnedInstance">
+            <http:operation location="terminateLastlySpawnedInstance"/>
+            <wsdl:input>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="AutoscalerService">
+        <wsdl:port name="AutoscalerServiceHttpsSoap11Endpoint" binding="ns:AutoscalerServiceSoap11Binding">
+            <soap:address location="https://192.168.1.2:9443/services/AutoscalerService.AutoscalerServiceHttpsSoap11Endpoint/"/>
+        </wsdl:port>
+        <wsdl:port name="AutoscalerServiceHttpSoap11Endpoint" binding="ns:AutoscalerServiceSoap11Binding">
+            <soap:address location="http://192.168.1.2:9763/services/AutoscalerService.AutoscalerServiceHttpSoap11Endpoint/"/>
+        </wsdl:port>
+        <wsdl:port name="AutoscalerServiceHttpSoap12Endpoint" binding="ns:AutoscalerServiceSoap12Binding">
+            <soap12:address location="http://192.168.1.2:9763/services/AutoscalerService.AutoscalerServiceHttpSoap12Endpoint/"/>
+        </wsdl:port>
+        <wsdl:port name="AutoscalerServiceHttpsSoap12Endpoint" binding="ns:AutoscalerServiceSoap12Binding">
+            <soap12:address location="https://192.168.1.2:9443/services/AutoscalerService.AutoscalerServiceHttpsSoap12Endpoint/"/>
+        </wsdl:port>
+        <wsdl:port name="AutoscalerServiceHttpsEndpoint" binding="ns:AutoscalerServiceHttpBinding">
+            <http:address location="https://192.168.1.2:9443/services/AutoscalerService.AutoscalerServiceHttpsEndpoint/"/>
+        </wsdl:port>
+        <wsdl:port name="AutoscalerServiceHttpEndpoint" binding="ns:AutoscalerServiceHttpBinding">
+            <http:address location="http://192.168.1.2:9763/services/AutoscalerService.AutoscalerServiceHttpEndpoint/"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3b258d26/service-stubs/org.wso2.carbon.load.balance.autoscaler.service.stub/4.1.0/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.wso2.carbon.load.balance.autoscaler.service.stub/4.1.0/pom.xml b/service-stubs/org.wso2.carbon.load.balance.autoscaler.service.stub/4.1.0/pom.xml
deleted file mode 100644
index b87e3fb..0000000
--- a/service-stubs/org.wso2.carbon.load.balance.autoscaler.service.stub/4.1.0/pom.xml
+++ /dev/null
@@ -1,111 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements.  See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership.  The ASF licenses this file
-  ~ to you under the Apache License, Version 2.0 (the
-  ~ "License"); you may not use this file except in compliance
-  ~ with the License.  You may obtain a copy of the License at
-  ~
-  ~     http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing,
-  ~ software distributed under the License is distributed on an
-  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~ KIND, either express or implied.  See the License for the
-  ~ specific language governing permissions and limitations
-  ~ under the License.
-  -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.wso2.carbon</groupId>
-        <artifactId>carbon-service-stubs</artifactId>
-        <version>4.1.0</version>
-<relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.carbon.load.balance.autoscaler.service.stub</artifactId>
-    <packaging>bundle</packaging>
-    <name>WSO2 Carbon - Autoscaler Service Stub</name>
-    <url>http://wso2.org</url>
-
-    <build>
-        <plugins>
-            
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <version>1.1</version>
-                <executions>
-                    <execution>
-                        <id>source-code-generation</id>
-                        <phase>process-resources</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
-                                    <arg line="-uri src/main/resources/AutoscalerService.wsdl -u -uw -o target/generated-code                                     -p org.wso2.carbon.load.balance.autoscaler.service.stub                                     -ns2p http://services.autoscaler.balance.load.carbon.wso2.org=org.wso2.carbon.load.balance.autoscaler.stub.services,http://beans.autoscaler.balance.load.carbon.wso2.org/xsd=org.wso2.carbon.load.balance.autoscaler.stub.beans.xsd,"/>
-                                    <classpath refid="maven.dependency.classpath"/>
-                                    <classpath refid="maven.compile.classpath"/>
-                                    <classpath refid="maven.runtime.classpath"/>
-                                </java>
-                            </tasks>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>build-helper-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>add-source</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>add-source</goal>
-                        </goals>
-                        <configuration>
-                            <sources>
-                                <source>
-                                    target/generated-code/src
-                                </source>
-                            </sources>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        <Bundle-Name>${project.artifactId}</Bundle-Name>
-                        <Export-Package>
-                            org.wso2.carbon.load.balance.autoscaler.service.stub.*; version="${carbon.platform.package.export.version}",
-                            org.wso2.carbon.load.balance.autoscaler.service.*; version="${carbon.platform.package.export.version}",
-                        </Export-Package>
-                        <Import-Package>
-                            *;resolution:=optional
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-        </dependency>
-    </dependencies>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/3b258d26/service-stubs/org.wso2.carbon.load.balance.autoscaler.service.stub/4.1.0/src/main/resources/AutoscalerService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.wso2.carbon.load.balance.autoscaler.service.stub/4.1.0/src/main/resources/AutoscalerService.wsdl b/service-stubs/org.wso2.carbon.load.balance.autoscaler.service.stub/4.1.0/src/main/resources/AutoscalerService.wsdl
deleted file mode 100644
index 953c8ca..0000000
--- a/service-stubs/org.wso2.carbon.load.balance.autoscaler.service.stub/4.1.0/src/main/resources/AutoscalerService.wsdl
+++ /dev/null
@@ -1,420 +0,0 @@
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements.  See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership.  The ASF licenses this file
-  ~ to you under the Apache License, Version 2.0 (the
-  ~ "License"); you may not use this file except in compliance
-  ~ with the License.  You may obtain a copy of the License at
-  ~
-  ~     http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing,
-  ~ software distributed under the License is distributed on an
-  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~ KIND, either express or implied.  See the License for the
-  ~ specific language governing permissions and limitations
-  ~ under the License.
-  -->
-
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://impl.service.autoscaler.carbon.wso2.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.service.autoscaler.carbon.wso2.org">
-    <wsdl:documentation>AutoscalerService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.service.autoscaler.carbon.wso2.org">
-            <xs:element name="terminateSpiInstance">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="publicIp" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="terminateSpiInstanceResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="terminateLastlySpawnedInstance">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="terminateLastlySpawnedInstanceResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="terminateInstance">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="terminateInstanceResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="startSpiInstance">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="args2" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="startSpiInstanceResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="startInstance">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="startInstanceResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="initAutoscaler">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="isSpi" type="xs:boolean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="initAutoscalerResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getPendingInstanceCount">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getPendingInstanceCountResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:int"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-        </xs:schema>
-    </wsdl:types>
-    <wsdl:message name="terminateSpiInstanceRequest">
-        <wsdl:part name="parameters" element="ns:terminateSpiInstance"/>
-    </wsdl:message>
-    <wsdl:message name="terminateSpiInstanceResponse">
-        <wsdl:part name="parameters" element="ns:terminateSpiInstanceResponse"/>
-    </wsdl:message>
-    <wsdl:message name="getPendingInstanceCountRequest">
-        <wsdl:part name="parameters" element="ns:getPendingInstanceCount"/>
-    </wsdl:message>
-    <wsdl:message name="getPendingInstanceCountResponse">
-        <wsdl:part name="parameters" element="ns:getPendingInstanceCountResponse"/>
-    </wsdl:message>
-    <wsdl:message name="initAutoscalerRequest">
-        <wsdl:part name="parameters" element="ns:initAutoscaler"/>
-    </wsdl:message>
-    <wsdl:message name="initAutoscalerResponse">
-        <wsdl:part name="parameters" element="ns:initAutoscalerResponse"/>
-    </wsdl:message>
-    <wsdl:message name="terminateInstanceRequest">
-        <wsdl:part name="parameters" element="ns:terminateInstance"/>
-    </wsdl:message>
-    <wsdl:message name="terminateInstanceResponse">
-        <wsdl:part name="parameters" element="ns:terminateInstanceResponse"/>
-    </wsdl:message>
-    <wsdl:message name="startSpiInstanceRequest">
-        <wsdl:part name="parameters" element="ns:startSpiInstance"/>
-    </wsdl:message>
-    <wsdl:message name="startSpiInstanceResponse">
-        <wsdl:part name="parameters" element="ns:startSpiInstanceResponse"/>
-    </wsdl:message>
-    <wsdl:message name="startInstanceRequest">
-        <wsdl:part name="parameters" element="ns:startInstance"/>
-    </wsdl:message>
-    <wsdl:message name="startInstanceResponse">
-        <wsdl:part name="parameters" element="ns:startInstanceResponse"/>
-    </wsdl:message>
-    <wsdl:message name="terminateLastlySpawnedInstanceRequest">
-        <wsdl:part name="parameters" element="ns:terminateLastlySpawnedInstance"/>
-    </wsdl:message>
-    <wsdl:message name="terminateLastlySpawnedInstanceResponse">
-        <wsdl:part name="parameters" element="ns:terminateLastlySpawnedInstanceResponse"/>
-    </wsdl:message>
-    <wsdl:portType name="AutoscalerServicePortType">
-        <wsdl:operation name="terminateSpiInstance">
-            <wsdl:input message="ns:terminateSpiInstanceRequest" wsaw:Action="urn:terminateSpiInstance"/>
-            <wsdl:output message="ns:terminateSpiInstanceResponse" wsaw:Action="urn:terminateSpiInstanceResponse"/>
-        </wsdl:operation>
-        <wsdl:operation name="getPendingInstanceCount">
-            <wsdl:input message="ns:getPendingInstanceCountRequest" wsaw:Action="urn:getPendingInstanceCount"/>
-            <wsdl:output message="ns:getPendingInstanceCountResponse" wsaw:Action="urn:getPendingInstanceCountResponse"/>
-        </wsdl:operation>
-        <wsdl:operation name="initAutoscaler">
-            <wsdl:input message="ns:initAutoscalerRequest" wsaw:Action="urn:initAutoscaler"/>
-            <wsdl:output message="ns:initAutoscalerResponse" wsaw:Action="urn:initAutoscalerResponse"/>
-        </wsdl:operation>
-        <wsdl:operation name="terminateInstance">
-            <wsdl:input message="ns:terminateInstanceRequest" wsaw:Action="urn:terminateInstance"/>
-            <wsdl:output message="ns:terminateInstanceResponse" wsaw:Action="urn:terminateInstanceResponse"/>
-        </wsdl:operation>
-        <wsdl:operation name="startSpiInstance">
-            <wsdl:input message="ns:startSpiInstanceRequest" wsaw:Action="urn:startSpiInstance"/>
-            <wsdl:output message="ns:startSpiInstanceResponse" wsaw:Action="urn:startSpiInstanceResponse"/>
-        </wsdl:operation>
-        <wsdl:operation name="startInstance">
-            <wsdl:input message="ns:startInstanceRequest" wsaw:Action="urn:startInstance"/>
-            <wsdl:output message="ns:startInstanceResponse" wsaw:Action="urn:startInstanceResponse"/>
-        </wsdl:operation>
-        <wsdl:operation name="terminateLastlySpawnedInstance">
-            <wsdl:input message="ns:terminateLastlySpawnedInstanceRequest" wsaw:Action="urn:terminateLastlySpawnedInstance"/>
-            <wsdl:output message="ns:terminateLastlySpawnedInstanceResponse" wsaw:Action="urn:terminateLastlySpawnedInstanceResponse"/>
-        </wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="AutoscalerServiceSoap11Binding" type="ns:AutoscalerServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-        <wsdl:operation name="terminateSpiInstance">
-            <soap:operation soapAction="urn:terminateSpiInstance" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="getPendingInstanceCount">
-            <soap:operation soapAction="urn:getPendingInstanceCount" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="initAutoscaler">
-            <soap:operation soapAction="urn:initAutoscaler" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="startSpiInstance">
-            <soap:operation soapAction="urn:startSpiInstance" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="terminateInstance">
-            <soap:operation soapAction="urn:terminateInstance" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="startInstance">
-            <soap:operation soapAction="urn:startInstance" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="terminateLastlySpawnedInstance">
-            <soap:operation soapAction="urn:terminateLastlySpawnedInstance" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="AutoscalerServiceSoap12Binding" type="ns:AutoscalerServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-        <wsdl:operation name="terminateSpiInstance">
-            <soap12:operation soapAction="urn:terminateSpiInstance" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="getPendingInstanceCount">
-            <soap12:operation soapAction="urn:getPendingInstanceCount" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="initAutoscaler">
-            <soap12:operation soapAction="urn:initAutoscaler" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="startSpiInstance">
-            <soap12:operation soapAction="urn:startSpiInstance" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="terminateInstance">
-            <soap12:operation soapAction="urn:terminateInstance" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="startInstance">
-            <soap12:operation soapAction="urn:startInstance" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="terminateLastlySpawnedInstance">
-            <soap12:operation soapAction="urn:terminateLastlySpawnedInstance" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="AutoscalerServiceHttpBinding" type="ns:AutoscalerServicePortType">
-        <http:binding verb="POST"/>
-        <wsdl:operation name="terminateSpiInstance">
-            <http:operation location="terminateSpiInstance"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="getPendingInstanceCount">
-            <http:operation location="getPendingInstanceCount"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="initAutoscaler">
-            <http:operation location="initAutoscaler"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="startSpiInstance">
-            <http:operation location="startSpiInstance"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="terminateInstance">
-            <http:operation location="terminateInstance"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="startInstance">
-            <http:operation location="startInstance"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="terminateLastlySpawnedInstance">
-            <http:operation location="terminateLastlySpawnedInstance"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:input>
-            <wsdl:output>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:output>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:service name="AutoscalerService">
-        <wsdl:port name="AutoscalerServiceHttpsSoap11Endpoint" binding="ns:AutoscalerServiceSoap11Binding">
-            <soap:address location="https://192.168.1.2:9443/services/AutoscalerService.AutoscalerServiceHttpsSoap11Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="AutoscalerServiceHttpSoap11Endpoint" binding="ns:AutoscalerServiceSoap11Binding">
-            <soap:address location="http://192.168.1.2:9763/services/AutoscalerService.AutoscalerServiceHttpSoap11Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="AutoscalerServiceHttpSoap12Endpoint" binding="ns:AutoscalerServiceSoap12Binding">
-            <soap12:address location="http://192.168.1.2:9763/services/AutoscalerService.AutoscalerServiceHttpSoap12Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="AutoscalerServiceHttpsSoap12Endpoint" binding="ns:AutoscalerServiceSoap12Binding">
-            <soap12:address location="https://192.168.1.2:9443/services/AutoscalerService.AutoscalerServiceHttpsSoap12Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="AutoscalerServiceHttpsEndpoint" binding="ns:AutoscalerServiceHttpBinding">
-            <http:address location="https://192.168.1.2:9443/services/AutoscalerService.AutoscalerServiceHttpsEndpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="AutoscalerServiceHttpEndpoint" binding="ns:AutoscalerServiceHttpBinding">
-            <http:address location="http://192.168.1.2:9763/services/AutoscalerService.AutoscalerServiceHttpEndpoint/"/>
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>
\ No newline at end of file