Repository: stratos
Updated Branches:
  refs/heads/master b5d65bbc3 -> 11b9d636b


http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.usage.stub/src/main/resources/UsageService.wsdl
----------------------------------------------------------------------
diff --git 
a/service-stubs/org.apache.stratos.usage.stub/src/main/resources/UsageService.wsdl
 
b/service-stubs/org.apache.stratos.usage.stub/src/main/resources/UsageService.wsdl
deleted file mode 100644
index 581e97d..0000000
--- 
a/service-stubs/org.apache.stratos.usage.stub/src/main/resources/UsageService.wsdl
+++ /dev/null
@@ -1,561 +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.usage.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:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
xmlns:ax2351="http://beans.usage.stratos.apache.org/xsd"; 
targetNamespace="http://services.usage.stratos.apache.org";>
-    <wsdl:documentation>UsageService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema attributeFormDefault="qualified" 
elementFormDefault="qualified" 
targetNamespace="http://beans.usage.stratos.apache.org/xsd";>
-            <xs:complexType name="TenantUsage">
-                <xs:sequence>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" 
name="apiManagerUsageStats" nillable="true" type="ax2351:APIManagerUsageStats"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" 
name="cartridgeStatistics" nillable="true" type="ax2351:CartridgeStatistics"/>
-                    <xs:element minOccurs="0" name="domain" nillable="true" 
type="xs:string"/>
-                    <xs:element minOccurs="0" name="numberOfUsers" 
type="xs:int"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" 
name="registryBandwidthStatistics" nillable="true" 
type="ax2351:BandwidthStatistics"/>
-                    <xs:element minOccurs="0" name="registryCapacity" 
nillable="true" type="ax2351:TenantDataCapacity"/>
-                    <xs:element minOccurs="0" name="registryContentCapacity" 
type="xs:long"/>
-                    <xs:element minOccurs="0" 
name="registryContentHistoryCapacity" type="xs:long"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" 
name="requestStatistics" nillable="true" type="ax2351:RequestStatistics"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" 
name="serviceBandwidthStatistics" nillable="true" 
type="ax2351:BandwidthStatistics"/>
-                    <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
-                    <xs:element minOccurs="0" name="totalCartridgeHours" 
nillable="true" type="ax2351:CartridgeStatistics"/>
-                    <xs:element minOccurs="0" name="totalIncomingBandwidth" 
type="xs:long"/>
-                    <xs:element minOccurs="0" name="totalOutgoingBandwidth" 
type="xs:long"/>
-                    <xs:element minOccurs="0" name="totalRegistryBandwidth" 
nillable="true" type="ax2351:BandwidthStatistics"/>
-                    <xs:element minOccurs="0" name="totalRequestStatistics" 
nillable="true" type="ax2351:RequestStatistics"/>
-                    <xs:element minOccurs="0" name="totalServiceBandwidth" 
nillable="true" type="ax2351:BandwidthStatistics"/>
-                    <xs:element minOccurs="0" name="totalWebappBandwidth" 
nillable="true" type="ax2351:BandwidthStatistics"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" 
name="usageEntries" nillable="true" type="ax2351:UsageEntry"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" 
name="webappBandwidthStatistics" nillable="true" 
type="ax2351:BandwidthStatistics"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="APIManagerUsageStats">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="incomingBandwidth" 
type="xs:long"/>
-                    <xs:element minOccurs="0" name="key" nillable="true" 
type="xs:string"/>
-                    <xs:element minOccurs="0" name="outgoingBandwidth" 
type="xs:long"/>
-                    <xs:element minOccurs="0" name="requestCount" 
type="xs:long"/>
-                    <xs:element minOccurs="0" name="serverUrl" nillable="true" 
type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="CartridgeStatistics">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="cartridgeHours" 
type="xs:long"/>
-                    <xs:element minOccurs="0" name="instanceId" 
nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="key" nillable="true" 
type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="BandwidthStatistics">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="incomingBandwidth" 
type="xs:long"/>
-                    <xs:element minOccurs="0" name="key" nillable="true" 
type="xs:string"/>
-                    <xs:element minOccurs="0" name="outgoingBandwidth" 
type="xs:long"/>
-                    <xs:element minOccurs="0" name="serverUrl" nillable="true" 
type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="TenantDataCapacity">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="registryContentCapacity" 
type="xs:long"/>
-                    <xs:element minOccurs="0" 
name="registryContentHistoryCapacity" type="xs:long"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="RequestStatistics">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="faultCount" 
type="xs:long"/>
-                    <xs:element minOccurs="0" name="key" nillable="true" 
type="xs:string"/>
-                    <xs:element minOccurs="0" name="requestCount" 
type="xs:long"/>
-                    <xs:element minOccurs="0" name="responseCount" 
type="xs:long"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="UsageEntry">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="key" nillable="true" 
type="xs:string"/>
-                    <xs:element minOccurs="0" name="value" nillable="true" 
type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="PaginatedTenantUsageInfo">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="numberOfPages" 
type="xs:int"/>
-                    <xs:element minOccurs="0" name="pageNumber" type="xs:int"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" 
name="tenantUsages" nillable="true" type="ax2351:TenantUsage"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="PaginatedInstanceUsage">
-                <xs:sequence>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" 
name="instanceUsages" nillable="true" type="ax2351:InstanceUsageStatics"/>
-                    <xs:element minOccurs="0" name="numberOfPages" 
type="xs:int"/>
-                    <xs:element minOccurs="0" name="pageNumber" type="xs:int"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="InstanceUsageStatics">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="instanceID" 
nillable="true" type="xs:int"/>
-                    <xs:element minOccurs="0" name="instanceURL" 
nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="running" 
type="xs:boolean"/>
-                    <xs:element minOccurs="0" name="startTime" nillable="true" 
type="xs:dateTime"/>
-                    <xs:element minOccurs="0" name="stopTime" nillable="true" 
type="xs:dateTime"/>
-                    <xs:element minOccurs="0" name="usedTimeInSeconds" 
type="xs:long"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-        <xs:schema xmlns:ax2352="http://beans.usage.stratos.apache.org/xsd"; 
attributeFormDefault="qualified" elementFormDefault="qualified" 
targetNamespace="http://services.usage.stratos.apache.org";>
-            <xs:import namespace="http://beans.usage.stratos.apache.org/xsd"/>
-            <xs:element name="UsageServiceException">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="UsageServiceException" 
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="retrieveTenantUsages">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="yearMonth" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrieveTenantUsagesResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element maxOccurs="unbounded" minOccurs="0" 
name="return" nillable="true" type="ax2352:TenantUsage"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrieveTenantUsage">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="yearMonth" 
nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="tenantId" 
type="xs:int"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrieveTenantUsageResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="ax2352:TenantUsage"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrievePaginatedTenantUsages">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="yearMonth" 
nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="pageNumber" 
type="xs:int"/>
-                        <xs:element minOccurs="0" name="entriesPerPage" 
type="xs:int"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrievePaginatedTenantUsagesResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="ax2352:PaginatedTenantUsageInfo"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrievePaginatedInstanceUsage">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="yearMonth" 
nillable="true" type="xs:string"/>
-                        <xs:element minOccurs="0" name="pageNumber" 
type="xs:int"/>
-                        <xs:element minOccurs="0" name="entriesPerPage" 
type="xs:int"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrievePaginatedInstanceUsageResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="ax2352:PaginatedInstanceUsage"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrieveInstanceUsage">
-                <xs:complexType>
-                    <xs:sequence/>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrieveInstanceUsageResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element maxOccurs="unbounded" minOccurs="0" 
name="return" nillable="true" type="ax2352:InstanceUsageStatics"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrieveCurrentTenantUsage">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="yearMonth" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="retrieveCurrentTenantUsageResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="ax2352:TenantUsage"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getValidUsageEntry">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="usage" nillable="true" 
type="ax2352:InstanceUsageStatics"/>
-                        <xs:element minOccurs="0" name="yearMonth" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getValidUsageEntryResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="ax2352:InstanceUsageStatics"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-        </xs:schema>
-    </wsdl:types>
-    <wsdl:message name="retrievePaginatedTenantUsagesRequest">
-        <wsdl:part name="parameters" 
element="ns:retrievePaginatedTenantUsages"/>
-    </wsdl:message>
-    <wsdl:message name="retrievePaginatedTenantUsagesResponse">
-        <wsdl:part name="parameters" 
element="ns:retrievePaginatedTenantUsagesResponse"/>
-    </wsdl:message>
-    <wsdl:message name="UsageServiceException">
-        <wsdl:part name="parameters" element="ns:UsageServiceException"/>
-    </wsdl:message>
-    <wsdl:message name="getValidUsageEntryRequest">
-        <wsdl:part name="parameters" element="ns:getValidUsageEntry"/>
-    </wsdl:message>
-    <wsdl:message name="getValidUsageEntryResponse">
-        <wsdl:part name="parameters" element="ns:getValidUsageEntryResponse"/>
-    </wsdl:message>
-    <wsdl:message name="retrieveCurrentTenantUsageRequest">
-        <wsdl:part name="parameters" element="ns:retrieveCurrentTenantUsage"/>
-    </wsdl:message>
-    <wsdl:message name="retrieveCurrentTenantUsageResponse">
-        <wsdl:part name="parameters" 
element="ns:retrieveCurrentTenantUsageResponse"/>
-    </wsdl:message>
-    <wsdl:message name="retrieveTenantUsagesRequest">
-        <wsdl:part name="parameters" element="ns:retrieveTenantUsages"/>
-    </wsdl:message>
-    <wsdl:message name="retrieveTenantUsagesResponse">
-        <wsdl:part name="parameters" 
element="ns:retrieveTenantUsagesResponse"/>
-    </wsdl:message>
-    <wsdl:message name="retrieveTenantUsageRequest">
-        <wsdl:part name="parameters" element="ns:retrieveTenantUsage"/>
-    </wsdl:message>
-    <wsdl:message name="retrieveTenantUsageResponse">
-        <wsdl:part name="parameters" element="ns:retrieveTenantUsageResponse"/>
-    </wsdl:message>
-    <wsdl:message name="retrieveInstanceUsageRequest">
-        <wsdl:part name="parameters" element="ns:retrieveInstanceUsage"/>
-    </wsdl:message>
-    <wsdl:message name="retrieveInstanceUsageResponse">
-        <wsdl:part name="parameters" 
element="ns:retrieveInstanceUsageResponse"/>
-    </wsdl:message>
-    <wsdl:message name="retrievePaginatedInstanceUsageRequest">
-        <wsdl:part name="parameters" 
element="ns:retrievePaginatedInstanceUsage"/>
-    </wsdl:message>
-    <wsdl:message name="retrievePaginatedInstanceUsageResponse">
-        <wsdl:part name="parameters" 
element="ns:retrievePaginatedInstanceUsageResponse"/>
-    </wsdl:message>
-    <wsdl:portType name="UsageServicePortType">
-        <wsdl:operation name="retrievePaginatedTenantUsages">
-            <wsdl:input message="ns:retrievePaginatedTenantUsagesRequest" 
wsaw:Action="urn:retrievePaginatedTenantUsages"/>
-            <wsdl:output message="ns:retrievePaginatedTenantUsagesResponse" 
wsaw:Action="urn:retrievePaginatedTenantUsagesResponse"/>
-            <wsdl:fault message="ns:UsageServiceException" 
name="UsageServiceException" 
wsaw:Action="urn:retrievePaginatedTenantUsagesUsageServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="getValidUsageEntry">
-            <wsdl:input message="ns:getValidUsageEntryRequest" 
wsaw:Action="urn:getValidUsageEntry"/>
-            <wsdl:output message="ns:getValidUsageEntryResponse" 
wsaw:Action="urn:getValidUsageEntryResponse"/>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveCurrentTenantUsage">
-            <wsdl:input message="ns:retrieveCurrentTenantUsageRequest" 
wsaw:Action="urn:retrieveCurrentTenantUsage"/>
-            <wsdl:output message="ns:retrieveCurrentTenantUsageResponse" 
wsaw:Action="urn:retrieveCurrentTenantUsageResponse"/>
-            <wsdl:fault message="ns:UsageServiceException" 
name="UsageServiceException" 
wsaw:Action="urn:retrieveCurrentTenantUsageUsageServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveTenantUsages">
-            <wsdl:input message="ns:retrieveTenantUsagesRequest" 
wsaw:Action="urn:retrieveTenantUsages"/>
-            <wsdl:output message="ns:retrieveTenantUsagesResponse" 
wsaw:Action="urn:retrieveTenantUsagesResponse"/>
-            <wsdl:fault message="ns:UsageServiceException" 
name="UsageServiceException" 
wsaw:Action="urn:retrieveTenantUsagesUsageServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveTenantUsage">
-            <wsdl:input message="ns:retrieveTenantUsageRequest" 
wsaw:Action="urn:retrieveTenantUsage"/>
-            <wsdl:output message="ns:retrieveTenantUsageResponse" 
wsaw:Action="urn:retrieveTenantUsageResponse"/>
-            <wsdl:fault message="ns:UsageServiceException" 
name="UsageServiceException" 
wsaw:Action="urn:retrieveTenantUsageUsageServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveInstanceUsage">
-            <wsdl:input message="ns:retrieveInstanceUsageRequest" 
wsaw:Action="urn:retrieveInstanceUsage"/>
-            <wsdl:output message="ns:retrieveInstanceUsageResponse" 
wsaw:Action="urn:retrieveInstanceUsageResponse"/>
-            <wsdl:fault message="ns:UsageServiceException" 
name="UsageServiceException" 
wsaw:Action="urn:retrieveInstanceUsageUsageServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedInstanceUsage">
-            <wsdl:input message="ns:retrievePaginatedInstanceUsageRequest" 
wsaw:Action="urn:retrievePaginatedInstanceUsage"/>
-            <wsdl:output message="ns:retrievePaginatedInstanceUsageResponse" 
wsaw:Action="urn:retrievePaginatedInstanceUsageResponse"/>
-            <wsdl:fault message="ns:UsageServiceException" 
name="UsageServiceException" 
wsaw:Action="urn:retrievePaginatedInstanceUsageUsageServiceException"/>
-        </wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="UsageServiceSoap11Binding" 
type="ns:UsageServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
-        <wsdl:operation name="retrievePaginatedTenantUsages">
-            <soap:operation soapAction="urn:retrievePaginatedTenantUsages" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="UsageServiceException">
-                <soap:fault use="literal" name="UsageServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getValidUsageEntry">
-            <soap:operation soapAction="urn:getValidUsageEntry" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveCurrentTenantUsage">
-            <soap:operation soapAction="urn:retrieveCurrentTenantUsage" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="UsageServiceException">
-                <soap:fault use="literal" name="UsageServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveTenantUsages">
-            <soap:operation soapAction="urn:retrieveTenantUsages" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="UsageServiceException">
-                <soap:fault use="literal" name="UsageServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveTenantUsage">
-            <soap:operation soapAction="urn:retrieveTenantUsage" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="UsageServiceException">
-                <soap:fault use="literal" name="UsageServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveInstanceUsage">
-            <soap:operation soapAction="urn:retrieveInstanceUsage" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="UsageServiceException">
-                <soap:fault use="literal" name="UsageServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedInstanceUsage">
-            <soap:operation soapAction="urn:retrievePaginatedInstanceUsage" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="UsageServiceException">
-                <soap:fault use="literal" name="UsageServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="UsageServiceSoap12Binding" 
type="ns:UsageServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
-        <wsdl:operation name="retrievePaginatedTenantUsages">
-            <soap12:operation soapAction="urn:retrievePaginatedTenantUsages" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="UsageServiceException">
-                <soap12:fault use="literal" name="UsageServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getValidUsageEntry">
-            <soap12:operation soapAction="urn:getValidUsageEntry" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveCurrentTenantUsage">
-            <soap12:operation soapAction="urn:retrieveCurrentTenantUsage" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="UsageServiceException">
-                <soap12:fault use="literal" name="UsageServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveTenantUsages">
-            <soap12:operation soapAction="urn:retrieveTenantUsages" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="UsageServiceException">
-                <soap12:fault use="literal" name="UsageServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveTenantUsage">
-            <soap12:operation soapAction="urn:retrieveTenantUsage" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="UsageServiceException">
-                <soap12:fault use="literal" name="UsageServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrieveInstanceUsage">
-            <soap12:operation soapAction="urn:retrieveInstanceUsage" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="UsageServiceException">
-                <soap12:fault use="literal" name="UsageServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="retrievePaginatedInstanceUsage">
-            <soap12:operation soapAction="urn:retrievePaginatedInstanceUsage" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="UsageServiceException">
-                <soap12:fault use="literal" name="UsageServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="UsageServiceHttpBinding" 
type="ns:UsageServicePortType">
-        <http:binding verb="POST"/>
-        <wsdl:operation name="retrievePaginatedTenantUsages">
-            <http:operation location="retrievePaginatedTenantUsages"/>
-            <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="getValidUsageEntry">
-            <http:operation location="getValidUsageEntry"/>
-            <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="retrieveCurrentTenantUsage">
-            <http:operation location="retrieveCurrentTenantUsage"/>
-            <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="retrieveTenantUsages">
-            <http:operation location="retrieveTenantUsages"/>
-            <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="retrieveTenantUsage">
-            <http:operation location="retrieveTenantUsage"/>
-            <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="retrieveInstanceUsage">
-            <http:operation location="retrieveInstanceUsage"/>
-            <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="retrievePaginatedInstanceUsage">
-            <http:operation location="retrievePaginatedInstanceUsage"/>
-            <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="UsageService">
-        <wsdl:port name="UsageServiceHttpsSoap11Endpoint" 
binding="ns:UsageServiceSoap11Binding">
-            <soap:address 
location="https://10.100.2.91:9443/services/UsageService.UsageServiceHttpsSoap11Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="UsageServiceHttpsSoap12Endpoint" 
binding="ns:UsageServiceSoap12Binding">
-            <soap12:address 
location="https://10.100.2.91:9443/services/UsageService.UsageServiceHttpsSoap12Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="UsageServiceHttpsEndpoint" 
binding="ns:UsageServiceHttpBinding">
-            <http:address 
location="https://10.100.2.91:9443/services/UsageService.UsageServiceHttpsEndpoint/"/>
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>

http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.validate.domain.stub/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.validate.domain.stub/pom.xml 
b/service-stubs/org.apache.stratos.validate.domain.stub/pom.xml
deleted file mode 100644
index 0c96e10..0000000
--- a/service-stubs/org.apache.stratos.validate.domain.stub/pom.xml
+++ /dev/null
@@ -1,150 +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.validate.domain.stub</artifactId>
-    <packaging>bundle</packaging>
-    <name>Apache Stratos - Validate Domains 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/${axiom.wso2.version}/axiom-${axiom.wso2.version}.jar"
 />-->
-                                    <pathelement 
location="${settings.localRepository}/org/apache/ws/commons/axiom/wso2/axiom/1.2.11.wso2v4/axiom-1.2.11.wso2v4.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"
 />
-                                </path>
-
-                                <java 
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
-                                    <arg line="-uri 
src/main/resources/ValidateDomainService.wsdl -u -uw -o target/generated-code 
-p org.apache.stratos.validate.domain.stub.services -ns2p 
http://services.domain.validate.stratos.apache.org=org.apache.stratos.validate.domain.stub.services,http://util.domain.validate.stratos.apache.org/xsd=org.apache.stratos.validate.domain.stub.xsd,http://exceptions.core.registry.carbon.wso2.org/xsd=org.apache.stratos.validate.domain.stub.exceptions";
 />
-                                    <!--<classpath 
refid="maven.dependency.classpath" />
-                                    <classpath refid="maven.compile.classpath" 
/>
-                                    <classpath refid="maven.runtime.classpath" 
/>-->
-                                    <classpath refid="wsdl2java.classpath" />
-                                </java>
-                                <java 
classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
-                                    <arg line="-uri 
src/main/resources/ValidateDomainAdminService.wsdl -u -uw -o 
target/generated-code -p org.apache.stratos.validate.domain.stub.services -ns2p 
http://services.domain.validate.stratos.apache.org=org.apache.stratos.validate.domain.stub.services,http://util.domain.validate.stratos.apache.org/xsd=org.apache.stratos.validate.domain.stub.xsd,http://exceptions.core.registry.carbon.wso2.org/xsd=org.apache.stratos.validate.domain.stub.exceptions";
 />
-                                    <!--<classpath 
refid="maven.dependency.classpath" />
-                                    <classpath refid="maven.compile.classpath" 
/>
-                                    <classpath refid="maven.runtime.classpath" 
/>-->
-                                    <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.validate.domain.stub.*;
-                            version="${project.version}"
-                        </Export-Package>
-                        <Import-Package>
-                            !org.apache.stratos.validate.domain.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>
-            <version>1.6.2.wso2v4</version>
-        </dependency>
-        <dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-            <version>1.1.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.schema.wso2</groupId>
-            <artifactId>XmlSchema</artifactId>
-            <version>${xmlschema.wso2.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-            <artifactId>axiom</artifactId>
-            <version>${orbit.version.axiom}</version>
-        </dependency>
-
-    </dependencies>
-    <properties>
-        <orbit.version.axiom>1.2.11.wso2v3</orbit.version.axiom>
-    </properties>
-</project>

http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.validate.domain.stub/src/main/resources/ValidateDomainAdminService.wsdl
----------------------------------------------------------------------
diff --git 
a/service-stubs/org.apache.stratos.validate.domain.stub/src/main/resources/ValidateDomainAdminService.wsdl
 
b/service-stubs/org.apache.stratos.validate.domain.stub/src/main/resources/ValidateDomainAdminService.wsdl
deleted file mode 100644
index 65df5a6..0000000
--- 
a/service-stubs/org.apache.stratos.validate.domain.stub/src/main/resources/ValidateDomainAdminService.wsdl
+++ /dev/null
@@ -1,246 +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.domain.validate.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:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
targetNamespace="http://services.domain.validate.stratos.apache.org";>
-    <wsdl:documentation>ValidateDomainAdminService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema attributeFormDefault="qualified" 
elementFormDefault="qualified" 
targetNamespace="http://services.domain.validate.stratos.apache.org";>
-            <xs:element name="ValidateDomainAdminServiceException">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" 
name="ValidateDomainAdminServiceException" 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="validateByTextInRoot">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domain" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="validateByTextInRootResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="validateByDNSEntry">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domain" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="validateByDNSEntryResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getDomainValidationKey">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domain" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getDomainValidationKeyResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-        </xs:schema>
-    </wsdl:types>
-    <wsdl:message name="validateByTextInRootRequest">
-        <wsdl:part name="parameters" element="ns:validateByTextInRoot"/>
-    </wsdl:message>
-    <wsdl:message name="validateByTextInRootResponse">
-        <wsdl:part name="parameters" 
element="ns:validateByTextInRootResponse"/>
-    </wsdl:message>
-    <wsdl:message name="ValidateDomainAdminServiceException">
-        <wsdl:part name="parameters" 
element="ns:ValidateDomainAdminServiceException"/>
-    </wsdl:message>
-    <wsdl:message name="validateByDNSEntryRequest">
-        <wsdl:part name="parameters" element="ns:validateByDNSEntry"/>
-    </wsdl:message>
-    <wsdl:message name="validateByDNSEntryResponse">
-        <wsdl:part name="parameters" element="ns:validateByDNSEntryResponse"/>
-    </wsdl:message>
-    <wsdl:message name="getDomainValidationKeyRequest">
-        <wsdl:part name="parameters" element="ns:getDomainValidationKey"/>
-    </wsdl:message>
-    <wsdl:message name="getDomainValidationKeyResponse">
-        <wsdl:part name="parameters" 
element="ns:getDomainValidationKeyResponse"/>
-    </wsdl:message>
-    <wsdl:portType name="ValidateDomainAdminServicePortType">
-        <wsdl:operation name="validateByTextInRoot">
-            <wsdl:input message="ns:validateByTextInRootRequest" 
wsaw:Action="urn:validateByTextInRoot"/>
-            <wsdl:output message="ns:validateByTextInRootResponse" 
wsaw:Action="urn:validateByTextInRootResponse"/>
-            <wsdl:fault message="ns:ValidateDomainAdminServiceException" 
name="ValidateDomainAdminServiceException" 
wsaw:Action="urn:validateByTextInRootValidateDomainAdminServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="validateByDNSEntry">
-            <wsdl:input message="ns:validateByDNSEntryRequest" 
wsaw:Action="urn:validateByDNSEntry"/>
-            <wsdl:output message="ns:validateByDNSEntryResponse" 
wsaw:Action="urn:validateByDNSEntryResponse"/>
-            <wsdl:fault message="ns:ValidateDomainAdminServiceException" 
name="ValidateDomainAdminServiceException" 
wsaw:Action="urn:validateByDNSEntryValidateDomainAdminServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="getDomainValidationKey">
-            <wsdl:input message="ns:getDomainValidationKeyRequest" 
wsaw:Action="urn:getDomainValidationKey"/>
-            <wsdl:output message="ns:getDomainValidationKeyResponse" 
wsaw:Action="urn:getDomainValidationKeyResponse"/>
-            <wsdl:fault message="ns:ValidateDomainAdminServiceException" 
name="ValidateDomainAdminServiceException" 
wsaw:Action="urn:getDomainValidationKeyValidateDomainAdminServiceException"/>
-        </wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="ValidateDomainAdminServiceSoap11Binding" 
type="ns:ValidateDomainAdminServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
-        <wsdl:operation name="validateByTextInRoot">
-            <soap:operation soapAction="urn:validateByTextInRoot" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="ValidateDomainAdminServiceException">
-                <soap:fault use="literal" 
name="ValidateDomainAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="validateByDNSEntry">
-            <soap:operation soapAction="urn:validateByDNSEntry" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="ValidateDomainAdminServiceException">
-                <soap:fault use="literal" 
name="ValidateDomainAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getDomainValidationKey">
-            <soap:operation soapAction="urn:getDomainValidationKey" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="ValidateDomainAdminServiceException">
-                <soap:fault use="literal" 
name="ValidateDomainAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="ValidateDomainAdminServiceSoap12Binding" 
type="ns:ValidateDomainAdminServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
-        <wsdl:operation name="validateByTextInRoot">
-            <soap12:operation soapAction="urn:validateByTextInRoot" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="ValidateDomainAdminServiceException">
-                <soap12:fault use="literal" 
name="ValidateDomainAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="validateByDNSEntry">
-            <soap12:operation soapAction="urn:validateByDNSEntry" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="ValidateDomainAdminServiceException">
-                <soap12:fault use="literal" 
name="ValidateDomainAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getDomainValidationKey">
-            <soap12:operation soapAction="urn:getDomainValidationKey" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="ValidateDomainAdminServiceException">
-                <soap12:fault use="literal" 
name="ValidateDomainAdminServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="ValidateDomainAdminServiceHttpBinding" 
type="ns:ValidateDomainAdminServicePortType">
-        <http:binding verb="POST"/>
-        <wsdl:operation name="validateByTextInRoot">
-            <http:operation location="validateByTextInRoot"/>
-            <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="validateByDNSEntry">
-            <http:operation location="validateByDNSEntry"/>
-            <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="getDomainValidationKey">
-            <http:operation location="getDomainValidationKey"/>
-            <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="ValidateDomainAdminService">
-        <wsdl:port name="ValidateDomainAdminServiceHttpsSoap11Endpoint" 
binding="ns:ValidateDomainAdminServiceSoap11Binding">
-            <soap:address 
location="https://10.100.1.124:9443/services/ValidateDomainAdminService.ValidateDomainAdminServiceHttpsSoap11Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="ValidateDomainAdminServiceHttpSoap11Endpoint" 
binding="ns:ValidateDomainAdminServiceSoap11Binding">
-            <soap:address 
location="http://10.100.1.124:9763/services/ValidateDomainAdminService.ValidateDomainAdminServiceHttpSoap11Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="ValidateDomainAdminServiceHttpSoap12Endpoint" 
binding="ns:ValidateDomainAdminServiceSoap12Binding">
-            <soap12:address 
location="http://10.100.1.124:9763/services/ValidateDomainAdminService.ValidateDomainAdminServiceHttpSoap12Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="ValidateDomainAdminServiceHttpsSoap12Endpoint" 
binding="ns:ValidateDomainAdminServiceSoap12Binding">
-            <soap12:address 
location="https://10.100.1.124:9443/services/ValidateDomainAdminService.ValidateDomainAdminServiceHttpsSoap12Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="ValidateDomainAdminServiceHttpsEndpoint" 
binding="ns:ValidateDomainAdminServiceHttpBinding">
-            <http:address 
location="https://10.100.1.124:9443/services/ValidateDomainAdminService.ValidateDomainAdminServiceHttpsEndpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="ValidateDomainAdminServiceHttpEndpoint" 
binding="ns:ValidateDomainAdminServiceHttpBinding">
-            <http:address 
location="http://10.100.1.124:9763/services/ValidateDomainAdminService.ValidateDomainAdminServiceHttpEndpoint/"/>
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>

http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.validate.domain.stub/src/main/resources/ValidateDomainService.wsdl
----------------------------------------------------------------------
diff --git 
a/service-stubs/org.apache.stratos.validate.domain.stub/src/main/resources/ValidateDomainService.wsdl
 
b/service-stubs/org.apache.stratos.validate.domain.stub/src/main/resources/ValidateDomainService.wsdl
deleted file mode 100644
index 1ceb508..0000000
--- 
a/service-stubs/org.apache.stratos.validate.domain.stub/src/main/resources/ValidateDomainService.wsdl
+++ /dev/null
@@ -1,246 +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.domain.validate.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:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
targetNamespace="http://services.domain.validate.stratos.apache.org";>
-    <wsdl:documentation>ValidateDomainService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema attributeFormDefault="qualified" 
elementFormDefault="qualified" 
targetNamespace="http://services.domain.validate.stratos.apache.org";>
-            <xs:element name="ValidateDomainServiceException">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" 
name="ValidateDomainServiceException" 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="validateByTextInRoot">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domain" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="validateByTextInRootResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="validateByDNSEntry">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domain" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="validateByDNSEntryResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getDomainValidationKey">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="domain" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="getDomainValidationKeyResponse">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="return" 
nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-        </xs:schema>
-    </wsdl:types>
-    <wsdl:message name="validateByTextInRootRequest">
-        <wsdl:part name="parameters" element="ns:validateByTextInRoot"/>
-    </wsdl:message>
-    <wsdl:message name="validateByTextInRootResponse">
-        <wsdl:part name="parameters" 
element="ns:validateByTextInRootResponse"/>
-    </wsdl:message>
-    <wsdl:message name="ValidateDomainServiceException">
-        <wsdl:part name="parameters" 
element="ns:ValidateDomainServiceException"/>
-    </wsdl:message>
-    <wsdl:message name="validateByDNSEntryRequest">
-        <wsdl:part name="parameters" element="ns:validateByDNSEntry"/>
-    </wsdl:message>
-    <wsdl:message name="validateByDNSEntryResponse">
-        <wsdl:part name="parameters" element="ns:validateByDNSEntryResponse"/>
-    </wsdl:message>
-    <wsdl:message name="getDomainValidationKeyRequest">
-        <wsdl:part name="parameters" element="ns:getDomainValidationKey"/>
-    </wsdl:message>
-    <wsdl:message name="getDomainValidationKeyResponse">
-        <wsdl:part name="parameters" 
element="ns:getDomainValidationKeyResponse"/>
-    </wsdl:message>
-    <wsdl:portType name="ValidateDomainServicePortType">
-        <wsdl:operation name="validateByTextInRoot">
-            <wsdl:input message="ns:validateByTextInRootRequest" 
wsaw:Action="urn:validateByTextInRoot"/>
-            <wsdl:output message="ns:validateByTextInRootResponse" 
wsaw:Action="urn:validateByTextInRootResponse"/>
-            <wsdl:fault message="ns:ValidateDomainServiceException" 
name="ValidateDomainServiceException" 
wsaw:Action="urn:validateByTextInRootValidateDomainServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="validateByDNSEntry">
-            <wsdl:input message="ns:validateByDNSEntryRequest" 
wsaw:Action="urn:validateByDNSEntry"/>
-            <wsdl:output message="ns:validateByDNSEntryResponse" 
wsaw:Action="urn:validateByDNSEntryResponse"/>
-            <wsdl:fault message="ns:ValidateDomainServiceException" 
name="ValidateDomainServiceException" 
wsaw:Action="urn:validateByDNSEntryValidateDomainServiceException"/>
-        </wsdl:operation>
-        <wsdl:operation name="getDomainValidationKey">
-            <wsdl:input message="ns:getDomainValidationKeyRequest" 
wsaw:Action="urn:getDomainValidationKey"/>
-            <wsdl:output message="ns:getDomainValidationKeyResponse" 
wsaw:Action="urn:getDomainValidationKeyResponse"/>
-            <wsdl:fault message="ns:ValidateDomainServiceException" 
name="ValidateDomainServiceException" 
wsaw:Action="urn:getDomainValidationKeyValidateDomainServiceException"/>
-        </wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="ValidateDomainServiceSoap11Binding" 
type="ns:ValidateDomainServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
-        <wsdl:operation name="validateByTextInRoot">
-            <soap:operation soapAction="urn:validateByTextInRoot" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="ValidateDomainServiceException">
-                <soap:fault use="literal" 
name="ValidateDomainServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="validateByDNSEntry">
-            <soap:operation soapAction="urn:validateByDNSEntry" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="ValidateDomainServiceException">
-                <soap:fault use="literal" 
name="ValidateDomainServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getDomainValidationKey">
-            <soap:operation soapAction="urn:getDomainValidationKey" 
style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="ValidateDomainServiceException">
-                <soap:fault use="literal" 
name="ValidateDomainServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="ValidateDomainServiceSoap12Binding" 
type="ns:ValidateDomainServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
-        <wsdl:operation name="validateByTextInRoot">
-            <soap12:operation soapAction="urn:validateByTextInRoot" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="ValidateDomainServiceException">
-                <soap12:fault use="literal" 
name="ValidateDomainServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="validateByDNSEntry">
-            <soap12:operation soapAction="urn:validateByDNSEntry" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="ValidateDomainServiceException">
-                <soap12:fault use="literal" 
name="ValidateDomainServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-        <wsdl:operation name="getDomainValidationKey">
-            <soap12:operation soapAction="urn:getDomainValidationKey" 
style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-            <wsdl:output>
-                <soap12:body use="literal"/>
-            </wsdl:output>
-            <wsdl:fault name="ValidateDomainServiceException">
-                <soap12:fault use="literal" 
name="ValidateDomainServiceException"/>
-            </wsdl:fault>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="ValidateDomainServiceHttpBinding" 
type="ns:ValidateDomainServicePortType">
-        <http:binding verb="POST"/>
-        <wsdl:operation name="validateByTextInRoot">
-            <http:operation location="validateByTextInRoot"/>
-            <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="validateByDNSEntry">
-            <http:operation location="validateByDNSEntry"/>
-            <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="getDomainValidationKey">
-            <http:operation location="getDomainValidationKey"/>
-            <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="ValidateDomainService">
-        <wsdl:port name="ValidateDomainServiceHttpSoap11Endpoint" 
binding="ns:ValidateDomainServiceSoap11Binding">
-            <soap:address 
location="http://10.100.1.124:9763/services/ValidateDomainService.ValidateDomainServiceHttpSoap11Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="ValidateDomainServiceHttpsSoap11Endpoint" 
binding="ns:ValidateDomainServiceSoap11Binding">
-            <soap:address 
location="https://10.100.1.124:9443/services/ValidateDomainService.ValidateDomainServiceHttpsSoap11Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="ValidateDomainServiceHttpSoap12Endpoint" 
binding="ns:ValidateDomainServiceSoap12Binding">
-            <soap12:address 
location="http://10.100.1.124:9763/services/ValidateDomainService.ValidateDomainServiceHttpSoap12Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="ValidateDomainServiceHttpsSoap12Endpoint" 
binding="ns:ValidateDomainServiceSoap12Binding">
-            <soap12:address 
location="https://10.100.1.124:9443/services/ValidateDomainService.ValidateDomainServiceHttpsSoap12Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="ValidateDomainServiceHttpsEndpoint" 
binding="ns:ValidateDomainServiceHttpBinding">
-            <http:address 
location="https://10.100.1.124:9443/services/ValidateDomainService.ValidateDomainServiceHttpsEndpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="ValidateDomainServiceHttpEndpoint" 
binding="ns:ValidateDomainServiceHttpBinding">
-            <http:address 
location="http://10.100.1.124:9763/services/ValidateDomainService.ValidateDomainServiceHttpEndpoint/"/>
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>

http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/pom.xml b/service-stubs/pom.xml
index 857ed08..4a8fc06 100644
--- a/service-stubs/pom.xml
+++ b/service-stubs/pom.xml
@@ -36,26 +36,7 @@
     <modules>                            
         <module>org.apache.stratos.cloud.controller.service.stub</module>
         <module>org.apache.stratos.manager.service.stub</module>
-        <module>org.apache.stratos.account.mgt.stub</module>
         <module>org.apache.stratos.common.stub</module>
-        <module>org.apache.stratos.usage.stub</module>
-        <module>org.apache.stratos.throttling.agent.stub</module>
-        <module>org.apache.stratos.throttling.stub</module>
-        <module>org.apache.stratos.tenant.register.stub</module>
-        <module>org.apache.stratos.cartridge.agent.stub</module>
-        <module>org.apache.stratos.tenant.activity.stub</module>
-        <!--<module>org.apache.stratos.theme.mgt.stub</module>-->
-        <module>org.apache.stratos.validate.domain.stub</module>
-        <module>org.apache.stratos.adc.instanceinfo.mgt.stub</module>
-        <module>org.apache.stratos.tenant.register.gapp.stub</module>
-        <!--<module>org.apache.stratos.redirector.servlet.stub</module>-->
-        <module>org.apache.stratos.adc.reponotification.service.stub</module>
-        <module>org.apache.stratos.billing.mgt.stub</module>
-        <module>org.apache.stratos.throttle.stub</module>
-        <module>org.apache.stratos.usage.meteringqueryds.stub</module>
-        <module>org.apache.stratos.manager.dashboard.stub</module>
-        <module>org.apache.stratos.manager.cleanup.notification.stub</module>
-        
<module>org.apache.stratos.usage.meteringsummarygenerationds.stub</module>
         <module>org.apache.stratos.autoscaler.service.stub</module>
     </modules>
 

Reply via email to