You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2013/07/08 10:40:12 UTC

[10/11] git commit: committing refactored account-mgt and tenant-mgt stubs

committing refactored account-mgt and tenant-mgt stubs


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

Branch: refs/heads/master
Commit: 761819e053f0e98d9a9c7e9522bcddf81b940568
Parents: beb5a57
Author: Isuru <is...@wso2.com>
Authored: Mon Jul 8 14:06:35 2013 +0530
Committer: Isuru <is...@wso2.com>
Committed: Mon Jul 8 14:06:35 2013 +0530

----------------------------------------------------------------------
 components/account-mgt/.pom.xml.swp             | Bin 0 -> 12288 bytes
 .../2.1.0/target/classes/META-INF/MANIFEST.MF   |  59 ++
 .../2.1.0/target/classes/META-INF/component.xml |  29 +
 .../2.1.0/target/classes/META-INF/services.xml  |  80 +++
 .../account/mgt/beans/AccountInfoBean.class     | Bin 0 -> 803 bytes
 .../internal/AccountMgtServiceComponent.class   | Bin 0 -> 4076 bytes
 .../mgt/services/AccountMgtService.class        | Bin 0 -> 10975 bytes
 .../mgt/services/EmailValidationService.class   | Bin 0 -> 5412 bytes
 .../stratos/account/mgt/util/Util$1.class       | Bin 0 -> 1174 bytes
 .../apache/stratos/account/mgt/util/Util.class  | Bin 0 -> 6250 bytes
 .../org.apache.stratos.account.mgt-2.0.0.jar    | Bin 0 -> 21538 bytes
 .../OSGI-INF/metatype/metatype.xml              |   7 +
 .../OSGI-INF/scr-plugin/scrinfo.xml             |  13 +
 .../OSGI-INF/serviceComponents.xml              |  13 +
 .../2.1.0/target/timestamp                      | Bin 0 -> 283 bytes
 .../4.1.0/pom.xml                               | 136 ++++
 .../main/resources/TenantMgtAdminService.wsdl   | 616 +++++++++++++++++++
 .../4.1.0/pom.xml                               | 115 ----
 .../main/resources/TenantMgtAdminService.wsdl   | 616 -------------------
 service-stubs/pom.xml                           |   3 +
 20 files changed, 956 insertions(+), 731 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/.pom.xml.swp
----------------------------------------------------------------------
diff --git a/components/account-mgt/.pom.xml.swp b/components/account-mgt/.pom.xml.swp
new file mode 100644
index 0000000..203e0c9
Binary files /dev/null and b/components/account-mgt/.pom.xml.swp differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/META-INF/MANIFEST.MF b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..169ec35
--- /dev/null
+++ b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/META-INF/MANIFEST.MF
@@ -0,0 +1,59 @@
+Manifest-Version: 1.0
+Export-Package: org.apache.stratos.account.mgt.util;uses:="org.wso2.ca
+ rbon.stratos.common.listeners,org.wso2.carbon.registry.core.service,o
+ rg.wso2.carbon.stratos.common.exception,org.wso2.carbon.email.verific
+ ation.util,org.apache.commons.logging,org.apache.axis2.context,org.ws
+ o2.carbon.user.core.tenant,org.wso2.carbon.registry.core.exceptions,o
+ rg.wso2.carbon.user.core.service,org.wso2.carbon.stratos.common.beans
+ ,org.wso2.carbon.registry.core.session,org.wso2.carbon.utils,javax.se
+ rvlet.http";version="2.0.0",org.apache.stratos.account.mgt.beans;vers
+ ion="2.0.0",org.apache.stratos.account.mgt.services;uses:="org.wso2.c
+ arbon.registry.core.utils,org.apache.commons.logging,org.wso2.carbon.
+ email.verification.util,org.wso2.carbon.user.api,org.wso2.carbon.core
+ ,org.wso2.carbon.user.core,org.wso2.carbon.stratos.common.util,org.ws
+ o2.carbon.tenant.mgt.util,org.wso2.carbon.user.core.tenant,org.wso2.c
+ arbon.user.core.service,org.wso2.carbon.stratos.common.beans,org.wso2
+ .carbon.registry.core.session,org.wso2.carbon.registry.core,org.apach
+ e.stratos.account.mgt.util,org.apache.stratos.account.mgt.beans,org.w
+ so2.carbon.stratos.common,org.wso2.carbon.registry.core.exceptions";v
+ ersion="2.0.0"
+Service-Component: OSGI-INF/serviceComponents.xml
+Built-By: isuru
+Tool: Bnd-1.43.0
+Bundle-Name: org.apache.stratos.account.mgt
+Created-By: Apache Maven Bundle Plugin
+Bundle-Vendor: WSO2 Inc
+DynamicImport-Package: *
+Build-Jdk: 1.6.0_33
+Bundle-Version: 2.0.0
+Bnd-LastModified: 1373259615764
+Bundle-ManifestVersion: 2
+Bundle-Description: WSO2 Stratos Account Management Parent Module
+Bundle-License: http://www.apache.org/licenses/LICENSE-2.0
+Bundle-SymbolicName: org.apache.stratos.account.mgt
+Import-Package: javax.servlet;version="${imp.pkg.version.javax.servlet
+ }",javax.servlet.http;version="${imp.pkg.version.javax.servlet}",java
+ x.xml.namespace;version="0.0.0",org.apache.axis2.context;resolution:=
+ optional;version="[1.6,2)",org.apache.commons.logging;resolution:=opt
+ ional;version="[1.1,2)",org.apache.stratos.account.mgt.util;resolutio
+ n:=optional,org.osgi.service.component;resolution:=optional;version="
+ [1.2,2)",org.wso2.carbon.core;resolution:=optional;version="[4.0,5)",
+ org.wso2.carbon.email.verification.util;resolution:=optional;version=
+ "[4.1,5)",org.wso2.carbon.registry.core;version="1.0.1",org.wso2.carb
+ on.registry.core.exceptions;version="1.0.1",org.wso2.carbon.registry.
+ core.service;version="1.0.1",org.wso2.carbon.registry.core.session;ve
+ rsion="1.0.1",org.wso2.carbon.registry.core.utils;version="1.0.1",org
+ .wso2.carbon.stratos.common;resolution:=optional;version="[2.1,3)",or
+ g.wso2.carbon.stratos.common.beans;resolution:=optional;version="[2.1
+ ,3)",org.wso2.carbon.stratos.common.exception;resolution:=optional;ve
+ rsion="[2.1,3)",org.wso2.carbon.stratos.common.listeners;resolution:=
+ optional;version="[2.1,3)",org.wso2.carbon.stratos.common.util;resolu
+ tion:=optional;version="[2.1,3)",org.wso2.carbon.tenant.mgt.util;reso
+ lution:=optional;version="[2.1,3)",org.wso2.carbon.user.api;resolutio
+ n:=optional;version="[1.0,2)",org.wso2.carbon.user.core;resolution:=o
+ ptional;version="[4.1,5)",org.wso2.carbon.user.core.service;resolutio
+ n:=optional;version="[4.1,5)",org.wso2.carbon.user.core.tenant;resolu
+ tion:=optional;version="[4.1,5)",org.wso2.carbon.utils;resolution:=op
+ tional;version="[4.1,5)"
+Bundle-DocURL: http://wso2.org
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/META-INF/component.xml
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/META-INF/component.xml b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/META-INF/component.xml
new file mode 100644
index 0000000..e399648
--- /dev/null
+++ b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/META-INF/component.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~  Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+  ~
+  ~  Licensed 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.
+  -->
+
+<component xmlns="http://products.wso2.org/carbon">
+    <ManagementPermissions>
+        <ManagementPermission>
+            <DisplayName>Configure</DisplayName>
+            <ResourceId>/permission/admin/configure</ResourceId>
+        </ManagementPermission>
+        <ManagementPermission>
+            <DisplayName>Account</DisplayName>
+            <ResourceId>/permission/admin/configure/account</ResourceId>
+        </ManagementPermission>
+    </ManagementPermissions>
+</component>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/META-INF/services.xml
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/META-INF/services.xml b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/META-INF/services.xml
new file mode 100644
index 0000000..a5deded
--- /dev/null
+++ b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/META-INF/services.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ !
+ ! Copyright 2006 The Apache Software Foundation.
+ !
+ ! Licensed 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.
+ !-->
+<serviceGroup>
+
+    <service name="AccountMgtService" scope="transportsession">
+        <transports>
+            <transport>https</transport>
+        </transports>
+        <parameter name="ServiceClass" locked="false">
+            org.apache.stratos.account.mgt.services.AccountMgtService
+        </parameter>
+
+        <operation name="updateContact">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/account</parameter>
+        </operation>
+
+        <operation name="getContact">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/account</parameter>
+        </operation>
+
+        <operation name="updateFullname">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/account</parameter>
+        </operation>
+
+        <operation name="getFullname">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/account</parameter>
+        </operation>
+
+        <operation name="deactivate">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/account</parameter>
+        </operation>
+
+        <operation name="isDomainValidated">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/account</parameter>
+        </operation>
+
+        <operation name="finishedDomainValidation">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/account</parameter>
+        </operation>
+
+        <operation name="checkDomainAvailability">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/account</parameter>
+        </operation>
+
+        <operation name="isEmailValidated">
+            <parameter name="AuthorizationAction" locked="true">/permission/admin/configure/account</parameter>
+        </operation>
+        <parameter name="adminService" locked="true">true</parameter>
+    </service>
+
+    <service name="EmailValidationService" scope="transportsession">
+        <transports>
+            <transport>https</transport>
+        </transports>
+        <parameter name="ServiceClass" locked="false">
+            org.apache.stratos.account.mgt.services.EmailValidationService
+        </parameter>
+
+        <operation name="proceedUpdateContact">
+        </operation>
+    </service>
+
+    <parameter name="hiddenService" locked="true">true</parameter>
+
+</serviceGroup>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/beans/AccountInfoBean.class
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/beans/AccountInfoBean.class b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/beans/AccountInfoBean.class
new file mode 100644
index 0000000..8461bbc
Binary files /dev/null and b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/beans/AccountInfoBean.class differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/internal/AccountMgtServiceComponent.class
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/internal/AccountMgtServiceComponent.class b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/internal/AccountMgtServiceComponent.class
new file mode 100644
index 0000000..0d04c15
Binary files /dev/null and b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/internal/AccountMgtServiceComponent.class differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/services/AccountMgtService.class
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/services/AccountMgtService.class b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/services/AccountMgtService.class
new file mode 100644
index 0000000..ac5daf0
Binary files /dev/null and b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/services/AccountMgtService.class differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/services/EmailValidationService.class
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/services/EmailValidationService.class b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/services/EmailValidationService.class
new file mode 100644
index 0000000..03f5e0a
Binary files /dev/null and b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/services/EmailValidationService.class differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/util/Util$1.class
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/util/Util$1.class b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/util/Util$1.class
new file mode 100644
index 0000000..149f82d
Binary files /dev/null and b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/util/Util$1.class differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/util/Util.class
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/util/Util.class b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/util/Util.class
new file mode 100644
index 0000000..f595538
Binary files /dev/null and b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/classes/org/apache/stratos/account/mgt/util/Util.class differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/org.apache.stratos.account.mgt-2.0.0.jar
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/org.apache.stratos.account.mgt-2.0.0.jar b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/org.apache.stratos.account.mgt-2.0.0.jar
new file mode 100644
index 0000000..7303853
Binary files /dev/null and b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/org.apache.stratos.account.mgt-2.0.0.jar differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml
new file mode 100644
index 0000000..03a012e
--- /dev/null
+++ b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metatype:MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.0.0" localization="OSGI-INF/metatype/metatype">
+    <OCD id="org.apache.stratos.account.mgt" name="%org.apache.stratos.account.mgt.name" description="%org.apache.stratos.account.mgt.description"/>
+    <Designate pid="org.apache.stratos.account.mgt">
+        <Object ocdref="org.apache.stratos.account.mgt"/>
+    </Designate>
+</metatype:MetaData>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml
new file mode 100644
index 0000000..359ea17
--- /dev/null
+++ b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0">
+    <scr:component enabled="true" immediate="true" name="org.apache.stratos.account.mgt">
+        <implementation class="org.apache.stratos.account.mgt.internal.AccountMgtServiceComponent"/>
+        <property name="service.pid" value="org.apache.stratos.account.mgt" private="false"/>
+        <reference name="registry.service" interface="org.wso2.carbon.registry.core.service.RegistryService" cardinality="1..1" policy="dynamic" bind="setRegistryService" unbind="unsetRegistryService" checked="true" strategy="event"/>
+        <reference name="user.realmservice.default" interface="org.wso2.carbon.user.core.service.RealmService" cardinality="1..1" policy="dynamic" bind="setRealmService" unbind="unsetRealmService" checked="true" strategy="event"/>
+        <reference name="config.context.service" interface="org.wso2.carbon.utils.ConfigurationContextService" cardinality="1..1" policy="dynamic" bind="setConfigurationContextService" unbind="unsetConfigurationContextService" checked="true" strategy="event"/>
+        <reference name="emailverification.service" interface="org.wso2.carbon.email.verification.util.EmailVerifcationSubscriber" cardinality="1..1" policy="dynamic" bind="setEmailVerificationService" unbind="unsetEmailVerificationService" checked="true" strategy="event"/>
+        <reference name="org.wso2.carbon.tenant.mgt.listener.service" interface="org.wso2.carbon.stratos.common.listeners.TenantMgtListener" cardinality="0..n" policy="dynamic" bind="setTenantMgtListenerService" unbind="unsetTenantMgtListenerService" checked="true" strategy="event"/>
+        <reference name="default.tenant.billing.service" interface="org.wso2.carbon.stratos.common.TenantBillingService" cardinality="1..1" policy="dynamic" bind="setTenantBillingService" unbind="unsetTenantBillingService" checked="true" strategy="event"/>
+    </scr:component>
+</components>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml
new file mode 100644
index 0000000..b45afc3
--- /dev/null
+++ b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0">
+    <scr:component enabled="true" immediate="true" name="org.apache.stratos.account.mgt">
+        <implementation class="org.apache.stratos.account.mgt.internal.AccountMgtServiceComponent"/>
+        <property name="service.pid" value="org.apache.stratos.account.mgt"/>
+        <reference name="registry.service" interface="org.wso2.carbon.registry.core.service.RegistryService" cardinality="1..1" policy="dynamic" bind="setRegistryService" unbind="unsetRegistryService"/>
+        <reference name="user.realmservice.default" interface="org.wso2.carbon.user.core.service.RealmService" cardinality="1..1" policy="dynamic" bind="setRealmService" unbind="unsetRealmService"/>
+        <reference name="config.context.service" interface="org.wso2.carbon.utils.ConfigurationContextService" cardinality="1..1" policy="dynamic" bind="setConfigurationContextService" unbind="unsetConfigurationContextService"/>
+        <reference name="emailverification.service" interface="org.wso2.carbon.email.verification.util.EmailVerifcationSubscriber" cardinality="1..1" policy="dynamic" bind="setEmailVerificationService" unbind="unsetEmailVerificationService"/>
+        <reference name="org.wso2.carbon.tenant.mgt.listener.service" interface="org.wso2.carbon.stratos.common.listeners.TenantMgtListener" cardinality="0..n" policy="dynamic" bind="setTenantMgtListenerService" unbind="unsetTenantMgtListenerService"/>
+        <reference name="default.tenant.billing.service" interface="org.wso2.carbon.stratos.common.TenantBillingService" cardinality="1..1" policy="dynamic" bind="setTenantBillingService" unbind="unsetTenantBillingService"/>
+    </scr:component>
+</components>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/timestamp
----------------------------------------------------------------------
diff --git a/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/timestamp b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/timestamp
new file mode 100644
index 0000000..ca8b8ae
Binary files /dev/null and b/components/account-mgt/org.apache.stratos.account.mgt/2.1.0/target/timestamp differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/service-stubs/org.apache.stratos.tenant.mgt.stub/4.1.0/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.tenant.mgt.stub/4.1.0/pom.xml b/service-stubs/org.apache.stratos.tenant.mgt.stub/4.1.0/pom.xml
new file mode 100644
index 0000000..e84aebd
--- /dev/null
+++ b/service-stubs/org.apache.stratos.tenant.mgt.stub/4.1.0/pom.xml
@@ -0,0 +1,136 @@
+<?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</artifactId>
+        <version>2.0.0</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.apache.stratos.tenant.mgt.stub</artifactId>
+    <packaging>bundle</packaging>
+    <version>4.1.0</version>
+    <name>Apache Stratos - Tenant Management 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/TenantMgtAdminService.wsdl -u -uw -o target/generated-code
+                                    -p org.wso2.carbon.tenant.mgt.stub
+                                    -ns2p http://services.mgt.tenant.carbon.wso2.org=org.wso2.carbon.tenant.mgt.stub.services,http://beans.mgt.tenant.carbon.wso2.org/xsd=org.wso2.carbon.tenant.mgt.stub.beans.xsd,http://beans.common.stratos.carbon.wso2.org/xsd=org.wso2.carbon.tenant.mgt.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.mgt.stub.*; version="${carbon.platform.package.export.version}"
+                        </Export-Package>
+                        <Import-Package>
+			    			!org.wso2.carbon.tenant.mgt.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>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>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/761819e0/service-stubs/org.apache.stratos.tenant.mgt.stub/4.1.0/src/main/resources/TenantMgtAdminService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.tenant.mgt.stub/4.1.0/src/main/resources/TenantMgtAdminService.wsdl b/service-stubs/org.apache.stratos.tenant.mgt.stub/4.1.0/src/main/resources/TenantMgtAdminService.wsdl
new file mode 100644
index 0000000..52e31f0
--- /dev/null
+++ b/service-stubs/org.apache.stratos.tenant.mgt.stub/4.1.0/src/main/resources/TenantMgtAdminService.wsdl
@@ -0,0 +1,616 @@
+<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/incubator-stratos/blob/761819e0/service-stubs/org.wso2.carbon.tenant.mgt.stub/4.1.0/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.wso2.carbon.tenant.mgt.stub/4.1.0/pom.xml b/service-stubs/org.wso2.carbon.tenant.mgt.stub/4.1.0/pom.xml
deleted file mode 100644
index d8216c0..0000000
--- a/service-stubs/org.wso2.carbon.tenant.mgt.stub/4.1.0/pom.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2005-2011, 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.mgt.stub</artifactId>
-    <packaging>bundle</packaging>
-    <version>4.1.0</version>
-    <name>WSO2 Carbon - Tenant Management 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/TenantMgtAdminService.wsdl -u -uw -o target/generated-code
-                                    -p org.wso2.carbon.tenant.mgt.stub
-                                    -ns2p http://services.mgt.tenant.carbon.wso2.org=org.wso2.carbon.tenant.mgt.stub.services,http://beans.mgt.tenant.carbon.wso2.org/xsd=org.wso2.carbon.tenant.mgt.stub.beans.xsd,http://beans.common.stratos.carbon.wso2.org/xsd=org.wso2.carbon.tenant.mgt.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.mgt.stub.*; version="${carbon.platform.package.export.version}"
-                        </Export-Package>
-                        <Import-Package>
-			    			!org.wso2.carbon.tenant.mgt.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>