http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.tenant.mgt.stub/src/main/resources/TenantMgtAdminService.wsdl
----------------------------------------------------------------------
diff --git 
a/service-stubs/org.apache.stratos.tenant.mgt.stub/src/main/resources/TenantMgtAdminService.wsdl
 
b/service-stubs/org.apache.stratos.tenant.mgt.stub/src/main/resources/TenantMgtAdminService.wsdl
deleted file mode 100644
index e530dcd..0000000
--- 
a/service-stubs/org.apache.stratos.tenant.mgt.stub/src/main/resources/TenantMgtAdminService.wsdl
+++ /dev/null
@@ -1,635 +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://services.mgt.tenant.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:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
xmlns:ax2388="http://beans.common.stratos.apache.org/xsd"; 
xmlns:ax2390="http://beans.mgt.tenant.stratos.apache.org/xsd"; 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
targetNamespace="http://services.mgt.tenant.stratos.apache.org";>
-    <wsdl:documentation>TenantMgtAdminService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema 
xmlns:ax2392="http://beans.mgt.tenant.stratos.apache.org/xsd"; 
xmlns:ax2389="http://beans.common.stratos.apache.org/xsd"; 
attributeFormDefault="qualified" elementFormDefault="qualified" 
targetNamespace="http://services.mgt.tenant.stratos.apache.org";>
-            <xs:import namespace="http://beans.common.stratos.apache.org/xsd"/>
-            <xs:import 
namespace="http://beans.mgt.tenant.stratos.apache.org/xsd"/>
-            <xs:element name="TenantMgtAdminServiceException">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" 
name="TenantMgtAdminServiceException" 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="updateTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantInfoBean" 
nillable="true" type="ax2388:TenantInfoBean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrieveTenants">
-                <xs:complexType>
-                    <xs:sequence/>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrieveTenantsResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element maxOccurs="unbounded" minOccurs="0" 
name="return" nillable="true" type="ax2388:TenantInfoBean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrievePartialSearchTenants">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domain" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrievePartialSearchTenantsResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element maxOccurs="unbounded" minOccurs="0" 
name="return" nillable="true" type="ax2388:TenantInfoBean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrievePaginatedTenants">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="pageNumber" 
type="xs:int"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrievePaginatedTenantsResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="ax2392:PaginatedTenantInfoBean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrievePaginatedPartialSearchTenants">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domain" 
nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="pageNumber" 
type="xs:int"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrievePaginatedPartialSearchTenantsResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="ax2392:PaginatedTenantInfoBean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantDomain" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getTenantResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="ax2388:TenantInfoBean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="deleteTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantDomain" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="deactivateTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantDomain" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="addTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantInfoBean" 
nillable="true" type="ax2388:TenantInfoBean"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="addTenantResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="activateTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantDomain" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" 
elementFormDefault="qualified" 
targetNamespace="http://beans.common.stratos.apache.org/xsd";>
-            <xs:complexType name="TenantInfoBean">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="active" type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="admin" 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:dateTime"/>
-                    <xs:element minOccurs="0" name="email" nillable="true" 
type="xs:string"/>
-                    <xs:element minOccurs="0" name="firstname" nillable="true" 
type="xs:string"/>
-                    <xs:element minOccurs="0" name="lastname" nillable="true" 
type="xs:string"/>
-                    <xs:element minOccurs="0" name="originatedService" 
nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="successKey" 
nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="tenantDomain" 
nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
-                    <xs:element minOccurs="0" name="usagePlan" nillable="true" 
type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax2391="http://beans.common.stratos.apache.org/xsd"; 
attributeFormDefault="qualified" elementFormDefault="qualified" 
targetNamespace="http://beans.mgt.tenant.stratos.apache.org/xsd";>
-            <xs:import namespace="http://beans.common.stratos.apache.org/xsd"/>
-            <xs:complexType name="PaginatedTenantInfoBean">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="numberOfPages" 
type="xs:int"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" 
name="tenantInfoBeans" nillable="true" type="ax2391:TenantInfoBean"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-    </wsdl:types>
-    <wsdl:message name="retrieveTenantsRequest">
-        <wsdl:part name="parameters" element="ns:retrieveTenants"/>
-    </wsdl:message>
-    <wsdl:message name="retrieveTenantsResponse">
-        <wsdl:part name="parameters" element="ns:retrieveTenantsResponse"/>
-    </wsdl:message>
-    <wsdl:message name="TenantMgtAdminServiceException">
-        <wsdl:part name="parameters" 
element="ns:TenantMgtAdminServiceException"/>
-    </wsdl:message>
-    <wsdl:message name="getTenantRequest">
-        <wsdl:part name="parameters" element="ns:getTenant"/>
-    </wsdl:message>
-    <wsdl:message name="getTenantResponse">
-        <wsdl:part name="parameters" element="ns:getTenantResponse"/>
-    </wsdl:message>
-    <wsdl:message name="deactivateTenantRequest">
-        <wsdl:part name="parameters" element="ns:deactivateTenant"/>
-    </wsdl:message>
-    <wsdl:message name="deactivateTenantResponse"/>
-    <wsdl:message name="retrievePartialSearchTenantsRequest">
-        <wsdl:part name="parameters" 
element="ns:retrievePartialSearchTenants"/>
-    </wsdl:message>
-    <wsdl:message name="retrievePartialSearchTenantsResponse">
-        <wsdl:part name="parameters" 
element="ns:retrievePartialSearchTenantsResponse"/>
-    </wsdl:message>
-    <wsdl:message name="retrievePaginatedTenantsRequest">
-        <wsdl:part name="parameters" element="ns:retrievePaginatedTenants"/>
-    </wsdl:message>
-    <wsdl:message name="retrievePaginatedTenantsResponse">
-        <wsdl:part name="parameters" 
element="ns:retrievePaginatedTenantsResponse"/>
-    </wsdl:message>
-    <wsdl:message name="updateTenantRequest">
-        <wsdl:part name="parameters" element="ns:updateTenant"/>
-    </wsdl:message>
-    <wsdl:message name="updateTenantResponse"/>
-    <wsdl:message name="addTenantRequest">
-        <wsdl:part name="parameters" element="ns:addTenant"/>
-    </wsdl:message>
-    <wsdl:message name="addTenantResponse">
-        <wsdl:part name="parameters" element="ns:addTenantResponse"/>
-    </wsdl:message>
-    <wsdl:message name="retrievePaginatedPartialSearchTenantsRequest">
-        <wsdl:part name="parameters" 
element="ns:retrievePaginatedPartialSearchTenants"/>
-    </wsdl:message>
-    <wsdl:message name="retrievePaginatedPartialSearchTenantsResponse">
-        <wsdl:part name="parameters" 
element="ns:retrievePaginatedPartialSearchTenantsResponse"/>
-    </wsdl:message>
-    <wsdl:message name="activateTenantRequest">
-        <wsdl:part name="parameters" element="ns:activateTenant"/>
-    </wsdl:message>
-    <wsdl:message name="activateTenantResponse"/>
-    <wsdl:message name="deleteTenantRequest">
-        <wsdl:part name="parameters" element="ns:deleteTenant"/>
-    </wsdl:message>
-    <wsdl:message name="deleteTenantResponse"/>
-    <wsdl:portType name="TenantMgtAdminServicePortType">
-        <wsdl:operation name="retrieveTenants">
-            <wsdl:input message="ns:retrieveTenantsRequest" 
wsaw:Action="urn:retrieveTenants"/>
-            <wsdl:output message="ns:retrieveTenantsResponse" 
wsaw:Action="urn:retrieveTenantsResponse"/>
-            <wsdl:fault message="ns:TenantMgtAdminServiceException" 
name="TenantMgtAdminServiceException" 
wsaw:Action="urn:retrieveTenantsTenantMgtAdminServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="getTenant">
-            <wsdl:input message="ns:getTenantRequest" 
wsaw:Action="urn:getTenant"/>
-            <wsdl:output message="ns:getTenantResponse" 
wsaw:Action="urn:getTenantResponse"/>
-            <wsdl:fault message="ns:TenantMgtAdminServiceException" 
name="TenantMgtAdminServiceException" 
wsaw:Action="urn:getTenantTenantMgtAdminServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="deactivateTenant">
-            <wsdl:input message="ns:deactivateTenantRequest" 
wsaw:Action="urn:deactivateTenant"/>
-            <wsdl:output message="ns:deactivateTenantResponse" 
wsaw:Action="urn:deactivateTenantResponse"/>
-            <wsdl:fault message="ns:TenantMgtAdminServiceException" 
name="TenantMgtAdminServiceException" 
wsaw:Action="urn:deactivateTenantTenantMgtAdminServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePartialSearchTenants">
-            <wsdl:input message="ns:retrievePartialSearchTenantsRequest" 
wsaw:Action="urn:retrievePartialSearchTenants"/>
-            <wsdl:output message="ns:retrievePartialSearchTenantsResponse" 
wsaw:Action="urn:retrievePartialSearchTenantsResponse"/>
-            <wsdl:fault message="ns:TenantMgtAdminServiceException" 
name="TenantMgtAdminServiceException" 
wsaw:Action="urn:retrievePartialSearchTenantsTenantMgtAdminServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedTenants">
-            <wsdl:input message="ns:retrievePaginatedTenantsRequest" 
wsaw:Action="urn:retrievePaginatedTenants"/>
-            <wsdl:output message="ns:retrievePaginatedTenantsResponse" 
wsaw:Action="urn:retrievePaginatedTenantsResponse"/>
-            <wsdl:fault message="ns:TenantMgtAdminServiceException" 
name="TenantMgtAdminServiceException" 
wsaw:Action="urn:retrievePaginatedTenantsTenantMgtAdminServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="updateTenant">
-            <wsdl:input message="ns:updateTenantRequest" 
wsaw:Action="urn:updateTenant"/>
-            <wsdl:output message="ns:updateTenantResponse" 
wsaw:Action="urn:updateTenantResponse"/>
-            <wsdl:fault message="ns:TenantMgtAdminServiceException" 
name="TenantMgtAdminServiceException" 
wsaw:Action="urn:updateTenantTenantMgtAdminServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="addTenant">
-            <wsdl:input message="ns:addTenantRequest" 
wsaw:Action="urn:addTenant"/>
-            <wsdl:output message="ns:addTenantResponse" 
wsaw:Action="urn:addTenantResponse"/>
-            <wsdl:fault message="ns:TenantMgtAdminServiceException" 
name="TenantMgtAdminServiceException" 
wsaw:Action="urn:addTenantTenantMgtAdminServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedPartialSearchTenants">
-            <wsdl:input 
message="ns:retrievePaginatedPartialSearchTenantsRequest" 
wsaw:Action="urn:retrievePaginatedPartialSearchTenants"/>
-            <wsdl:output 
message="ns:retrievePaginatedPartialSearchTenantsResponse" 
wsaw:Action="urn:retrievePaginatedPartialSearchTenantsResponse"/>
-            <wsdl:fault message="ns:TenantMgtAdminServiceException" 
name="TenantMgtAdminServiceException" 
wsaw:Action="urn:retrievePaginatedPartialSearchTenantsTenantMgtAdminServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="activateTenant">
-            <wsdl:input message="ns:activateTenantRequest" 
wsaw:Action="urn:activateTenant"/>
-            <wsdl:output message="ns:activateTenantResponse" 
wsaw:Action="urn:activateTenantResponse"/>
-            <wsdl:fault message="ns:TenantMgtAdminServiceException" 
name="TenantMgtAdminServiceException" 
wsaw:Action="urn:activateTenantTenantMgtAdminServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="deleteTenant">
-            <wsdl:input message="ns:deleteTenantRequest" 
wsaw:Action="urn:deleteTenant"/>
-            <wsdl:output message="ns:deleteTenantResponse" 
wsaw:Action="urn:deleteTenantResponse"/>
-            <wsdl:fault message="ns:TenantMgtAdminServiceException" 
name="TenantMgtAdminServiceException" 
wsaw:Action="urn:deleteTenantTenantMgtAdminServiceException"/>
-        </wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="TenantMgtAdminServiceSoap11Binding" 
type="ns:TenantMgtAdminServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
-        <wsdl:operation name="getTenant">
-            <soap:operation soapAction="urn:getTenant" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveTenants">
-            <soap:operation soapAction="urn:retrieveTenants" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="deactivateTenant">
-            <soap:operation soapAction="urn:deactivateTenant" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePartialSearchTenants">
-            <soap:operation soapAction="urn:retrievePartialSearchTenants" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedTenants">
-            <soap:operation soapAction="urn:retrievePaginatedTenants" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="updateTenant">
-            <soap:operation soapAction="urn:updateTenant" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="addTenant">
-            <soap:operation soapAction="urn:addTenant" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedPartialSearchTenants">
-            <soap:operation 
soapAction="urn:retrievePaginatedPartialSearchTenants" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="deleteTenant">
-            <soap:operation soapAction="urn:deleteTenant" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="activateTenant">
-            <soap:operation soapAction="urn:activateTenant" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="TenantMgtAdminServiceSoap12Binding" 
type="ns:TenantMgtAdminServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
-        <wsdl:operation name="getTenant">
-            <soap12:operation soapAction="urn:getTenant" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap12:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveTenants">
-            <soap12:operation soapAction="urn:retrieveTenants" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap12:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="deactivateTenant">
-            <soap12:operation soapAction="urn:deactivateTenant" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap12:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePartialSearchTenants">
-            <soap12:operation soapAction="urn:retrievePartialSearchTenants" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap12:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedTenants">
-            <soap12:operation soapAction="urn:retrievePaginatedTenants" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap12:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="updateTenant">
-            <soap12:operation soapAction="urn:updateTenant" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap12:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="addTenant">
-            <soap12:operation soapAction="urn:addTenant" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap12:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedPartialSearchTenants">
-            <soap12:operation 
soapAction="urn:retrievePaginatedPartialSearchTenants" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap12:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="deleteTenant">
-            <soap12:operation soapAction="urn:deleteTenant" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap12:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="activateTenant">
-            <soap12:operation soapAction="urn:activateTenant" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="TenantMgtAdminServiceException">
-                <soap12:fault use="literal" 
name="TenantMgtAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="TenantMgtAdminServiceHttpBinding" 
type="ns:TenantMgtAdminServicePortType">
-        <http:binding verb="POST"/>
-        <wsdl:operation name="getTenant">
-            <http:operation location="getTenant"/>
-            <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="retrieveTenants">
-            <http:operation location="retrieveTenants"/>
-            <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="deactivateTenant">
-            <http:operation location="deactivateTenant"/>
-            <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="retrievePartialSearchTenants">
-            <http:operation location="retrievePartialSearchTenants"/>
-            <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="retrievePaginatedTenants">
-            <http:operation location="retrievePaginatedTenants"/>
-            <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="updateTenant">
-            <http:operation location="updateTenant"/>
-            <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="addTenant">
-            <http:operation location="addTenant"/>
-            <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="retrievePaginatedPartialSearchTenants">
-            <http:operation location="retrievePaginatedPartialSearchTenants"/>
-            <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="deleteTenant">
-            <http:operation location="deleteTenant"/>
-            <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="activateTenant">
-            <http:operation location="activateTenant"/>
-            <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="TenantMgtAdminService">
-        <wsdl:port name="TenantMgtAdminServiceHttpsSoap11Endpoint" 
binding="ns:TenantMgtAdminServiceSoap11Binding">
-            <soap:address 
location="https://172.16.60.1:9443/services/TenantMgtAdminService.TenantMgtAdminServiceHttpsSoap11Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="TenantMgtAdminServiceHttpsSoap12Endpoint" 
binding="ns:TenantMgtAdminServiceSoap12Binding">
-            <soap12:address 
location="https://172.16.60.1:9443/services/TenantMgtAdminService.TenantMgtAdminServiceHttpsSoap12Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="TenantMgtAdminServiceHttpsEndpoint" 
binding="ns:TenantMgtAdminServiceHttpBinding">
-            <http:address 
location="https://172.16.60.1:9443/services/TenantMgtAdminService.TenantMgtAdminServiceHttpsEndpoint/"/>
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>

http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.tenant.register.gapp.stub/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.tenant.register.gapp.stub/pom.xml 
b/service-stubs/org.apache.stratos.tenant.register.gapp.stub/pom.xml
deleted file mode 100644
index 9a162c0..0000000
--- a/service-stubs/org.apache.stratos.tenant.register.gapp.stub/pom.xml
+++ /dev/null
@@ -1,145 +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.apache.stratos</groupId>
-        <artifactId>stratos-service-stubs-parent</artifactId>
-        <version>4.1.0-SNAPSHOT</version>
-   </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.apache.stratos.tenant.register.gapp.stub</artifactId>
-    <packaging>bundle</packaging>
-    <name>Apache Stratos - Tenant Registration GApp Stub</name>
-    <url>http://apache.org</url>
-
-    <build>
-        <plugins>
-            
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>source-code-generation</id>
-                        <phase>process-resources</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <!--<path id="wsdl2java.classpath">
-                        <pathelement 
location="${settings.localRepository}/org/apache/ws/commons/axiom/wso2/axiom/${orbit.version.axiom}/axiom-${orbit.version.axiom}.jar"
 />
-                                    <pathelement 
location="${settings.localRepository}/org/apache/axis2/wso2/axis2-client/${orbit.version.axis2}/axis2-client-${orbit.version.axis2}.jar"
 />
-                                    <pathelement 
location="${settings.localRepository}/org/apache/axis2/wso2/axis2/${orbit.version.axis2}/axis2-${orbit.version.axis2}.jar"
 />
-                                    <pathelement 
location="${settings.localRepository}/org/apache/ws/commons/axiom/wso2/axiom/${orbit.version.axiom}/axiom-${orbit.version.axiom}.jar"
 />
-                                </path>-->
-                                <path id="wsdl2java.classpath">
-                                   <pathelement 
location="${settings.localRepository}/org/apache/ws/commons/axiom/wso2/axiom/${axis2.wso2.version}/axiom-${axis2.wso2.version}.jar"
 />
-                                    <pathelement 
location="${settings.localRepository}/org/apache/axis2/wso2/axis2-client/${axis2.wso2.client.version}/axis2-client-${axis2.wso2.client.version}.jar"
 />
-                                    <pathelement 
location="${settings.localRepository}/org/apache/axis2/wso2/axis2/${axis2.wso2.version}/axis2-${axis2.wso2.version}.jar"
 />
-                                    <pathelement 
location="${settings.localRepository}/org/apache/ws/commons/axiom/wso2/axiom/${axiom.wso2.version}/axiom-${axiom.wso2.version}.jar"
 />
-                                </path>
-
-                                <java 
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
-                                    <arg line="-uri 
src/main/resources/GAppTenantRegistrationService.wsdl -u -uw -o 
target/generated-code -p org.apache.stratos.tenant.register.gapp.stub -ns2p 
http://services.mgt.tenant.stratos.apache.org=org.apache.stratos.tenant.register.gapp.stub.services,http://beans.mgt.tenant.stratos.apache.org/xsd=org.apache.stratos.tenant.register.gapp.stub.xsd,http://org.apache.axis2/xsd=org.apache.stratos.tenant.register.gapp.stub.services,http://exception.mgt.tenant.stratos.apache.org/xsd=org.apache.stratos.tenant.register.gapp.stub.xsd";
 />
-                                    <classpath refid="wsdl2java.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.register.gapp.stub.*; 
version="${project.version}",
-                        </Export-Package>
-                        <Import-Package>
-                           !org.apache.stratos.tenant.register.gapp.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>
-            <version>${orbit.version.axis2}</version>
-           <exclusions>
-               <exclusion>
-                       <groupId>org.wso2.securevault</groupId>
-                       <artifactId>org.wso2.securevault</artifactId>
-               </exclusion>
-           </exclusions> 
-        </dependency>-->
-       <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2-client</artifactId>
-        </dependency>
-    </dependencies>
-
-    <properties>
-       <orbit.version.axis2>1.6.1.wso2v5</orbit.version.axis2>
-    </properties>
-</project>

http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.tenant.register.gapp.stub/src/main/resources/GAppTenantRegistrationService.wsdl
----------------------------------------------------------------------
diff --git 
a/service-stubs/org.apache.stratos.tenant.register.gapp.stub/src/main/resources/GAppTenantRegistrationService.wsdl
 
b/service-stubs/org.apache.stratos.tenant.register.gapp.stub/src/main/resources/GAppTenantRegistrationService.wsdl
deleted file mode 100644
index 5eeb3b6..0000000
--- 
a/service-stubs/org.apache.stratos.tenant.register.gapp.stub/src/main/resources/GAppTenantRegistrationService.wsdl
+++ /dev/null
@@ -1,231 +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:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
xmlns:tns="http://services.mgt.tenant.stratos.apache.org"; 
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:ax2405="http://beans.mgt.tenant.stratos.apache.org/xsd"; 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
xmlns:ax2403="http://exception.mgt.tenant.stratos.apache.org/xsd"; 
targetNamespace="http://services.mgt.tenant.stratos.apache.org";>
-    <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"; 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 wsu:Id="SigOnly">
-        <wsp:ExactlyOne>
-            <wsp:All>
-                <sp:AsymmetricBinding 
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
-                    <wsp:Policy>
-                        <sp:InitiatorToken>
-                            <wsp:Policy>
-                                <sp:X509Token 
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient";>
-                                    <wsp:Policy>
-                                        <sp:RequireThumbprintReference />
-                                        <sp:WssX509V3Token10 />
-                                    </wsp:Policy>
-                                </sp:X509Token>
-                            </wsp:Policy>
-                        </sp:InitiatorToken>
-                        <sp:RecipientToken>
-                            <wsp:Policy>
-                                <sp:X509Token 
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never";>
-                                    <wsp:Policy>
-                                        <sp:RequireThumbprintReference />
-                                        <sp:WssX509V3Token10 />
-                                    </wsp:Policy>
-                                </sp:X509Token>
-                            </wsp:Policy>
-                        </sp:RecipientToken>
-                        <sp:AlgorithmSuite>
-                            <wsp:Policy>
-                                <sp:Basic256 />
-                            </wsp:Policy>
-                        </sp:AlgorithmSuite>
-                        <sp:Layout>
-                            <wsp:Policy>
-                                <sp:Strict />
-                            </wsp:Policy>
-                        </sp:Layout>
-                        <sp:IncludeTimestamp />
-                        <sp:OnlySignEntireHeadersAndBody />
-                    </wsp:Policy>
-                </sp:AsymmetricBinding>
-                <sp:Wss10 
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
-                    <sp:Policy>
-                        <sp:MustSupportRefKeyIdentifier />
-                        <sp:MustSupportRefIssuerSerial />
-                    </sp:Policy>
-                </sp:Wss10>
-                <sp:SignedParts 
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
-                    <sp:Body />
-                </sp:SignedParts>
-            </wsp:All>
-        </wsp:ExactlyOne>
-    </wsp:Policy>
-    <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"; 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 wsu:Id="10e338136f2086e67131033d0dd4832f314b8c9f652be93d">
-        <wsp:ExactlyOne>
-            <wsp:All />
-        </wsp:ExactlyOne>
-    </wsp:Policy>
-    <wsdl:documentation>GAppTenantRegistrationService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema attributeFormDefault="qualified" 
elementFormDefault="qualified" 
targetNamespace="http://exception.mgt.tenant.stratos.apache.org/xsd";>
-            <xs:complexType name="TenantManagementException">
-                <xs:sequence />
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ns="http://org.apache.axis2/xsd"; 
xmlns:ax2406="http://beans.mgt.tenant.stratos.apache.org/xsd"; 
xmlns:ax2404="http://exception.mgt.tenant.stratos.apache.org/xsd"; 
attributeFormDefault="qualified" elementFormDefault="qualified" 
targetNamespace="http://org.apache.axis2/xsd";>
-            <xs:import 
namespace="http://exception.mgt.tenant.stratos.apache.org/xsd"; />
-            <xs:import 
namespace="http://beans.mgt.tenant.stratos.apache.org/xsd"; />
-            <xs:element 
name="GAppTenantRegistrationServiceTenantManagementException">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" 
name="TenantManagementException" nillable="true" 
type="ax2404:TenantManagementException" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="registerGoogleAppsTenant">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="tenantInfoBean" 
nillable="true" type="ax2406:TenantInfoBean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="registerGoogleAppsTenantResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
type="xs:boolean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="isRegisteredAsGoogleAppDomain">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domain" 
nillable="true" type="xs:string" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="isRegisteredAsGoogleAppDomainResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
type="xs:boolean" />
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" 
elementFormDefault="qualified" 
targetNamespace="http://beans.mgt.tenant.stratos.apache.org/xsd";>
-            <xs:complexType name="TenantInfoBean">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="active" type="xs:boolean" 
/>
-                    <xs:element minOccurs="0" name="admin" 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:dateTime" />
-                    <xs:element minOccurs="0" name="email" nillable="true" 
type="xs:string" />
-                    <xs:element minOccurs="0" name="firstname" nillable="true" 
type="xs:string" />
-                    <xs:element minOccurs="0" name="lastname" nillable="true" 
type="xs:string" />
-                    <xs:element minOccurs="0" name="originatedService" 
nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="successKey" 
nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="tenantDomain" 
nillable="true" type="xs:string" />
-                    <xs:element minOccurs="0" name="tenantId" type="xs:int" />
-                    <xs:element minOccurs="0" name="usagePlan" nillable="true" 
type="xs:string" />
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-    </wsdl:types>
-    <wsdl:message name="registerGoogleAppsTenantRequest">
-        <wsdl:part name="parameters" element="ns1:registerGoogleAppsTenant" />
-    </wsdl:message>
-    <wsdl:message name="registerGoogleAppsTenantResponse">
-        <wsdl:part name="parameters" 
element="ns1:registerGoogleAppsTenantResponse" />
-    </wsdl:message>
-    <wsdl:message 
name="GAppTenantRegistrationServiceTenantManagementException">
-        <wsdl:part name="parameters" 
element="ns1:GAppTenantRegistrationServiceTenantManagementException" />
-    </wsdl:message>
-    <wsdl:message name="isRegisteredAsGoogleAppDomainRequest">
-        <wsdl:part name="parameters" 
element="ns1:isRegisteredAsGoogleAppDomain" />
-    </wsdl:message>
-    <wsdl:message name="isRegisteredAsGoogleAppDomainResponse">
-        <wsdl:part name="parameters" 
element="ns1:isRegisteredAsGoogleAppDomainResponse" />
-    </wsdl:message>
-    <wsdl:portType xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"; 
name="GAppTenantRegistrationServicePortType" 
wsp:PolicyURIs="#10e338136f2086e67131033d0dd4832f314b8c9f652be93d #SigOnly">
-        <wsdl:operation name="registerGoogleAppsTenant">
-            <wsdl:input message="tns:registerGoogleAppsTenantRequest" 
wsaw:Action="urn:registerGoogleAppsTenant" />
-            <wsdl:output message="tns:registerGoogleAppsTenantResponse" 
wsaw:Action="urn:registerGoogleAppsTenantResponse" />
-            <wsdl:fault 
message="tns:GAppTenantRegistrationServiceTenantManagementException" 
name="GAppTenantRegistrationServiceTenantManagementException" 
wsaw:Action="urn:registerGoogleAppsTenantGAppTenantRegistrationServiceTenantManagementException"
 />
-        </wsdl:operation>
-        <wsdl:operation name="isRegisteredAsGoogleAppDomain">
-            <wsdl:input message="tns:isRegisteredAsGoogleAppDomainRequest" 
wsaw:Action="urn:isRegisteredAsGoogleAppDomain" />
-            <wsdl:output message="tns:isRegisteredAsGoogleAppDomainResponse" 
wsaw:Action="urn:isRegisteredAsGoogleAppDomainResponse" />
-            <wsdl:fault 
message="tns:GAppTenantRegistrationServiceTenantManagementException" 
name="GAppTenantRegistrationServiceTenantManagementException" 
wsaw:Action="urn:isRegisteredAsGoogleAppDomainGAppTenantRegistrationServiceTenantManagementException"
 />
-        </wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="GAppTenantRegistrationServiceSoap11Binding" 
type="tns:GAppTenantRegistrationServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document" />
-        <wsdl:operation name="registerGoogleAppsTenant">
-            <soap:operation soapAction="urn:registerGoogleAppsTenant" 
style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault 
name="GAppTenantRegistrationServiceTenantManagementException">
-                <soap:fault use="literal" 
name="GAppTenantRegistrationServiceTenantManagementException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="isRegisteredAsGoogleAppDomain">
-            <soap:operation soapAction="urn:isRegisteredAsGoogleAppDomain" 
style="document" />
-            <wsdl:input>
-                <soap:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault 
name="GAppTenantRegistrationServiceTenantManagementException">
-                <soap:fault use="literal" 
name="GAppTenantRegistrationServiceTenantManagementException" />
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="GAppTenantRegistrationServiceSoap12Binding" 
type="tns:GAppTenantRegistrationServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document" />
-        <wsdl:operation name="registerGoogleAppsTenant">
-            <soap12:operation soapAction="urn:registerGoogleAppsTenant" 
style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault 
name="GAppTenantRegistrationServiceTenantManagementException">
-                <soap12:fault use="literal" 
name="GAppTenantRegistrationServiceTenantManagementException" />
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="isRegisteredAsGoogleAppDomain">
-            <soap12:operation soapAction="urn:isRegisteredAsGoogleAppDomain" 
style="document" />
-            <wsdl:input>
-                <soap12:body use="literal" />
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal" />
-            </wsdl:output>
-            <wsdl:fault 
name="GAppTenantRegistrationServiceTenantManagementException">
-                <soap12:fault use="literal" 
name="GAppTenantRegistrationServiceTenantManagementException" />
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:service name="GAppTenantRegistrationService">
-        <wsdl:port name="GAppTenantRegistrationServiceHttpsSoap11Endpoint" 
binding="tns:GAppTenantRegistrationServiceSoap11Binding">
-            <soap:address 
location="https://cloud-test.wso2.com:9443/services/GAppTenantRegistrationService.GAppTenantRegistrationServiceHttpsSoap11Endpoint/";
 />
-        </wsdl:port>
-        <wsdl:port name="GAppTenantRegistrationServiceHttpsSoap12Endpoint" 
binding="tns:GAppTenantRegistrationServiceSoap12Binding">
-            <soap12:address 
location="https://cloud-test.wso2.com:9443/services/GAppTenantRegistrationService.GAppTenantRegistrationServiceHttpsSoap12Endpoint/";
 />
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>

http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.tenant.register.stub/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.tenant.register.stub/pom.xml 
b/service-stubs/org.apache.stratos.tenant.register.stub/pom.xml
deleted file mode 100644
index 37c7d96..0000000
--- a/service-stubs/org.apache.stratos.tenant.register.stub/pom.xml
+++ /dev/null
@@ -1,115 +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.apache.stratos</groupId>
-        <artifactId>stratos-service-stubs-parent</artifactId>
-        <version>4.1.0-SNAPSHOT</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.apache.stratos.tenant.register.stub</artifactId>
-    <packaging>bundle</packaging>
-    <name>Apache Stratos - Tenant Registration Stub</name>
-    <url>http://apache.org</url>
-
-    <build>
-        <plugins>
-            
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <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/TenantMgtService.wsdl -u -uw -o target/generated-code -p 
org.apache.stratos.tenant.register.stub -ns2p 
http://services.mgt.tenant.stratos.apache.org=org.apache.stratos.tenant.register.stub.services,http://beans.mgt.tenant.stratos.apache.org/xsd=org.apache.stratos.tenant.register.stub.beans.xsd,http://beans.mgt.captcha.carbon.wso2.org/xsd=org.apache.stratos.tenant.register.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.register.stub.*; 
version="${project.version}",
-                        </Export-Package>
-                        <Import-Package>
-                           !org.apache.stratos.tenant.register.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/stratos/blob/11b9d636/service-stubs/org.apache.stratos.tenant.register.stub/src/main/resources/TenantMgtService.wsdl
----------------------------------------------------------------------
diff --git 
a/service-stubs/org.apache.stratos.tenant.register.stub/src/main/resources/TenantMgtService.wsdl
 
b/service-stubs/org.apache.stratos.tenant.register.stub/src/main/resources/TenantMgtService.wsdl
deleted file mode 100644
index d837bb8..0000000
--- 
a/service-stubs/org.apache.stratos.tenant.register.stub/src/main/resources/TenantMgtService.wsdl
+++ /dev/null
@@ -1,394 +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://services.mgt.tenant.stratos.apache.org";
-                  xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl";
-                  xmlns:ax2207="http://beans.mgt.tenant.stratos.apache.org/xsd";
-                  xmlns:ax23="http://beans.mgt.captcha.carbon.wso2.org/xsd";
-                  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://services.mgt.tenant.stratos.apache.org";>
-<wsdl:documentation>TenantMgtService</wsdl:documentation>
-<wsdl:types>
-    <xs:schema xmlns:ax24="http://beans.mgt.captcha.carbon.wso2.org/xsd"; 
-               xmlns:ax2208="http://beans.mgt.tenant.stratos.apache.org/xsd";
-               attributeFormDefault="qualified" elementFormDefault="qualified"
-               targetNamespace="http://services.mgt.tenant.stratos.apache.org";>
-        <xs:import namespace="http://beans.mgt.tenant.stratos.apache.org/xsd"/>
-        <xs:import namespace="http://beans.mgt.captcha.carbon.wso2.org/xsd"/>
-        <xs:element name="validateOrSuggestDomainException">
-            <xs:complexType>
-                <xs:sequence>
-                    <xs:element minOccurs="0" 
name="validateOrSuggestDomainException"
-                                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="validateOrSuggestDomain">
-            <xs:complexType>
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="domain" nillable="true" 
type="xs:string"/>
-                    <xs:element minOccurs="0" name="successKey" 
nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:element>
-        <xs:element name="validateOrSuggestDomainResponse">
-            <xs:complexType>
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="return" nillable="true" 
type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:element>
-        <xs:element name="registerTenantException">
-            <xs:complexType>
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="registerTenantException" 
nillable="true"
-                                type="ns:Exception"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:element>
-        <xs:element name="registerTenant">
-            <xs:complexType>
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="tenantInfoBean" 
nillable="true"
-                                type="ax2208:TenantInfoBean"/>
-                    <xs:element minOccurs="0" name="captchaInfoBean" 
nillable="true"
-                                type="ax24:CaptchaInfoBean"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:element>
-        <xs:element name="registerTenantResponse">
-            <xs:complexType>
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="return" nillable="true" 
type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:element>
-        <xs:element name="generateRandomCaptchaException">
-            <xs:complexType>
-                <xs:sequence>
-                    <xs:element minOccurs="0" 
name="generateRandomCaptchaException" nillable="true"
-                                type="ns:Exception"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:element>
-        <xs:element name="generateRandomCaptcha">
-            <xs:complexType>
-                <xs:sequence/>
-            </xs:complexType>
-        </xs:element>
-        <xs:element name="generateRandomCaptchaResponse">
-            <xs:complexType>
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="return" nillable="true"
-                                type="ax24:CaptchaInfoBean"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:element>
-        <xs:element name="checkDomainAvailabilityException">
-            <xs:complexType>
-                <xs:sequence>
-                    <xs:element minOccurs="0" 
name="checkDomainAvailabilityException"
-                                nillable="true" type="ns:Exception"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:element>
-        <xs:element name="checkDomainAvailability">
-            <xs:complexType>
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="domainName" 
nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:element>
-        <xs:element name="checkDomainAvailabilityResponse">
-            <xs:complexType>
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:element>
-    </xs:schema>
-    <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified"
-               
targetNamespace="http://beans.mgt.tenant.stratos.apache.org/xsd";>
-        <xs:complexType name="TenantInfoBean">
-            <xs:sequence>
-                <xs:element minOccurs="0" name="active" type="xs:boolean"/>
-                <xs:element minOccurs="0" name="admin" 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:dateTime"/>
-                <xs:element minOccurs="0" name="email" nillable="true" 
type="xs:string"/>
-                <xs:element minOccurs="0" name="firstname" nillable="true" 
type="xs:string"/>
-                <xs:element minOccurs="0" name="lastname" nillable="true" 
type="xs:string"/>
-                <xs:element minOccurs="0" name="originatedService" 
nillable="true"
-                            type="xs:string"/>
-                <xs:element minOccurs="0" name="successKey" nillable="true" 
type="xs:string"/>
-                <xs:element minOccurs="0" name="tenantDomain" nillable="true" 
type="xs:string"/>
-                <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
-                <xs:element minOccurs="0" name="usagePlan" nillable="true" 
type="xs:string"/>
-            </xs:sequence>
-        </xs:complexType>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" 
elementFormDefault="qualified" 
targetNamespace="http://beans.mgt.captcha.carbon.wso2.org/xsd";>
-        <xs:complexType name="CaptchaInfoBean">
-            <xs:sequence>
-                <xs:element minOccurs="0" name="imagePath" nillable="true" 
type="xs:string"/>
-                <xs:element minOccurs="0" name="secretKey" nillable="true" 
type="xs:string"/>
-                <xs:element minOccurs="0" name="userAnswer" nillable="true" 
type="xs:string"/>
-            </xs:sequence>
-        </xs:complexType>
-    </xs:schema>
-</wsdl:types>
-<wsdl:message name="registerTenantRequest">
-    <wsdl:part name="parameters" element="ns:registerTenant"/>
-</wsdl:message>
-<wsdl:message name="registerTenantResponse">
-    <wsdl:part name="parameters" element="ns:registerTenantResponse"/>
-</wsdl:message>
-<wsdl:message name="registerTenantException">
-    <wsdl:part name="parameters" element="ns:registerTenantException"/>
-</wsdl:message>
-<wsdl:message name="checkDomainAvailabilityRequest">
-    <wsdl:part name="parameters" element="ns:checkDomainAvailability"/>
-</wsdl:message>
-<wsdl:message name="checkDomainAvailabilityResponse">
-    <wsdl:part name="parameters" element="ns:checkDomainAvailabilityResponse"/>
-</wsdl:message>
-<wsdl:message name="checkDomainAvailabilityException">
-    <wsdl:part name="parameters" 
element="ns:checkDomainAvailabilityException"/>
-</wsdl:message>
-<wsdl:message name="validateOrSuggestDomainRequest">
-    <wsdl:part name="parameters" element="ns:validateOrSuggestDomain"/>
-</wsdl:message>
-<wsdl:message name="validateOrSuggestDomainResponse">
-    <wsdl:part name="parameters" element="ns:validateOrSuggestDomainResponse"/>
-</wsdl:message>
-<wsdl:message name="validateOrSuggestDomainException">
-    <wsdl:part name="parameters" 
element="ns:validateOrSuggestDomainException"/>
-</wsdl:message>
-<wsdl:message name="generateRandomCaptchaRequest">
-    <wsdl:part name="parameters" element="ns:generateRandomCaptcha"/>
-</wsdl:message>
-<wsdl:message name="generateRandomCaptchaResponse">
-    <wsdl:part name="parameters" element="ns:generateRandomCaptchaResponse"/>
-</wsdl:message>
-<wsdl:message name="generateRandomCaptchaException">
-    <wsdl:part name="parameters" element="ns:generateRandomCaptchaException"/>
-</wsdl:message>
-<wsdl:portType name="TenantMgtServicePortType">
-    <wsdl:operation name="registerTenant">
-        <wsdl:input message="ns:registerTenantRequest" 
wsaw:Action="urn:registerTenant"/>
-        <wsdl:output message="ns:registerTenantResponse" 
wsaw:Action="urn:registerTenantResponse"/>
-        <wsdl:fault message="ns:registerTenantException" 
name="registerTenantException"
-                    wsaw:Action="urn:registerTenantregisterTenantException"/>
-    </wsdl:operation>
-    <wsdl:operation name="checkDomainAvailability">
-        <wsdl:input message="ns:checkDomainAvailabilityRequest"
-                    wsaw:Action="urn:checkDomainAvailability"/>
-        <wsdl:output message="ns:checkDomainAvailabilityResponse"
-                     wsaw:Action="urn:checkDomainAvailabilityResponse"/>
-        <wsdl:fault message="ns:checkDomainAvailabilityException"
-                    name="checkDomainAvailabilityException"
-                    
wsaw:Action="urn:checkDomainAvailabilitycheckDomainAvailabilityException"/>
-    </wsdl:operation>
-    <wsdl:operation name="validateOrSuggestDomain">
-        <wsdl:input message="ns:validateOrSuggestDomainRequest"
-                    wsaw:Action="urn:validateOrSuggestDomain"/>
-        <wsdl:output message="ns:validateOrSuggestDomainResponse"
-                     wsaw:Action="urn:validateOrSuggestDomainResponse"/>
-        <wsdl:fault message="ns:validateOrSuggestDomainException"
-                    name="validateOrSuggestDomainException"
-                    
wsaw:Action="urn:validateOrSuggestDomainvalidateOrSuggestDomainException"/>
-    </wsdl:operation>
-    <wsdl:operation name="generateRandomCaptcha">
-        <wsdl:input message="ns:generateRandomCaptchaRequest"
-                    wsaw:Action="urn:generateRandomCaptcha"/>
-        <wsdl:output message="ns:generateRandomCaptchaResponse"
-                     wsaw:Action="urn:generateRandomCaptchaResponse"/>
-        <wsdl:fault message="ns:generateRandomCaptchaException"
-                    name="generateRandomCaptchaException"
-                    
wsaw:Action="urn:generateRandomCaptchagenerateRandomCaptchaException"/>
-    </wsdl:operation>
-</wsdl:portType>
-<wsdl:binding name="TenantMgtServiceSoap11Binding" 
type="ns:TenantMgtServicePortType">
-    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
-    <wsdl:operation name="registerTenant">
-        <soap:operation soapAction="urn:registerTenant" style="document"/>
-        <wsdl:input>
-            <soap:body use="literal"/>
-        </wsdl:input>
-        <wsdl:output>
-            <soap:body use="literal"/>
-        </wsdl:output>
-        <wsdl:fault name="registerTenantException">
-            <soap:fault use="literal" name="registerTenantException"/>
-        </wsdl:fault>
-    </wsdl:operation>
-    <wsdl:operation name="checkDomainAvailability">
-        <soap:operation soapAction="urn:checkDomainAvailability" 
style="document"/>
-        <wsdl:input>
-            <soap:body use="literal"/>
-        </wsdl:input>
-        <wsdl:output>
-            <soap:body use="literal"/>
-        </wsdl:output>
-        <wsdl:fault name="checkDomainAvailabilityException">
-            <soap:fault use="literal" name="checkDomainAvailabilityException"/>
-        </wsdl:fault>
-    </wsdl:operation>
-    <wsdl:operation name="validateOrSuggestDomain">
-        <soap:operation soapAction="urn:validateOrSuggestDomain" 
style="document"/>
-        <wsdl:input>
-            <soap:body use="literal"/>
-        </wsdl:input>
-        <wsdl:output>
-            <soap:body use="literal"/>
-        </wsdl:output>
-        <wsdl:fault name="validateOrSuggestDomainException">
-            <soap:fault use="literal" name="validateOrSuggestDomainException"/>
-        </wsdl:fault>
-    </wsdl:operation>
-    <wsdl:operation name="generateRandomCaptcha">
-        <soap:operation soapAction="urn:generateRandomCaptcha" 
style="document"/>
-        <wsdl:input>
-            <soap:body use="literal"/>
-        </wsdl:input>
-        <wsdl:output>
-            <soap:body use="literal"/>
-        </wsdl:output>
-        <wsdl:fault name="generateRandomCaptchaException">
-            <soap:fault use="literal" name="generateRandomCaptchaException"/>
-        </wsdl:fault>
-    </wsdl:operation>
-</wsdl:binding>
-<wsdl:binding name="TenantMgtServiceSoap12Binding" 
type="ns:TenantMgtServicePortType">
-    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
-    <wsdl:operation name="registerTenant">
-        <soap12:operation soapAction="urn:registerTenant" style="document"/>
-        <wsdl:input>
-            <soap12:body use="literal"/>
-        </wsdl:input>
-        <wsdl:output>
-            <soap12:body use="literal"/>
-        </wsdl:output>
-        <wsdl:fault name="registerTenantException">
-            <soap12:fault use="literal" name="registerTenantException"/>
-        </wsdl:fault>
-    </wsdl:operation>
-    <wsdl:operation name="checkDomainAvailability">
-        <soap12:operation soapAction="urn:checkDomainAvailability" 
style="document"/>
-        <wsdl:input>
-            <soap12:body use="literal"/>
-        </wsdl:input>
-        <wsdl:output>
-            <soap12:body use="literal"/>
-        </wsdl:output>
-        <wsdl:fault name="checkDomainAvailabilityException">
-            <soap12:fault use="literal" 
name="checkDomainAvailabilityException"/>
-        </wsdl:fault>
-    </wsdl:operation>
-    <wsdl:operation name="validateOrSuggestDomain">
-        <soap12:operation soapAction="urn:validateOrSuggestDomain" 
style="document"/>
-        <wsdl:input>
-            <soap12:body use="literal"/>
-        </wsdl:input>
-        <wsdl:output>
-            <soap12:body use="literal"/>
-        </wsdl:output>
-        <wsdl:fault name="validateOrSuggestDomainException">
-            <soap12:fault use="literal" 
name="validateOrSuggestDomainException"/>
-        </wsdl:fault>
-    </wsdl:operation>
-    <wsdl:operation name="generateRandomCaptcha">
-        <soap12:operation soapAction="urn:generateRandomCaptcha" 
style="document"/>
-        <wsdl:input>
-            <soap12:body use="literal"/>
-        </wsdl:input>
-        <wsdl:output>
-            <soap12:body use="literal"/>
-        </wsdl:output>
-        <wsdl:fault name="generateRandomCaptchaException">
-            <soap12:fault use="literal" name="generateRandomCaptchaException"/>
-        </wsdl:fault>
-    </wsdl:operation>
-</wsdl:binding>
-<wsdl:binding name="TenantMgtServiceHttpBinding" 
type="ns:TenantMgtServicePortType">
-    <http:binding verb="POST"/>
-    <wsdl:operation name="registerTenant">
-        <http:operation location="registerTenant"/>
-        <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="checkDomainAvailability">
-        <http:operation location="checkDomainAvailability"/>
-        <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="validateOrSuggestDomain">
-        <http:operation location="validateOrSuggestDomain"/>
-        <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="generateRandomCaptcha">
-        <http:operation location="generateRandomCaptcha"/>
-        <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="TenantMgtService">
-    <wsdl:port name="TenantMgtServiceHttpsSoap11Endpoint"
-               binding="ns:TenantMgtServiceSoap11Binding">
-        <soap:address
-                
location="https://10.100.0.19:9443/services/TenantMgtService.TenantMgtServiceHttpsSoap11Endpoint/"/>
-    </wsdl:port>
-    <wsdl:port name="TenantMgtServiceHttpsSoap12Endpoint"
-               binding="ns:TenantMgtServiceSoap12Binding">
-        <soap12:address
-                
location="https://10.100.0.19:9443/services/TenantMgtService.TenantMgtServiceHttpsSoap12Endpoint/"/>
-    </wsdl:port>
-    <wsdl:port name="TenantMgtServiceHttpsEndpoint" 
binding="ns:TenantMgtServiceHttpBinding">
-        <http:address
-                
location="https://10.100.0.19:9443/services/TenantMgtService.TenantMgtServiceHttpsEndpoint/"/>
-    </wsdl:port>
-</wsdl:service>
-</wsdl:definitions>        

http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.theme.mgt.stub/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.theme.mgt.stub/pom.xml 
b/service-stubs/org.apache.stratos.theme.mgt.stub/pom.xml
deleted file mode 100644
index fe017b9..0000000
--- a/service-stubs/org.apache.stratos.theme.mgt.stub/pom.xml
+++ /dev/null
@@ -1,127 +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.apache.stratos</groupId>
-        <artifactId>stratos-service-stubs-parent</artifactId>
-        <version>4.1.0-SNAPSHOT</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.apache.stratos.theme.mgt.stub</artifactId>
-    <packaging>bundle</packaging>
-    <name>Apache Stratos - Theme Configuration User Interface</name>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <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/ThemeMgtService.wsdl -u -uw -o target/generated-code -p 
org.apache.stratos.theme.mgt.stub -ns2p 
http://services.mgt.theme.stratos.apache.org=org.apache.stratos.theme.mgt.stub.services,http://utils.services.resource.registry.carbon.wso2.org/xsd=org.apache.stratos.theme.mgt.stub.registry.resource.stub.services.utils.xsd,http://common.registry.carbon.wso2.org/xsd=org.apache.stratos.theme.mgt.stub.registry.resource.stub.common.xsd,http://beans.resource.registry.carbon.wso2.org/xsd=org.apache.stratos.theme.mgt.stub.registry.resource.stub.beans.xsd,http://services.resource.registry.carbon.wso2.org=org.apache.stratos.theme.mgt.stub.registry.resource.stub.services";
 />
-                                    <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.theme.mgt.stub.*; 
version="${project.version}",
-                        </Export-Package>
-                        <Import-Package>
-                            !org.apache.stratos.theme.mgt.stub.*;
-                            *;resolution:=optional
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-
-        </plugins>
-    </build>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-        </dependency>
-       <dependency>
-            <groupId>wsdl4j.wso2</groupId>
-            <artifactId>wsdl4j</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-            <artifactId>axiom</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.schema.wso2</groupId>
-            <artifactId>XmlSchema</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.neethi.wso2</groupId>
-            <artifactId>neethi</artifactId>
-        </dependency>
-    </dependencies>
-
-</project>

Reply via email to