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/15 13:05:12 UTC

git commit: Stratos tenant activity stub refactor

Updated Branches:
  refs/heads/master 6d1da26a2 -> 74fa3d146


Stratos tenant activity stub refactor

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/74fa3d14
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/74fa3d14
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/74fa3d14

Branch: refs/heads/master
Commit: 74fa3d1465ee143bca63053714e7dd359c20141b
Parents: 6d1da26
Author: Udara Liyanage <ud...@wso2.com>
Authored: Fri Jul 12 19:29:01 2013 +0530
Committer: Lakmal Warusawithana <la...@wso2.com>
Committed: Mon Jul 15 16:34:34 2013 +0530

----------------------------------------------------------------------
 .../pom.xml                                     | 118 ++++++
 .../main/resources/TenantActivityService.wsdl   | 259 ++++++++++++
 .../main/resources/TenantMonitoringService.wsdl | 389 +++++++++++++++++++
 .../4.1.0/pom.xml                               | 114 ------
 .../main/resources/TenantActivityService.wsdl   | 259 ------------
 .../main/resources/TenantMonitoringService.wsdl | 389 -------------------
 6 files changed, 766 insertions(+), 762 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/74fa3d14/service-stubs/org.apache.stratos.tenant.activity.stub/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.tenant.activity.stub/pom.xml b/service-stubs/org.apache.stratos.tenant.activity.stub/pom.xml
new file mode 100644
index 0000000..5a06100
--- /dev/null
+++ b/service-stubs/org.apache.stratos.tenant.activity.stub/pom.xml
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ ~
+ ~ WSO2 Inc. 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>
+	<relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.apache.stratos.tenant.activity.stub</artifactId>
+    <packaging>bundle</packaging>
+    <name>Apache Stratos - Tenant activity 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/TenantActivityService.wsdl -u -uw -o target/generated-code
+                                    -p org.apache.stratos.tenant.activity.stub
+                                    -ns2p http://services.activity.tenant.stratos.apache.org=org.apache.stratos.tenant.activity.stub.services,http://beans.activity.tenant.stratos.apache.org/xsd=org.apache.stratos.tenant.activity.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.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.tenant.activity.stub.*; version="${carbon.platform.package.export.version}"
+                        </Export-Package>
+                        <Import-Package>
+			    			!org.apache.stratos.tenant.activity.stub.*,
+                            *;resolution:=optional
+                        </Import-Package>
+                    </instructions>
+                </configuration>
+            </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>
+        </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>
+    </dependencies>
+
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/74fa3d14/service-stubs/org.apache.stratos.tenant.activity.stub/src/main/resources/TenantActivityService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.tenant.activity.stub/src/main/resources/TenantActivityService.wsdl b/service-stubs/org.apache.stratos.tenant.activity.stub/src/main/resources/TenantActivityService.wsdl
new file mode 100644
index 0000000..a7f0d5b
--- /dev/null
+++ b/service-stubs/org.apache.stratos.tenant.activity.stub/src/main/resources/TenantActivityService.wsdl
@@ -0,0 +1,259 @@
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://services.activitiy.tenanat.stratos.apache.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:ax2322="http://beans.activitiy.tenanat.stratos.apache.org/xsd" 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://services.activitiy.tenanat.stratos.apache.org">
+    <wsdl:documentation>TenantActivityService</wsdl:documentation>
+    <wsdl:types>
+        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://beans.activitiy.tenanat.stratos.apache.org/xsd">
+            <xs:complexType name="PaginatedTenantDataBean">
+                <xs:sequence>
+                    <xs:element minOccurs="0" name="numberOfPages" type="xs:int" />
+                    <xs:element maxOccurs="unbounded" minOccurs="0" name="tenantInfoBeans" nillable="true" type="ax2322:TenantDataBean" />
+                </xs:sequence>
+
+            </xs:complexType>
+            <xs:complexType name="TenantDataBean">
+                <xs:sequence>
+                    <xs:element minOccurs="0" name="active" type="xs:boolean" />
+                    <xs:element minOccurs="0" name="adminName" nillable="true" type="xs:string" />
+                    <xs:element minOccurs="0" name="domain" nillable="true" type="xs:string" />
+                    <xs:element minOccurs="0" name="email" nillable="true" type="xs:string" />
+                    <xs:element minOccurs="0" name="id" type="xs:int" />
+                </xs:sequence>
+
+            </xs:complexType>
+        </xs:schema>
+        <xs:schema xmlns:ax2323="http://beans.activitiy.tenanat.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.activitiy.tenanat.stratos.apache.org">
+            <xs:import namespace="http://beans.activitiy.tenanat.stratos.apache.org/xsd" />
+            <xs:element name="TenantActivityServiceException">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="TenantActivityServiceException" nillable="true" type="ns:Exception" />
+                    </xs:sequence>
+
+                </xs:complexType>
+            </xs:element>
+            <xs:complexType name="Exception">
+                <xs:sequence>
+                    <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
+                </xs:sequence>
+            </xs:complexType>
+            <xs:element name="retrievePaginatedActiveTenants">
+                <xs:complexType>
+
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="pageNumber" type="xs:int" />
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="retrievePaginatedActiveTenantsResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" nillable="true" type="ax2322:PaginatedTenantDataBean" />
+
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="isActiveTenantOnService">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="domainName" nillable="true" type="xs:string" />
+                    </xs:sequence>
+                </xs:complexType>
+
+            </xs:element>
+            <xs:element name="isActiveTenantOnServiceResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" type="xs:boolean" />
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="getActiveTenantCount">
+
+                <xs:complexType>
+                    <xs:sequence />
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="getActiveTenantCountResponse">
+                <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="isActiveTenantOnServiceRequest">
+        <wsdl:part name="parameters" element="ns:isActiveTenantOnService" />
+    </wsdl:message>
+    <wsdl:message name="isActiveTenantOnServiceResponse">
+        <wsdl:part name="parameters" element="ns:isActiveTenantOnServiceResponse" />
+
+    </wsdl:message>
+    <wsdl:message name="TenantActivityServiceException">
+        <wsdl:part name="parameters" element="ns:TenantActivityServiceException" />
+    </wsdl:message>
+    <wsdl:message name="retrievePaginatedActiveTenantsRequest">
+        <wsdl:part name="parameters" element="ns:retrievePaginatedActiveTenants" />
+    </wsdl:message>
+    <wsdl:message name="retrievePaginatedActiveTenantsResponse">
+        <wsdl:part name="parameters" element="ns:retrievePaginatedActiveTenantsResponse" />
+
+    </wsdl:message>
+    <wsdl:message name="getActiveTenantCountRequest">
+        <wsdl:part name="parameters" element="ns:getActiveTenantCount" />
+    </wsdl:message>
+    <wsdl:message name="getActiveTenantCountResponse">
+        <wsdl:part name="parameters" element="ns:getActiveTenantCountResponse" />
+    </wsdl:message>
+    <wsdl:portType name="TenantActivityServicePortType">
+        <wsdl:operation name="isActiveTenantOnService">
+
+            <wsdl:input message="ns:isActiveTenantOnServiceRequest" wsaw:Action="urn:isActiveTenantOnService" />
+            <wsdl:output message="ns:isActiveTenantOnServiceResponse" wsaw:Action="urn:isActiveTenantOnServiceResponse" />
+            <wsdl:fault message="ns:TenantActivityServiceException" name="TenantActivityServiceException" wsaw:Action="urn:isActiveTenantOnServiceTenantActivityServiceException" />
+        </wsdl:operation>
+        <wsdl:operation name="retrievePaginatedActiveTenants">
+            <wsdl:input message="ns:retrievePaginatedActiveTenantsRequest" wsaw:Action="urn:retrievePaginatedActiveTenants" />
+            <wsdl:output message="ns:retrievePaginatedActiveTenantsResponse" wsaw:Action="urn:retrievePaginatedActiveTenantsResponse" />
+            <wsdl:fault message="ns:TenantActivityServiceException" name="TenantActivityServiceException" wsaw:Action="urn:retrievePaginatedActiveTenantsTenantActivityServiceException" />
+        </wsdl:operation>
+
+        <wsdl:operation name="getActiveTenantCount">
+            <wsdl:input message="ns:getActiveTenantCountRequest" wsaw:Action="urn:getActiveTenantCount" />
+            <wsdl:output message="ns:getActiveTenantCountResponse" wsaw:Action="urn:getActiveTenantCountResponse" />
+            <wsdl:fault message="ns:TenantActivityServiceException" name="TenantActivityServiceException" wsaw:Action="urn:getActiveTenantCountTenantActivityServiceException" />
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="TenantActivityServiceSoap11Binding" type="ns:TenantActivityServicePortType">
+        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+        <wsdl:operation name="isActiveTenantOnService">
+
+            <soap:operation soapAction="urn:isActiveTenantOnService" style="document" />
+            <wsdl:input>
+                <soap:body use="literal" />
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal" />
+            </wsdl:output>
+            <wsdl:fault name="TenantActivityServiceException">
+                <soap:fault use="literal" name="TenantActivityServiceException" />
+
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="retrievePaginatedActiveTenants">
+            <soap:operation soapAction="urn:retrievePaginatedActiveTenants" style="document" />
+            <wsdl:input>
+                <soap:body use="literal" />
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal" />
+
+            </wsdl:output>
+            <wsdl:fault name="TenantActivityServiceException">
+                <soap:fault use="literal" name="TenantActivityServiceException" />
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="getActiveTenantCount">
+            <soap:operation soapAction="urn:getActiveTenantCount" style="document" />
+            <wsdl:input>
+                <soap:body use="literal" />
+
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal" />
+            </wsdl:output>
+            <wsdl:fault name="TenantActivityServiceException">
+                <soap:fault use="literal" name="TenantActivityServiceException" />
+            </wsdl:fault>
+        </wsdl:operation>
+    </wsdl:binding>
+
+    <wsdl:binding name="TenantActivityServiceSoap12Binding" type="ns:TenantActivityServicePortType">
+        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+        <wsdl:operation name="isActiveTenantOnService">
+            <soap12:operation soapAction="urn:isActiveTenantOnService" style="document" />
+            <wsdl:input>
+                <soap12:body use="literal" />
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal" />
+
+            </wsdl:output>
+            <wsdl:fault name="TenantActivityServiceException">
+                <soap12:fault use="literal" name="TenantActivityServiceException" />
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="retrievePaginatedActiveTenants">
+            <soap12:operation soapAction="urn:retrievePaginatedActiveTenants" style="document" />
+            <wsdl:input>
+                <soap12:body use="literal" />
+
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal" />
+            </wsdl:output>
+            <wsdl:fault name="TenantActivityServiceException">
+                <soap12:fault use="literal" name="TenantActivityServiceException" />
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="getActiveTenantCount">
+
+            <soap12:operation soapAction="urn:getActiveTenantCount" style="document" />
+            <wsdl:input>
+                <soap12:body use="literal" />
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal" />
+            </wsdl:output>
+            <wsdl:fault name="TenantActivityServiceException">
+                <soap12:fault use="literal" name="TenantActivityServiceException" />
+
+            </wsdl:fault>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="TenantActivityServiceHttpBinding" type="ns:TenantActivityServicePortType">
+        <http:binding verb="POST" />
+        <wsdl:operation name="isActiveTenantOnService">
+            <http:operation location="isActiveTenantOnService" />
+            <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="retrievePaginatedActiveTenants">
+            <http:operation location="retrievePaginatedActiveTenants" />
+            <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="getActiveTenantCount">
+            <http:operation location="getActiveTenantCount" />
+            <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="TenantActivityService">
+        <wsdl:port name="TenantActivityServiceHttpsSoap11Endpoint" binding="ns:TenantActivityServiceSoap11Binding">
+            <soap:address location="https://cloud-test.wso2.com:9443/services/TenantActivityService.TenantActivityServiceHttpsSoap11Endpoint/" />
+
+        </wsdl:port>
+        <wsdl:port name="TenantActivityServiceHttpsSoap12Endpoint" binding="ns:TenantActivityServiceSoap12Binding">
+            <soap12:address location="https://cloud-test.wso2.com:9443/services/TenantActivityService.TenantActivityServiceHttpsSoap12Endpoint/" />
+        </wsdl:port>
+        <wsdl:port name="TenantActivityServiceHttpsEndpoint" binding="ns:TenantActivityServiceHttpBinding">
+            <http:address location="https://cloud-test.wso2.com:9443/services/TenantActivityService.TenantActivityServiceHttpsEndpoint/" />
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/74fa3d14/service-stubs/org.apache.stratos.tenant.activity.stub/src/main/resources/TenantMonitoringService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.tenant.activity.stub/src/main/resources/TenantMonitoringService.wsdl b/service-stubs/org.apache.stratos.tenant.activity.stub/src/main/resources/TenantMonitoringService.wsdl
new file mode 100644
index 0000000..4d44dca
--- /dev/null
+++ b/service-stubs/org.apache.stratos.tenant.activity.stub/src/main/resources/TenantMonitoringService.wsdl
@@ -0,0 +1,389 @@
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://services.activity.tenanat.stratos.apache.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:ax2322="http://beans.activity.tenanat.stratos.apache.org/xsd" 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://services.activity.tenanat.stratos.apache.org">
+    <wsdl:documentation>TenantMonitoringService</wsdl:documentation>
+    <wsdl:types>
+        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://beans.activity.tenanat.stratos.apache.org/xsd">
+            <xs:complexType name="PaginatedTenantDataBean">
+                <xs:sequence>
+                    <xs:element minOccurs="0" name="numberOfPages" type="xs:int" />
+                    <xs:element maxOccurs="unbounded" minOccurs="0" name="tenantInfoBeans" nillable="true" type="ax2322:TenantDataBean" />
+                </xs:sequence>
+
+            </xs:complexType>
+            <xs:complexType name="TenantDataBean">
+                <xs:sequence>
+                    <xs:element minOccurs="0" name="active" type="xs:boolean" />
+                    <xs:element minOccurs="0" name="adminFirstName" nillable="true" type="xs:string" />
+                    <xs:element minOccurs="0" name="adminFullName" nillable="true" type="xs:string" />
+                    <xs:element minOccurs="0" name="adminLastName" nillable="true" type="xs:string" />
+                    <xs:element minOccurs="0" name="adminName" nillable="true" type="xs:string" />
+                    <xs:element minOccurs="0" name="adminPassword" nillable="true" type="xs:string" />
+
+                    <xs:element minOccurs="0" name="createdDate" nillable="true" type="xs:date" />
+                    <xs:element minOccurs="0" name="domain" nillable="true" type="xs:string" />
+                    <xs:element minOccurs="0" name="email" nillable="true" type="xs:string" />
+                    <xs:element minOccurs="0" name="id" type="xs:int" />
+                </xs:sequence>
+            </xs:complexType>
+        </xs:schema>
+        <xs:schema xmlns:ax2323="http://beans.activity.tenanat.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.activity.tenanat.stratos.apache.org">
+            <xs:import namespace="http://beans.activity.tenanat.stratos.apache.org/xsd" />
+
+            <xs:element name="TenantMonitoringServiceException">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="TenantMonitoringServiceException" nillable="true" type="ns:Exception" />
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:complexType name="Exception">
+                <xs:sequence>
+
+                    <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
+                </xs:sequence>
+            </xs:complexType>
+            <xs:element name="retrievePaginatedActiveTenants">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="pageNumber" type="xs:int" />
+                    </xs:sequence>
+                </xs:complexType>
+
+            </xs:element>
+            <xs:element name="retrievePaginatedActiveTenantsResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" nillable="true" type="ax2322:PaginatedTenantDataBean" />
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="isActiveTenantOnService">
+
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="domainName" nillable="true" type="xs:string" />
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="isActiveTenantOnServiceResponse">
+                <xs:complexType>
+                    <xs:sequence>
+
+                        <xs:element minOccurs="0" name="return" type="xs:boolean" />
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="getAllActiveTenantList">
+                <xs:complexType>
+                    <xs:sequence />
+                </xs:complexType>
+            </xs:element>
+
+            <xs:element name="getAllActiveTenantListResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax2322:TenantDataBean" />
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="getActiveTenantList">
+                <xs:complexType>
+
+                    <xs:sequence />
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="getActiveTenantListResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string" />
+                    </xs:sequence>
+                </xs:complexType>
+
+            </xs:element>
+            <xs:element name="getActiveTenantCount">
+                <xs:complexType>
+                    <xs:sequence />
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="getActiveTenantCountResponse">
+                <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="isActiveTenantOnServiceRequest">
+        <wsdl:part name="parameters" element="ns:isActiveTenantOnService" />
+    </wsdl:message>
+
+    <wsdl:message name="isActiveTenantOnServiceResponse">
+        <wsdl:part name="parameters" element="ns:isActiveTenantOnServiceResponse" />
+    </wsdl:message>
+    <wsdl:message name="TenantMonitoringServiceException">
+        <wsdl:part name="parameters" element="ns:TenantMonitoringServiceException" />
+    </wsdl:message>
+    <wsdl:message name="retrievePaginatedActiveTenantsRequest">
+        <wsdl:part name="parameters" element="ns:retrievePaginatedActiveTenants" />
+    </wsdl:message>
+
+    <wsdl:message name="retrievePaginatedActiveTenantsResponse">
+        <wsdl:part name="parameters" element="ns:retrievePaginatedActiveTenantsResponse" />
+    </wsdl:message>
+    <wsdl:message name="getActiveTenantListRequest">
+        <wsdl:part name="parameters" element="ns:getActiveTenantList" />
+    </wsdl:message>
+    <wsdl:message name="getActiveTenantListResponse">
+        <wsdl:part name="parameters" element="ns:getActiveTenantListResponse" />
+    </wsdl:message>
+
+    <wsdl:message name="getAllActiveTenantListRequest">
+        <wsdl:part name="parameters" element="ns:getAllActiveTenantList" />
+    </wsdl:message>
+    <wsdl:message name="getAllActiveTenantListResponse">
+        <wsdl:part name="parameters" element="ns:getAllActiveTenantListResponse" />
+    </wsdl:message>
+    <wsdl:message name="getActiveTenantCountRequest">
+        <wsdl:part name="parameters" element="ns:getActiveTenantCount" />
+    </wsdl:message>
+
+    <wsdl:message name="getActiveTenantCountResponse">
+        <wsdl:part name="parameters" element="ns:getActiveTenantCountResponse" />
+    </wsdl:message>
+    <wsdl:portType name="TenantMonitoringServicePortType">
+        <wsdl:operation name="isActiveTenantOnService">
+            <wsdl:input message="ns:isActiveTenantOnServiceRequest" wsaw:Action="urn:isActiveTenantOnService" />
+            <wsdl:output message="ns:isActiveTenantOnServiceResponse" wsaw:Action="urn:isActiveTenantOnServiceResponse" />
+            <wsdl:fault message="ns:TenantMonitoringServiceException" name="TenantMonitoringServiceException" wsaw:Action="urn:isActiveTenantOnServiceTenantMonitoringServiceException" />
+        </wsdl:operation>
+
+        <wsdl:operation name="retrievePaginatedActiveTenants">
+            <wsdl:input message="ns:retrievePaginatedActiveTenantsRequest" wsaw:Action="urn:retrievePaginatedActiveTenants" />
+            <wsdl:output message="ns:retrievePaginatedActiveTenantsResponse" wsaw:Action="urn:retrievePaginatedActiveTenantsResponse" />
+            <wsdl:fault message="ns:TenantMonitoringServiceException" name="TenantMonitoringServiceException" wsaw:Action="urn:retrievePaginatedActiveTenantsTenantMonitoringServiceException" />
+        </wsdl:operation>
+        <wsdl:operation name="getActiveTenantList">
+            <wsdl:input message="ns:getActiveTenantListRequest" wsaw:Action="urn:getActiveTenantList" />
+            <wsdl:output message="ns:getActiveTenantListResponse" wsaw:Action="urn:getActiveTenantListResponse" />
+            <wsdl:fault message="ns:TenantMonitoringServiceException" name="TenantMonitoringServiceException" wsaw:Action="urn:getActiveTenantListTenantMonitoringServiceException" />
+
+        </wsdl:operation>
+        <wsdl:operation name="getAllActiveTenantList">
+            <wsdl:input message="ns:getAllActiveTenantListRequest" wsaw:Action="urn:getAllActiveTenantList" />
+            <wsdl:output message="ns:getAllActiveTenantListResponse" wsaw:Action="urn:getAllActiveTenantListResponse" />
+            <wsdl:fault message="ns:TenantMonitoringServiceException" name="TenantMonitoringServiceException" wsaw:Action="urn:getAllActiveTenantListTenantMonitoringServiceException" />
+        </wsdl:operation>
+        <wsdl:operation name="getActiveTenantCount">
+            <wsdl:input message="ns:getActiveTenantCountRequest" wsaw:Action="urn:getActiveTenantCount" />
+            <wsdl:output message="ns:getActiveTenantCountResponse" wsaw:Action="urn:getActiveTenantCountResponse" />
+
+            <wsdl:fault message="ns:TenantMonitoringServiceException" name="TenantMonitoringServiceException" wsaw:Action="urn:getActiveTenantCountTenantMonitoringServiceException" />
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="TenantMonitoringServiceSoap11Binding" type="ns:TenantMonitoringServicePortType">
+        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+        <wsdl:operation name="isActiveTenantOnService">
+            <soap:operation soapAction="urn:isActiveTenantOnService" style="document" />
+            <wsdl:input>
+                <soap:body use="literal" />
+
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal" />
+            </wsdl:output>
+            <wsdl:fault name="TenantMonitoringServiceException">
+                <soap:fault use="literal" name="TenantMonitoringServiceException" />
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="retrievePaginatedActiveTenants">
+
+            <soap:operation soapAction="urn:retrievePaginatedActiveTenants" style="document" />
+            <wsdl:input>
+                <soap:body use="literal" />
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal" />
+            </wsdl:output>
+            <wsdl:fault name="TenantMonitoringServiceException">
+                <soap:fault use="literal" name="TenantMonitoringServiceException" />
+
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="getActiveTenantList">
+            <soap:operation soapAction="urn:getActiveTenantList" style="document" />
+            <wsdl:input>
+                <soap:body use="literal" />
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal" />
+
+            </wsdl:output>
+            <wsdl:fault name="TenantMonitoringServiceException">
+                <soap:fault use="literal" name="TenantMonitoringServiceException" />
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="getAllActiveTenantList">
+            <soap:operation soapAction="urn:getAllActiveTenantList" style="document" />
+            <wsdl:input>
+                <soap:body use="literal" />
+
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal" />
+            </wsdl:output>
+            <wsdl:fault name="TenantMonitoringServiceException">
+                <soap:fault use="literal" name="TenantMonitoringServiceException" />
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="getActiveTenantCount">
+
+            <soap:operation soapAction="urn:getActiveTenantCount" style="document" />
+            <wsdl:input>
+                <soap:body use="literal" />
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal" />
+            </wsdl:output>
+            <wsdl:fault name="TenantMonitoringServiceException">
+                <soap:fault use="literal" name="TenantMonitoringServiceException" />
+
+            </wsdl:fault>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="TenantMonitoringServiceSoap12Binding" type="ns:TenantMonitoringServicePortType">
+        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+        <wsdl:operation name="isActiveTenantOnService">
+            <soap12:operation soapAction="urn:isActiveTenantOnService" style="document" />
+            <wsdl:input>
+                <soap12:body use="literal" />
+
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal" />
+            </wsdl:output>
+            <wsdl:fault name="TenantMonitoringServiceException">
+                <soap12:fault use="literal" name="TenantMonitoringServiceException" />
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="retrievePaginatedActiveTenants">
+
+            <soap12:operation soapAction="urn:retrievePaginatedActiveTenants" style="document" />
+            <wsdl:input>
+                <soap12:body use="literal" />
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal" />
+            </wsdl:output>
+            <wsdl:fault name="TenantMonitoringServiceException">
+                <soap12:fault use="literal" name="TenantMonitoringServiceException" />
+
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="getActiveTenantList">
+            <soap12:operation soapAction="urn:getActiveTenantList" style="document" />
+            <wsdl:input>
+                <soap12:body use="literal" />
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal" />
+
+            </wsdl:output>
+            <wsdl:fault name="TenantMonitoringServiceException">
+                <soap12:fault use="literal" name="TenantMonitoringServiceException" />
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="getAllActiveTenantList">
+            <soap12:operation soapAction="urn:getAllActiveTenantList" style="document" />
+            <wsdl:input>
+                <soap12:body use="literal" />
+
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal" />
+            </wsdl:output>
+            <wsdl:fault name="TenantMonitoringServiceException">
+                <soap12:fault use="literal" name="TenantMonitoringServiceException" />
+            </wsdl:fault>
+        </wsdl:operation>
+        <wsdl:operation name="getActiveTenantCount">
+
+            <soap12:operation soapAction="urn:getActiveTenantCount" style="document" />
+            <wsdl:input>
+                <soap12:body use="literal" />
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal" />
+            </wsdl:output>
+            <wsdl:fault name="TenantMonitoringServiceException">
+                <soap12:fault use="literal" name="TenantMonitoringServiceException" />
+
+            </wsdl:fault>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="TenantMonitoringServiceHttpBinding" type="ns:TenantMonitoringServicePortType">
+        <http:binding verb="POST" />
+        <wsdl:operation name="isActiveTenantOnService">
+            <http:operation location="isActiveTenantOnService" />
+            <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="retrievePaginatedActiveTenants">
+            <http:operation location="retrievePaginatedActiveTenants" />
+            <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="getActiveTenantList">
+            <http:operation location="getActiveTenantList" />
+            <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="getAllActiveTenantList">
+            <http:operation location="getAllActiveTenantList" />
+            <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="getActiveTenantCount">
+            <http:operation location="getActiveTenantCount" />
+            <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="TenantMonitoringService">
+        <wsdl:port name="TenantMonitoringServiceHttpsSoap11Endpoint" binding="ns:TenantMonitoringServiceSoap11Binding">
+            <soap:address location="https://cloud-test.wso2.com:9443/services/TenantMonitoringService.TenantMonitoringServiceHttpsSoap11Endpoint/" />
+
+        </wsdl:port>
+        <wsdl:port name="TenantMonitoringServiceHttpsSoap12Endpoint" binding="ns:TenantMonitoringServiceSoap12Binding">
+            <soap12:address location="https://cloud-test.wso2.com:9443/services/TenantMonitoringService.TenantMonitoringServiceHttpsSoap12Endpoint/" />
+        </wsdl:port>
+        <wsdl:port name="TenantMonitoringServiceHttpsEndpoint" binding="ns:TenantMonitoringServiceHttpBinding">
+            <http:address location="https://cloud-test.wso2.com:9443/services/TenantMonitoringService.TenantMonitoringServiceHttpsEndpoint/" />
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/74fa3d14/service-stubs/org.wso2.carbon.tenant.activity.stub/4.1.0/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.wso2.carbon.tenant.activity.stub/4.1.0/pom.xml b/service-stubs/org.wso2.carbon.tenant.activity.stub/4.1.0/pom.xml
deleted file mode 100644
index 81953e0..0000000
--- a/service-stubs/org.wso2.carbon.tenant.activity.stub/4.1.0/pom.xml
+++ /dev/null
@@ -1,114 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
- ~
- ~ WSO2 Inc. 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.tenant.activity.stub</artifactId>
-    <packaging>bundle</packaging>
-    <name>WSO2 Carbon - Tenant activity 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/TenantActivityService.wsdl -u -uw -o target/generated-code
-                                    -p org.wso2.carbon.tenant.activity.stub
-                                    -ns2p http://services.activity.tenant.carbon.wso2.org=org.wso2.carbon.tenant.activity.stub.services,http://beans.activity.tenant.carbon.wso2.org/xsd=org.wso2.carbon.tenant.activity.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.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.tenant.activity.stub.*; version="${carbon.platform.package.export.version}"
-                        </Export-Package>
-                        <Import-Package>
-			    			!org.wso2.carbon.tenant.activity.stub.*,
-                            *;resolution:=optional
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </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>
-        </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/74fa3d14/service-stubs/org.wso2.carbon.tenant.activity.stub/4.1.0/src/main/resources/TenantActivityService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.wso2.carbon.tenant.activity.stub/4.1.0/src/main/resources/TenantActivityService.wsdl b/service-stubs/org.wso2.carbon.tenant.activity.stub/4.1.0/src/main/resources/TenantActivityService.wsdl
deleted file mode 100644
index b4db55d..0000000
--- a/service-stubs/org.wso2.carbon.tenant.activity.stub/4.1.0/src/main/resources/TenantActivityService.wsdl
+++ /dev/null
@@ -1,259 +0,0 @@
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://services.activity.tenant.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:ax2322="http://beans.activity.tenant.carbon.wso2.org/xsd" 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://services.activity.tenant.carbon.wso2.org">
-    <wsdl:documentation>TenantActivityService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://beans.activity.tenant.carbon.wso2.org/xsd">
-            <xs:complexType name="PaginatedTenantDataBean">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="numberOfPages" type="xs:int" />
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="tenantInfoBeans" nillable="true" type="ax2322:TenantDataBean" />
-                </xs:sequence>
-
-            </xs:complexType>
-            <xs:complexType name="TenantDataBean">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="active" type="xs:boolean" />
-                    <xs:element minOccurs="0" name="adminName" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="domain" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="email" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="id" type="xs:int" />
-                </xs:sequence>
-
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax2323="http://beans.activity.tenant.carbon.wso2.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.activity.tenant.carbon.wso2.org">
-            <xs:import namespace="http://beans.activity.tenant.carbon.wso2.org/xsd" />
-            <xs:element name="TenantActivityServiceException">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="TenantActivityServiceException" nillable="true" type="ns:Exception" />
-                    </xs:sequence>
-
-                </xs:complexType>
-            </xs:element>
-            <xs:complexType name="Exception">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
-                </xs:sequence>
-            </xs:complexType>
-            <xs:element name="retrievePaginatedActiveTenants">
-                <xs:complexType>
-
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="pageNumber" type="xs:int" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrievePaginatedActiveTenantsResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" nillable="true" type="ax2322:PaginatedTenantDataBean" />
-
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="isActiveTenantOnService">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domainName" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-
-            </xs:element>
-            <xs:element name="isActiveTenantOnServiceResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" type="xs:boolean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getActiveTenantCount">
-
-                <xs:complexType>
-                    <xs:sequence />
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getActiveTenantCountResponse">
-                <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="isActiveTenantOnServiceRequest">
-        <wsdl:part name="parameters" element="ns:isActiveTenantOnService" />
-    </wsdl:message>
-    <wsdl:message name="isActiveTenantOnServiceResponse">
-        <wsdl:part name="parameters" element="ns:isActiveTenantOnServiceResponse" />
-
-    </wsdl:message>
-    <wsdl:message name="TenantActivityServiceException">
-        <wsdl:part name="parameters" element="ns:TenantActivityServiceException" />
-    </wsdl:message>
-    <wsdl:message name="retrievePaginatedActiveTenantsRequest">
-        <wsdl:part name="parameters" element="ns:retrievePaginatedActiveTenants" />
-    </wsdl:message>
-    <wsdl:message name="retrievePaginatedActiveTenantsResponse">
-        <wsdl:part name="parameters" element="ns:retrievePaginatedActiveTenantsResponse" />
-
-    </wsdl:message>
-    <wsdl:message name="getActiveTenantCountRequest">
-        <wsdl:part name="parameters" element="ns:getActiveTenantCount" />
-    </wsdl:message>
-    <wsdl:message name="getActiveTenantCountResponse">
-        <wsdl:part name="parameters" element="ns:getActiveTenantCountResponse" />
-    </wsdl:message>
-    <wsdl:portType name="TenantActivityServicePortType">
-        <wsdl:operation name="isActiveTenantOnService">
-
-            <wsdl:input message="ns:isActiveTenantOnServiceRequest" wsaw:Action="urn:isActiveTenantOnService" />
-            <wsdl:output message="ns:isActiveTenantOnServiceResponse" wsaw:Action="urn:isActiveTenantOnServiceResponse" />
-            <wsdl:fault message="ns:TenantActivityServiceException" name="TenantActivityServiceException" wsaw:Action="urn:isActiveTenantOnServiceTenantActivityServiceException" />
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedActiveTenants">
-            <wsdl:input message="ns:retrievePaginatedActiveTenantsRequest" wsaw:Action="urn:retrievePaginatedActiveTenants" />
-            <wsdl:output message="ns:retrievePaginatedActiveTenantsResponse" wsaw:Action="urn:retrievePaginatedActiveTenantsResponse" />
-            <wsdl:fault message="ns:TenantActivityServiceException" name="TenantActivityServiceException" wsaw:Action="urn:retrievePaginatedActiveTenantsTenantActivityServiceException" />
-        </wsdl:operation>
-
-        <wsdl:operation name="getActiveTenantCount">
-            <wsdl:input message="ns:getActiveTenantCountRequest" wsaw:Action="urn:getActiveTenantCount" />
-            <wsdl:output message="ns:getActiveTenantCountResponse" wsaw:Action="urn:getActiveTenantCountResponse" />
-            <wsdl:fault message="ns:TenantActivityServiceException" name="TenantActivityServiceException" wsaw:Action="urn:getActiveTenantCountTenantActivityServiceException" />
-        </wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="TenantActivityServiceSoap11Binding" type="ns:TenantActivityServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
-        <wsdl:operation name="isActiveTenantOnService">
-
-            <soap:operation soapAction="urn:isActiveTenantOnService" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="TenantActivityServiceException">
-                <soap:fault use="literal" name="TenantActivityServiceException" />
-
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedActiveTenants">
-            <soap:operation soapAction="urn:retrievePaginatedActiveTenants" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-
-            </wsdl:output>
-            <wsdl:fault name="TenantActivityServiceException">
-                <soap:fault use="literal" name="TenantActivityServiceException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getActiveTenantCount">
-            <soap:operation soapAction="urn:getActiveTenantCount" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="TenantActivityServiceException">
-                <soap:fault use="literal" name="TenantActivityServiceException" />
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-
-    <wsdl:binding name="TenantActivityServiceSoap12Binding" type="ns:TenantActivityServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
-        <wsdl:operation name="isActiveTenantOnService">
-            <soap12:operation soapAction="urn:isActiveTenantOnService" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-
-            </wsdl:output>
-            <wsdl:fault name="TenantActivityServiceException">
-                <soap12:fault use="literal" name="TenantActivityServiceException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedActiveTenants">
-            <soap12:operation soapAction="urn:retrievePaginatedActiveTenants" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="TenantActivityServiceException">
-                <soap12:fault use="literal" name="TenantActivityServiceException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getActiveTenantCount">
-
-            <soap12:operation soapAction="urn:getActiveTenantCount" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="TenantActivityServiceException">
-                <soap12:fault use="literal" name="TenantActivityServiceException" />
-
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="TenantActivityServiceHttpBinding" type="ns:TenantActivityServicePortType">
-        <http:binding verb="POST" />
-        <wsdl:operation name="isActiveTenantOnService">
-            <http:operation location="isActiveTenantOnService" />
-            <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="retrievePaginatedActiveTenants">
-            <http:operation location="retrievePaginatedActiveTenants" />
-            <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="getActiveTenantCount">
-            <http:operation location="getActiveTenantCount" />
-            <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="TenantActivityService">
-        <wsdl:port name="TenantActivityServiceHttpsSoap11Endpoint" binding="ns:TenantActivityServiceSoap11Binding">
-            <soap:address location="https://cloud-test.wso2.com:9443/services/TenantActivityService.TenantActivityServiceHttpsSoap11Endpoint/" />
-
-        </wsdl:port>
-        <wsdl:port name="TenantActivityServiceHttpsSoap12Endpoint" binding="ns:TenantActivityServiceSoap12Binding">
-            <soap12:address location="https://cloud-test.wso2.com:9443/services/TenantActivityService.TenantActivityServiceHttpsSoap12Endpoint/" />
-        </wsdl:port>
-        <wsdl:port name="TenantActivityServiceHttpsEndpoint" binding="ns:TenantActivityServiceHttpBinding">
-            <http:address location="https://cloud-test.wso2.com:9443/services/TenantActivityService.TenantActivityServiceHttpsEndpoint/" />
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/74fa3d14/service-stubs/org.wso2.carbon.tenant.activity.stub/4.1.0/src/main/resources/TenantMonitoringService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.wso2.carbon.tenant.activity.stub/4.1.0/src/main/resources/TenantMonitoringService.wsdl b/service-stubs/org.wso2.carbon.tenant.activity.stub/4.1.0/src/main/resources/TenantMonitoringService.wsdl
deleted file mode 100644
index d8f12da..0000000
--- a/service-stubs/org.wso2.carbon.tenant.activity.stub/4.1.0/src/main/resources/TenantMonitoringService.wsdl
+++ /dev/null
@@ -1,389 +0,0 @@
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://services.activity.tenant.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:ax2322="http://beans.activity.tenant.carbon.wso2.org/xsd" 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://services.activity.tenant.carbon.wso2.org">
-    <wsdl:documentation>TenantMonitoringService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://beans.activity.tenant.carbon.wso2.org/xsd">
-            <xs:complexType name="PaginatedTenantDataBean">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="numberOfPages" type="xs:int" />
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="tenantInfoBeans" nillable="true" type="ax2322:TenantDataBean" />
-                </xs:sequence>
-
-            </xs:complexType>
-            <xs:complexType name="TenantDataBean">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="active" type="xs:boolean" />
-                    <xs:element minOccurs="0" name="adminFirstName" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="adminFullName" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="adminLastName" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="adminName" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="adminPassword" nillable="true" type="xs:string" />
-
-                    <xs:element minOccurs="0" name="createdDate" nillable="true" type="xs:date" />
-                    <xs:element minOccurs="0" name="domain" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="email" nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="id" type="xs:int" />
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax2323="http://beans.activity.tenant.carbon.wso2.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.activity.tenant.carbon.wso2.org">
-            <xs:import namespace="http://beans.activity.tenant.carbon.wso2.org/xsd" />
-
-            <xs:element name="TenantMonitoringServiceException">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="TenantMonitoringServiceException" nillable="true" type="ns:Exception" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:complexType name="Exception">
-                <xs:sequence>
-
-                    <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
-                </xs:sequence>
-            </xs:complexType>
-            <xs:element name="retrievePaginatedActiveTenants">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="pageNumber" type="xs:int" />
-                    </xs:sequence>
-                </xs:complexType>
-
-            </xs:element>
-            <xs:element name="retrievePaginatedActiveTenantsResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" nillable="true" type="ax2322:PaginatedTenantDataBean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="isActiveTenantOnService">
-
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domainName" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="isActiveTenantOnServiceResponse">
-                <xs:complexType>
-                    <xs:sequence>
-
-                        <xs:element minOccurs="0" name="return" type="xs:boolean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getAllActiveTenantList">
-                <xs:complexType>
-                    <xs:sequence />
-                </xs:complexType>
-            </xs:element>
-
-            <xs:element name="getAllActiveTenantListResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax2322:TenantDataBean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getActiveTenantList">
-                <xs:complexType>
-
-                    <xs:sequence />
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getActiveTenantListResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-
-            </xs:element>
-            <xs:element name="getActiveTenantCount">
-                <xs:complexType>
-                    <xs:sequence />
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getActiveTenantCountResponse">
-                <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="isActiveTenantOnServiceRequest">
-        <wsdl:part name="parameters" element="ns:isActiveTenantOnService" />
-    </wsdl:message>
-
-    <wsdl:message name="isActiveTenantOnServiceResponse">
-        <wsdl:part name="parameters" element="ns:isActiveTenantOnServiceResponse" />
-    </wsdl:message>
-    <wsdl:message name="TenantMonitoringServiceException">
-        <wsdl:part name="parameters" element="ns:TenantMonitoringServiceException" />
-    </wsdl:message>
-    <wsdl:message name="retrievePaginatedActiveTenantsRequest">
-        <wsdl:part name="parameters" element="ns:retrievePaginatedActiveTenants" />
-    </wsdl:message>
-
-    <wsdl:message name="retrievePaginatedActiveTenantsResponse">
-        <wsdl:part name="parameters" element="ns:retrievePaginatedActiveTenantsResponse" />
-    </wsdl:message>
-    <wsdl:message name="getActiveTenantListRequest">
-        <wsdl:part name="parameters" element="ns:getActiveTenantList" />
-    </wsdl:message>
-    <wsdl:message name="getActiveTenantListResponse">
-        <wsdl:part name="parameters" element="ns:getActiveTenantListResponse" />
-    </wsdl:message>
-
-    <wsdl:message name="getAllActiveTenantListRequest">
-        <wsdl:part name="parameters" element="ns:getAllActiveTenantList" />
-    </wsdl:message>
-    <wsdl:message name="getAllActiveTenantListResponse">
-        <wsdl:part name="parameters" element="ns:getAllActiveTenantListResponse" />
-    </wsdl:message>
-    <wsdl:message name="getActiveTenantCountRequest">
-        <wsdl:part name="parameters" element="ns:getActiveTenantCount" />
-    </wsdl:message>
-
-    <wsdl:message name="getActiveTenantCountResponse">
-        <wsdl:part name="parameters" element="ns:getActiveTenantCountResponse" />
-    </wsdl:message>
-    <wsdl:portType name="TenantMonitoringServicePortType">
-        <wsdl:operation name="isActiveTenantOnService">
-            <wsdl:input message="ns:isActiveTenantOnServiceRequest" wsaw:Action="urn:isActiveTenantOnService" />
-            <wsdl:output message="ns:isActiveTenantOnServiceResponse" wsaw:Action="urn:isActiveTenantOnServiceResponse" />
-            <wsdl:fault message="ns:TenantMonitoringServiceException" name="TenantMonitoringServiceException" wsaw:Action="urn:isActiveTenantOnServiceTenantMonitoringServiceException" />
-        </wsdl:operation>
-
-        <wsdl:operation name="retrievePaginatedActiveTenants">
-            <wsdl:input message="ns:retrievePaginatedActiveTenantsRequest" wsaw:Action="urn:retrievePaginatedActiveTenants" />
-            <wsdl:output message="ns:retrievePaginatedActiveTenantsResponse" wsaw:Action="urn:retrievePaginatedActiveTenantsResponse" />
-            <wsdl:fault message="ns:TenantMonitoringServiceException" name="TenantMonitoringServiceException" wsaw:Action="urn:retrievePaginatedActiveTenantsTenantMonitoringServiceException" />
-        </wsdl:operation>
-        <wsdl:operation name="getActiveTenantList">
-            <wsdl:input message="ns:getActiveTenantListRequest" wsaw:Action="urn:getActiveTenantList" />
-            <wsdl:output message="ns:getActiveTenantListResponse" wsaw:Action="urn:getActiveTenantListResponse" />
-            <wsdl:fault message="ns:TenantMonitoringServiceException" name="TenantMonitoringServiceException" wsaw:Action="urn:getActiveTenantListTenantMonitoringServiceException" />
-
-        </wsdl:operation>
-        <wsdl:operation name="getAllActiveTenantList">
-            <wsdl:input message="ns:getAllActiveTenantListRequest" wsaw:Action="urn:getAllActiveTenantList" />
-            <wsdl:output message="ns:getAllActiveTenantListResponse" wsaw:Action="urn:getAllActiveTenantListResponse" />
-            <wsdl:fault message="ns:TenantMonitoringServiceException" name="TenantMonitoringServiceException" wsaw:Action="urn:getAllActiveTenantListTenantMonitoringServiceException" />
-        </wsdl:operation>
-        <wsdl:operation name="getActiveTenantCount">
-            <wsdl:input message="ns:getActiveTenantCountRequest" wsaw:Action="urn:getActiveTenantCount" />
-            <wsdl:output message="ns:getActiveTenantCountResponse" wsaw:Action="urn:getActiveTenantCountResponse" />
-
-            <wsdl:fault message="ns:TenantMonitoringServiceException" name="TenantMonitoringServiceException" wsaw:Action="urn:getActiveTenantCountTenantMonitoringServiceException" />
-        </wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="TenantMonitoringServiceSoap11Binding" type="ns:TenantMonitoringServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
-        <wsdl:operation name="isActiveTenantOnService">
-            <soap:operation soapAction="urn:isActiveTenantOnService" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="TenantMonitoringServiceException">
-                <soap:fault use="literal" name="TenantMonitoringServiceException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedActiveTenants">
-
-            <soap:operation soapAction="urn:retrievePaginatedActiveTenants" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="TenantMonitoringServiceException">
-                <soap:fault use="literal" name="TenantMonitoringServiceException" />
-
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getActiveTenantList">
-            <soap:operation soapAction="urn:getActiveTenantList" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-
-            </wsdl:output>
-            <wsdl:fault name="TenantMonitoringServiceException">
-                <soap:fault use="literal" name="TenantMonitoringServiceException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getAllActiveTenantList">
-            <soap:operation soapAction="urn:getAllActiveTenantList" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="TenantMonitoringServiceException">
-                <soap:fault use="literal" name="TenantMonitoringServiceException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getActiveTenantCount">
-
-            <soap:operation soapAction="urn:getActiveTenantCount" style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="TenantMonitoringServiceException">
-                <soap:fault use="literal" name="TenantMonitoringServiceException" />
-
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="TenantMonitoringServiceSoap12Binding" type="ns:TenantMonitoringServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
-        <wsdl:operation name="isActiveTenantOnService">
-            <soap12:operation soapAction="urn:isActiveTenantOnService" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="TenantMonitoringServiceException">
-                <soap12:fault use="literal" name="TenantMonitoringServiceException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedActiveTenants">
-
-            <soap12:operation soapAction="urn:retrievePaginatedActiveTenants" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="TenantMonitoringServiceException">
-                <soap12:fault use="literal" name="TenantMonitoringServiceException" />
-
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getActiveTenantList">
-            <soap12:operation soapAction="urn:getActiveTenantList" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-
-            </wsdl:output>
-            <wsdl:fault name="TenantMonitoringServiceException">
-                <soap12:fault use="literal" name="TenantMonitoringServiceException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getAllActiveTenantList">
-            <soap12:operation soapAction="urn:getAllActiveTenantList" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="TenantMonitoringServiceException">
-                <soap12:fault use="literal" name="TenantMonitoringServiceException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getActiveTenantCount">
-
-            <soap12:operation soapAction="urn:getActiveTenantCount" style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault name="TenantMonitoringServiceException">
-                <soap12:fault use="literal" name="TenantMonitoringServiceException" />
-
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="TenantMonitoringServiceHttpBinding" type="ns:TenantMonitoringServicePortType">
-        <http:binding verb="POST" />
-        <wsdl:operation name="isActiveTenantOnService">
-            <http:operation location="isActiveTenantOnService" />
-            <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="retrievePaginatedActiveTenants">
-            <http:operation location="retrievePaginatedActiveTenants" />
-            <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="getActiveTenantList">
-            <http:operation location="getActiveTenantList" />
-            <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="getAllActiveTenantList">
-            <http:operation location="getAllActiveTenantList" />
-            <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="getActiveTenantCount">
-            <http:operation location="getActiveTenantCount" />
-            <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="TenantMonitoringService">
-        <wsdl:port name="TenantMonitoringServiceHttpsSoap11Endpoint" binding="ns:TenantMonitoringServiceSoap11Binding">
-            <soap:address location="https://cloud-test.wso2.com:9443/services/TenantMonitoringService.TenantMonitoringServiceHttpsSoap11Endpoint/" />
-
-        </wsdl:port>
-        <wsdl:port name="TenantMonitoringServiceHttpsSoap12Endpoint" binding="ns:TenantMonitoringServiceSoap12Binding">
-            <soap12:address location="https://cloud-test.wso2.com:9443/services/TenantMonitoringService.TenantMonitoringServiceHttpsSoap12Endpoint/" />
-        </wsdl:port>
-        <wsdl:port name="TenantMonitoringServiceHttpsEndpoint" binding="ns:TenantMonitoringServiceHttpBinding">
-            <http:address location="https://cloud-test.wso2.com:9443/services/TenantMonitoringService.TenantMonitoringServiceHttpsEndpoint/" />
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>