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/24 19:28:03 UTC
[2/2] git commit: Refactored Billing Management Service Stub and
Added to Service Stubs
Refactored Billing Management Service Stub and Added to Service Stubs
Signed-off-by: Isuru Perera <is...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/0078bd84
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/0078bd84
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/0078bd84
Branch: refs/heads/master
Commit: 0078bd846e81d061ebc0dfe3d83071bee6c78cdd
Parents: aa6f9a0
Author: Imesh Gunaratne <im...@wso2.com>
Authored: Wed Jul 24 22:38:56 2013 +0530
Committer: Isuru Perera <is...@apache.org>
Committed: Wed Jul 24 22:57:00 2013 +0530
----------------------------------------------------------------------
.../find-tenant-ajaxprocessor.jsp | 4 +-
.../tenant-activity/get-data-ajaxprocessor.jsp | 4 +-
components/stratos/pom.xml | 6 +-
.../modules/distribution/LICENSE.txt | 2 +-
.../org.apache.stratos.billing.mgt.stub/pom.xml | 122 +++
.../resources/MultitenancyBillingService.wsdl | 781 +++++++++++++++++++
service-stubs/pom.xml | 1 +
7 files changed, 912 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0078bd84/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/find-tenant-ajaxprocessor.jsp
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/find-tenant-ajaxprocessor.jsp b/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/find-tenant-ajaxprocessor.jsp
index 8aeb7e0..85aa767 100644
--- a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/find-tenant-ajaxprocessor.jsp
+++ b/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/find-tenant-ajaxprocessor.jsp
@@ -18,8 +18,8 @@
-->
<%@page contentType="text/html" pageEncoding="UTF-8" %>
<%@ page import="org.json.JSONObject" %>
-<%@ page import="org.wso2.carbon.billing.mgt.stub.beans.xsd.Invoice" %>
-<%@ page import="org.wso2.carbon.billing.mgt.stub.beans.xsd.Payment" %>
+<%@ page import="org.apache.stratos.billing.mgt.stub.beans.xsd.Invoice" %>
+<%@ page import="org.apache.stratos.billing.mgt.stub.beans.xsd.Payment" %>
<%@ page import="org.wso2.carbon.billing.mgt.ui.utils.BillingUtil" %>
<%@ page import="java.util.Date" %>
<%@ page import="org.apache.stratos.tenant.activity.ui.clients.TenantActivityServiceClient" %>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0078bd84/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/get-data-ajaxprocessor.jsp
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/get-data-ajaxprocessor.jsp b/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/get-data-ajaxprocessor.jsp
index 1191a4e..21a6258 100644
--- a/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/get-data-ajaxprocessor.jsp
+++ b/components/org.apache.stratos.tenant.activity.ui/src/main/resources/web/tenant-activity/get-data-ajaxprocessor.jsp
@@ -18,8 +18,8 @@
-->
<%@page contentType="text/html" pageEncoding="UTF-8" %>
<%@ page import="org.json.JSONObject" %>
-<%@ page import="org.wso2.carbon.billing.mgt.stub.beans.xsd.Invoice" %>
-<%@ page import="org.wso2.carbon.billing.mgt.stub.beans.xsd.Payment" %>
+<%@ page import="org.apache.stratos.billing.mgt.stub.beans.xsd.Invoice" %>
+<%@ page import="org.apache.stratos.billing.mgt.stub.beans.xsd.Payment" %>
<%@ page import="org.wso2.carbon.billing.mgt.ui.utils.BillingUtil" %>
<%@ page import="java.util.Date" %>
<%@ page import="org.apache.stratos.tenant.activity.ui.clients.TenantActivityServiceClient" %>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0078bd84/components/stratos/pom.xml
----------------------------------------------------------------------
diff --git a/components/stratos/pom.xml b/components/stratos/pom.xml
index 6a967e3..d160b32 100644
--- a/components/stratos/pom.xml
+++ b/components/stratos/pom.xml
@@ -522,9 +522,9 @@
<version>${wso2carbon.version}</version>
</dependency>
<dependency>
- <groupId>org.wso2.carbon</groupId>
- <artifactId>org.wso2.carbon.billing.mgt.stub</artifactId>
- <version>${wso2carbon.version}</version>
+ <groupId>org.apache.stratos</groupId>
+ <artifactId>org.apache.stratos.billing.mgt.stub</artifactId>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0078bd84/products/stratos_controller/modules/distribution/LICENSE.txt
----------------------------------------------------------------------
diff --git a/products/stratos_controller/modules/distribution/LICENSE.txt b/products/stratos_controller/modules/distribution/LICENSE.txt
index 79ff255..0521690 100755
--- a/products/stratos_controller/modules/distribution/LICENSE.txt
+++ b/products/stratos_controller/modules/distribution/LICENSE.txt
@@ -215,7 +215,7 @@ org.wso2.carbon.authenticator.proxy_4.1.0.jar
org.wso2.carbon.authenticator.stub_4.1.0.jar bundle apache2
org.wso2.carbon.base_4.1.0.jar bundle apache2
org.wso2.carbon.billing.core_2.1.3.jar bundle apache2
-org.wso2.carbon.billing.mgt.stub_4.1.0.jar bundle apache2
+org.apache.stratos.billing.mgt.stub_4.1.0.jar bundle apache2
org.wso2.carbon.billing.mgt.ui_2.1.0.jar bundle apache2
org.wso2.carbon.billing.mgt_2.1.3.jar bundle apache2
org.wso2.carbon.bootstrap-4.1.0.jar bundle apache2
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0078bd84/service-stubs/org.apache.stratos.billing.mgt.stub/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.billing.mgt.stub/pom.xml b/service-stubs/org.apache.stratos.billing.mgt.stub/pom.xml
new file mode 100644
index 0000000..49a2b6b
--- /dev/null
+++ b/service-stubs/org.apache.stratos.billing.mgt.stub/pom.xml
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <parent>
+ <groupId>org.apache.stratos</groupId>
+ <artifactId>stratos-service-stubs-parent</artifactId>
+ <version>3.0.0-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>org.apache.stratos.billing.mgt.stub</artifactId>
+ <packaging>bundle</packaging>
+ <name>Apache Stratos - Billing 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/MultitenancyBillingService.wsdl -u -uw -o target/generated-code
+ -p org.apache.stratos.billing.mgt.stub.services
+ -ns2p http://services.mgt.billing.carbon.wso2.org=org.apache.stratos.billing.mgt.stub.services,http://beans.mgt.billing.carbon.wso2.org/xsd=org.apache.stratos.billing.mgt.stub.beans.xsd,http://dataobjects.core.billing.carbon.wso2.org/xsd=org.apache.stratos.billing.mgt.stub.beans.xsd,http://beans.core.billing.carbon.wso2.org/xsd=org.apache.stratos.billing.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.apache.stratos.billing.mgt.stub.*; version="${carbon.platform.package.export.version}"
+ </Export-Package>
+ <Import-Package>
+ !org.apache.stratos.billing.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>org.apache.axis2.wso2</groupId>
+ <artifactId>axis2-client</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>wsdl4j.wso2</groupId>
+ <artifactId>wsdl4j</artifactId>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0078bd84/service-stubs/org.apache.stratos.billing.mgt.stub/src/main/resources/MultitenancyBillingService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.billing.mgt.stub/src/main/resources/MultitenancyBillingService.wsdl b/service-stubs/org.apache.stratos.billing.mgt.stub/src/main/resources/MultitenancyBillingService.wsdl
new file mode 100644
index 0000000..6ce897a
--- /dev/null
+++ b/service-stubs/org.apache.stratos.billing.mgt.stub/src/main/resources/MultitenancyBillingService.wsdl
@@ -0,0 +1,781 @@
+<!--
+ ~ 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:ax215="http://beans.mgt.billing.carbon.wso2.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://services.mgt.billing.carbon.wso2.org" xmlns:ax213="http://dataobjects.core.billing.carbon.wso2.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax217="http://beans.core.billing.carbon.wso2.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://services.mgt.billing.carbon.wso2.org">
+ <wsdl:documentation>MultitenancyBillingService</wsdl:documentation>
+ <wsdl:types>
+ <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://beans.mgt.billing.carbon.wso2.org/xsd">
+ <xs:complexType name="MultitenancyInvoice">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="billingDate" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="boughtForward" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="carriedForward" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="endDate" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="invoiceId" type="xs:int"/>
+ <xs:element minOccurs="0" name="lastInvoice" type="xs:boolean"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="purchaseOrders" nillable="true" type="ax215:MultitenancyPurchaseOrder"/>
+ <xs:element minOccurs="0" name="startDate" nillable="true" type="xs:date"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="subscriptions" nillable="true" type="ax215:MultitenancySubscription"/>
+ <xs:element minOccurs="0" name="totalCost" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="totalPayments" nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="MultitenancyPurchaseOrder">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="id" type="xs:int"/>
+ <xs:element minOccurs="0" name="payment" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="paymentDate" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="transactionId" nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="MultitenancySubscription">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="active" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="activeSince" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="activeUntil" nillable="true" type="xs:date"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="billedEntries" nillable="true" type="ax215:BilledEntry"/>
+ <xs:element minOccurs="0" name="subscribedPackage" nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="BilledEntry">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="cost" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="BillingPeriod">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="endDate" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="invoiceDate" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="invoiceId" type="xs:int"/>
+ <xs:element minOccurs="0" name="startDate" nillable="true" type="xs:date"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:schema>
+ <xs:schema xmlns:ax214="http://dataobjects.core.billing.carbon.wso2.org/xsd" xmlns:ax216="http://beans.mgt.billing.carbon.wso2.org/xsd" xmlns:ax218="http://beans.core.billing.carbon.wso2.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.mgt.billing.carbon.wso2.org">
+ <xs:import namespace="http://dataobjects.core.billing.carbon.wso2.org/xsd"/>
+ <xs:import namespace="http://beans.mgt.billing.carbon.wso2.org/xsd"/>
+ <xs:import namespace="http://beans.core.billing.carbon.wso2.org/xsd"/>
+ <xs:element name="MultitenancyBillingServiceException">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="MultitenancyBillingServiceException" 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="makeAdjustment">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="payment" nillable="true" type="ax214:Payment"/>
+ <xs:element minOccurs="0" name="amount" nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="makeAdjustmentResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="xs:int"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getPastInvoice">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="invoiceId" type="xs:int"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getPastInvoiceResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax215:MultitenancyInvoice"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getPaginatedBalances">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="pageNumber" type="xs:int"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getPaginatedBalancesResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax217:PaginatedBalanceInfoBean"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getOutstandingBalance">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getOutstandingBalanceResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax217:OutstandingBalanceInfoBean"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getCurrentInvoice">
+ <xs:complexType>
+ <xs:sequence/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getCurrentInvoiceResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" nillable="true" type="ax215:MultitenancyInvoice"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getAvailableBillingPeriodsBySuperTenant">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getAvailableBillingPeriodsBySuperTenantResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax215:BillingPeriod"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getAvailableBillingPeriods">
+ <xs:complexType>
+ <xs:sequence/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="getAvailableBillingPeriodsResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="ax215:BillingPeriod"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="addRegistrationPayment">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="payment" nillable="true" type="ax214:Payment"/>
+ <xs:element minOccurs="0" name="amount" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="usagePlan" nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="addRegistrationPaymentResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="xs:int"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="addPayment">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="payment" nillable="true" type="ax214:Payment"/>
+ <xs:element minOccurs="0" name="amount" nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="addPaymentResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="xs:int"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="addDiscount">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="discount" nillable="true" type="ax214:Discount"/>
+ <xs:element minOccurs="0" name="tenantDomain" nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="addDiscountResponse">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" name="return" type="xs:boolean"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:schema>
+ <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://dataobjects.core.billing.carbon.wso2.org/xsd">
+ <xs:complexType name="Payment">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="amount" nillable="true" type="ax213:Cash"/>
+ <xs:element minOccurs="0" name="date" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="id" type="xs:int"/>
+ <xs:element minOccurs="0" name="invoice" nillable="true" type="ax213:Invoice"/>
+ <xs:element minOccurs="0" name="subscriptions" nillable="true" type="xs:anyType"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="Cash">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="currency" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="decimalNumber" type="xs:int"/>
+ <xs:element minOccurs="0" name="sign" nillable="true" type="ax213:Cash_Sign"/>
+ <xs:element minOccurs="0" name="wholeNumber" type="xs:int"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="Cash_Sign">
+ <xs:complexContent>
+ <xs:extension base="xs:Enum">
+ <xs:sequence/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="Invoice">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="boughtForward" nillable="true" type="ax213:Cash"/>
+ <xs:element minOccurs="0" name="carriedForward" nillable="true" type="ax213:Cash"/>
+ <xs:element minOccurs="0" name="customer" nillable="true" type="ax213:Customer"/>
+ <xs:element minOccurs="0" name="date" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="endDate" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="id" type="xs:int"/>
+ <xs:element minOccurs="0" name="payments" nillable="true" type="xs:anyType"/>
+ <xs:element minOccurs="0" name="startDate" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="subscriptions" nillable="true" type="xs:anyType"/>
+ <xs:element minOccurs="0" name="totalCost" nillable="true" type="ax213:Cash"/>
+ <xs:element minOccurs="0" name="totalPayment" nillable="true" type="ax213:Cash"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="Customer">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="activeInvoice" nillable="true" type="ax213:Invoice"/>
+ <xs:element minOccurs="0" name="address" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="context" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="email" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="fullName" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="id" type="xs:int"/>
+ <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="startedDate" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="totalBandwidth" type="xs:long"/>
+ <xs:element minOccurs="0" name="totalStorage" type="xs:long"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="Discount">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="amount" type="xs:float"/>
+ <xs:element minOccurs="0" name="endDate" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="id" type="xs:int"/>
+ <xs:element minOccurs="0" name="percentage" type="xs:float"/>
+ <xs:element minOccurs="0" name="percentageType" type="xs:boolean"/>
+ <xs:element minOccurs="0" name="startDate" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="tenantId" type="xs:int"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:schema>
+ <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://beans.core.billing.carbon.wso2.org/xsd">
+ <xs:complexType name="PaginatedBalanceInfoBean">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="balanceInfoBeans" nillable="true" type="ax217:OutstandingBalanceInfoBean"/>
+ <xs:element minOccurs="0" name="numberOfPages" type="xs:int"/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="OutstandingBalanceInfoBean">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="carriedForward" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="customerName" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="invoiceId" type="xs:int"/>
+ <xs:element minOccurs="0" name="lastInvoiceDate" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="lastPaidAmount" nillable="true" type="xs:string"/>
+ <xs:element minOccurs="0" name="lastPaymentDate" nillable="true" type="xs:date"/>
+ <xs:element minOccurs="0" name="subscription" nillable="true" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:schema>
+ </wsdl:types>
+ <wsdl:message name="getAvailableBillingPeriodsRequest">
+ <wsdl:part name="parameters" element="ns:getAvailableBillingPeriods"/>
+ </wsdl:message>
+ <wsdl:message name="getAvailableBillingPeriodsResponse">
+ <wsdl:part name="parameters" element="ns:getAvailableBillingPeriodsResponse"/>
+ </wsdl:message>
+ <wsdl:message name="MultitenancyBillingServiceException">
+ <wsdl:part name="parameters" element="ns:MultitenancyBillingServiceException"/>
+ </wsdl:message>
+ <wsdl:message name="getPastInvoiceRequest">
+ <wsdl:part name="parameters" element="ns:getPastInvoice"/>
+ </wsdl:message>
+ <wsdl:message name="getPastInvoiceResponse">
+ <wsdl:part name="parameters" element="ns:getPastInvoiceResponse"/>
+ </wsdl:message>
+ <wsdl:message name="getOutstandingBalanceRequest">
+ <wsdl:part name="parameters" element="ns:getOutstandingBalance"/>
+ </wsdl:message>
+ <wsdl:message name="getOutstandingBalanceResponse">
+ <wsdl:part name="parameters" element="ns:getOutstandingBalanceResponse"/>
+ </wsdl:message>
+ <wsdl:message name="addDiscountRequest">
+ <wsdl:part name="parameters" element="ns:addDiscount"/>
+ </wsdl:message>
+ <wsdl:message name="addDiscountResponse">
+ <wsdl:part name="parameters" element="ns:addDiscountResponse"/>
+ </wsdl:message>
+ <wsdl:message name="getCurrentInvoiceRequest">
+ <wsdl:part name="parameters" element="ns:getCurrentInvoice"/>
+ </wsdl:message>
+ <wsdl:message name="getCurrentInvoiceResponse">
+ <wsdl:part name="parameters" element="ns:getCurrentInvoiceResponse"/>
+ </wsdl:message>
+ <wsdl:message name="makeAdjustmentRequest">
+ <wsdl:part name="parameters" element="ns:makeAdjustment"/>
+ </wsdl:message>
+ <wsdl:message name="makeAdjustmentResponse">
+ <wsdl:part name="parameters" element="ns:makeAdjustmentResponse"/>
+ </wsdl:message>
+ <wsdl:message name="addPaymentRequest">
+ <wsdl:part name="parameters" element="ns:addPayment"/>
+ </wsdl:message>
+ <wsdl:message name="addPaymentResponse">
+ <wsdl:part name="parameters" element="ns:addPaymentResponse"/>
+ </wsdl:message>
+ <wsdl:message name="getAvailableBillingPeriodsBySuperTenantRequest">
+ <wsdl:part name="parameters" element="ns:getAvailableBillingPeriodsBySuperTenant"/>
+ </wsdl:message>
+ <wsdl:message name="getAvailableBillingPeriodsBySuperTenantResponse">
+ <wsdl:part name="parameters" element="ns:getAvailableBillingPeriodsBySuperTenantResponse"/>
+ </wsdl:message>
+ <wsdl:message name="addRegistrationPaymentRequest">
+ <wsdl:part name="parameters" element="ns:addRegistrationPayment"/>
+ </wsdl:message>
+ <wsdl:message name="addRegistrationPaymentResponse">
+ <wsdl:part name="parameters" element="ns:addRegistrationPaymentResponse"/>
+ </wsdl:message>
+ <wsdl:message name="getPaginatedBalancesRequest">
+ <wsdl:part name="parameters" element="ns:getPaginatedBalances"/>
+ </wsdl:message>
+ <wsdl:message name="getPaginatedBalancesResponse">
+ <wsdl:part name="parameters" element="ns:getPaginatedBalancesResponse"/>
+ </wsdl:message>
+ <wsdl:portType name="MultitenancyBillingServicePortType">
+ <wsdl:operation name="getAvailableBillingPeriods">
+ <wsdl:input message="ns:getAvailableBillingPeriodsRequest" wsaw:Action="urn:getAvailableBillingPeriods"/>
+ <wsdl:output message="ns:getAvailableBillingPeriodsResponse" wsaw:Action="urn:getAvailableBillingPeriodsResponse"/>
+ <wsdl:fault message="ns:MultitenancyBillingServiceException" name="MultitenancyBillingServiceException" wsaw:Action="urn:getAvailableBillingPeriodsMultitenancyBillingServiceException"/>
+ </wsdl:operation>
+ <wsdl:operation name="getPastInvoice">
+ <wsdl:input message="ns:getPastInvoiceRequest" wsaw:Action="urn:getPastInvoice"/>
+ <wsdl:output message="ns:getPastInvoiceResponse" wsaw:Action="urn:getPastInvoiceResponse"/>
+ <wsdl:fault message="ns:MultitenancyBillingServiceException" name="MultitenancyBillingServiceException" wsaw:Action="urn:getPastInvoiceMultitenancyBillingServiceException"/>
+ </wsdl:operation>
+ <wsdl:operation name="getOutstandingBalance">
+ <wsdl:input message="ns:getOutstandingBalanceRequest" wsaw:Action="urn:getOutstandingBalance"/>
+ <wsdl:output message="ns:getOutstandingBalanceResponse" wsaw:Action="urn:getOutstandingBalanceResponse"/>
+ <wsdl:fault message="ns:MultitenancyBillingServiceException" name="MultitenancyBillingServiceException" wsaw:Action="urn:getOutstandingBalanceMultitenancyBillingServiceException"/>
+ </wsdl:operation>
+ <wsdl:operation name="addDiscount">
+ <wsdl:input message="ns:addDiscountRequest" wsaw:Action="urn:addDiscount"/>
+ <wsdl:output message="ns:addDiscountResponse" wsaw:Action="urn:addDiscountResponse"/>
+ <wsdl:fault message="ns:MultitenancyBillingServiceException" name="MultitenancyBillingServiceException" wsaw:Action="urn:addDiscountMultitenancyBillingServiceException"/>
+ </wsdl:operation>
+ <wsdl:operation name="getCurrentInvoice">
+ <wsdl:input message="ns:getCurrentInvoiceRequest" wsaw:Action="urn:getCurrentInvoice"/>
+ <wsdl:output message="ns:getCurrentInvoiceResponse" wsaw:Action="urn:getCurrentInvoiceResponse"/>
+ <wsdl:fault message="ns:MultitenancyBillingServiceException" name="MultitenancyBillingServiceException" wsaw:Action="urn:getCurrentInvoiceMultitenancyBillingServiceException"/>
+ </wsdl:operation>
+ <wsdl:operation name="makeAdjustment">
+ <wsdl:input message="ns:makeAdjustmentRequest" wsaw:Action="urn:makeAdjustment"/>
+ <wsdl:output message="ns:makeAdjustmentResponse" wsaw:Action="urn:makeAdjustmentResponse"/>
+ <wsdl:fault message="ns:MultitenancyBillingServiceException" name="MultitenancyBillingServiceException" wsaw:Action="urn:makeAdjustmentMultitenancyBillingServiceException"/>
+ </wsdl:operation>
+ <wsdl:operation name="addPayment">
+ <wsdl:input message="ns:addPaymentRequest" wsaw:Action="urn:addPayment"/>
+ <wsdl:output message="ns:addPaymentResponse" wsaw:Action="urn:addPaymentResponse"/>
+ <wsdl:fault message="ns:MultitenancyBillingServiceException" name="MultitenancyBillingServiceException" wsaw:Action="urn:addPaymentMultitenancyBillingServiceException"/>
+ </wsdl:operation>
+ <wsdl:operation name="getAvailableBillingPeriodsBySuperTenant">
+ <wsdl:input message="ns:getAvailableBillingPeriodsBySuperTenantRequest" wsaw:Action="urn:getAvailableBillingPeriodsBySuperTenant"/>
+ <wsdl:output message="ns:getAvailableBillingPeriodsBySuperTenantResponse" wsaw:Action="urn:getAvailableBillingPeriodsBySuperTenantResponse"/>
+ <wsdl:fault message="ns:MultitenancyBillingServiceException" name="MultitenancyBillingServiceException" wsaw:Action="urn:getAvailableBillingPeriodsBySuperTenantMultitenancyBillingServiceException"/>
+ </wsdl:operation>
+ <wsdl:operation name="addRegistrationPayment">
+ <wsdl:input message="ns:addRegistrationPaymentRequest" wsaw:Action="urn:addRegistrationPayment"/>
+ <wsdl:output message="ns:addRegistrationPaymentResponse" wsaw:Action="urn:addRegistrationPaymentResponse"/>
+ <wsdl:fault message="ns:MultitenancyBillingServiceException" name="MultitenancyBillingServiceException" wsaw:Action="urn:addRegistrationPaymentMultitenancyBillingServiceException"/>
+ </wsdl:operation>
+ <wsdl:operation name="getPaginatedBalances">
+ <wsdl:input message="ns:getPaginatedBalancesRequest" wsaw:Action="urn:getPaginatedBalances"/>
+ <wsdl:output message="ns:getPaginatedBalancesResponse" wsaw:Action="urn:getPaginatedBalancesResponse"/>
+ <wsdl:fault message="ns:MultitenancyBillingServiceException" name="MultitenancyBillingServiceException" wsaw:Action="urn:getPaginatedBalancesMultitenancyBillingServiceException"/>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="MultitenancyBillingServiceSoap11Binding" type="ns:MultitenancyBillingServicePortType">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+ <wsdl:operation name="getPastInvoice">
+ <soap:operation soapAction="urn:getPastInvoice" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getAvailableBillingPeriods">
+ <soap:operation soapAction="urn:getAvailableBillingPeriods" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getOutstandingBalance">
+ <soap:operation soapAction="urn:getOutstandingBalance" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="addDiscount">
+ <soap:operation soapAction="urn:addDiscount" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getCurrentInvoice">
+ <soap:operation soapAction="urn:getCurrentInvoice" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="makeAdjustment">
+ <soap:operation soapAction="urn:makeAdjustment" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="addPayment">
+ <soap:operation soapAction="urn:addPayment" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="addRegistrationPayment">
+ <soap:operation soapAction="urn:addRegistrationPayment" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getAvailableBillingPeriodsBySuperTenant">
+ <soap:operation soapAction="urn:getAvailableBillingPeriodsBySuperTenant" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getPaginatedBalances">
+ <soap:operation soapAction="urn:getPaginatedBalances" style="document"/>
+ <wsdl:input>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="MultitenancyBillingServiceSoap12Binding" type="ns:MultitenancyBillingServicePortType">
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+ <wsdl:operation name="getPastInvoice">
+ <soap12:operation soapAction="urn:getPastInvoice" style="document"/>
+ <wsdl:input>
+ <soap12:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap12:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getAvailableBillingPeriods">
+ <soap12:operation soapAction="urn:getAvailableBillingPeriods" style="document"/>
+ <wsdl:input>
+ <soap12:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap12:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getOutstandingBalance">
+ <soap12:operation soapAction="urn:getOutstandingBalance" style="document"/>
+ <wsdl:input>
+ <soap12:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap12:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="addDiscount">
+ <soap12:operation soapAction="urn:addDiscount" style="document"/>
+ <wsdl:input>
+ <soap12:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap12:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getCurrentInvoice">
+ <soap12:operation soapAction="urn:getCurrentInvoice" style="document"/>
+ <wsdl:input>
+ <soap12:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap12:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="makeAdjustment">
+ <soap12:operation soapAction="urn:makeAdjustment" style="document"/>
+ <wsdl:input>
+ <soap12:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap12:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="addPayment">
+ <soap12:operation soapAction="urn:addPayment" style="document"/>
+ <wsdl:input>
+ <soap12:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap12:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="addRegistrationPayment">
+ <soap12:operation soapAction="urn:addRegistrationPayment" style="document"/>
+ <wsdl:input>
+ <soap12:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap12:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getAvailableBillingPeriodsBySuperTenant">
+ <soap12:operation soapAction="urn:getAvailableBillingPeriodsBySuperTenant" style="document"/>
+ <wsdl:input>
+ <soap12:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap12:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="getPaginatedBalances">
+ <soap12:operation soapAction="urn:getPaginatedBalances" style="document"/>
+ <wsdl:input>
+ <soap12:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap12:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="MultitenancyBillingServiceException">
+ <soap12:fault use="literal" name="MultitenancyBillingServiceException"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="MultitenancyBillingServiceHttpBinding" type="ns:MultitenancyBillingServicePortType">
+ <http:binding verb="POST"/>
+ <wsdl:operation name="getPastInvoice">
+ <http:operation location="getPastInvoice"/>
+ <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="getAvailableBillingPeriods">
+ <http:operation location="getAvailableBillingPeriods"/>
+ <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="getOutstandingBalance">
+ <http:operation location="getOutstandingBalance"/>
+ <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="addDiscount">
+ <http:operation location="addDiscount"/>
+ <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="getCurrentInvoice">
+ <http:operation location="getCurrentInvoice"/>
+ <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="makeAdjustment">
+ <http:operation location="makeAdjustment"/>
+ <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="addPayment">
+ <http:operation location="addPayment"/>
+ <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="addRegistrationPayment">
+ <http:operation location="addRegistrationPayment"/>
+ <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="getAvailableBillingPeriodsBySuperTenant">
+ <http:operation location="getAvailableBillingPeriodsBySuperTenant"/>
+ <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="getPaginatedBalances">
+ <http:operation location="getPaginatedBalances"/>
+ <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="MultitenancyBillingService">
+ <wsdl:port name="MultitenancyBillingServiceHttpsSoap11Endpoint" binding="ns:MultitenancyBillingServiceSoap11Binding">
+ <soap:address location="https://10.100.2.80:9443/services/MultitenancyBillingService.MultitenancyBillingServiceHttpsSoap11Endpoint/"/>
+ </wsdl:port>
+ <wsdl:port name="MultitenancyBillingServiceHttpsSoap12Endpoint" binding="ns:MultitenancyBillingServiceSoap12Binding">
+ <soap12:address location="https://10.100.2.80:9443/services/MultitenancyBillingService.MultitenancyBillingServiceHttpsSoap12Endpoint/"/>
+ </wsdl:port>
+ <wsdl:port name="MultitenancyBillingServiceHttpsEndpoint" binding="ns:MultitenancyBillingServiceHttpBinding">
+ <http:address location="https://10.100.2.80:9443/services/MultitenancyBillingService.MultitenancyBillingServiceHttpsEndpoint/"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0078bd84/service-stubs/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/pom.xml b/service-stubs/pom.xml
index fb8ee53..4cdea2b 100644
--- a/service-stubs/pom.xml
+++ b/service-stubs/pom.xml
@@ -56,6 +56,7 @@
<module>org.apache.stratos.adc.repoinformation.service.stub</module>
<module>org.apache.stratos.adc.topologymgt.service.stub</module>
<module>org.apache.stratos.load.balance.autoscaler.service.stub</module>
+ <module>org.apache.stratos.billing.mgt.stub</module>
</modules>
<build>