http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.throttle.stub/src/main/resources/ThrottleAdminService.wsdl ---------------------------------------------------------------------- diff --git a/service-stubs/org.apache.stratos.throttle.stub/src/main/resources/ThrottleAdminService.wsdl b/service-stubs/org.apache.stratos.throttle.stub/src/main/resources/ThrottleAdminService.wsdl deleted file mode 100644 index 0936fda..0000000 --- a/service-stubs/org.apache.stratos.throttle.stub/src/main/resources/ThrottleAdminService.wsdl +++ /dev/null @@ -1,635 +0,0 @@ -<!-- - ~ Licensed to the Apache Software Foundation (ASF) under one - ~ or more contributor license agreements. See the NOTICE file - ~ distributed with this work for additional information - ~ regarding copyright ownership. The ASF licenses this file - ~ to you under the Apache License, Version 2.0 (the - ~ "License"); you may not use this file except in compliance - ~ with the License. You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, - ~ software distributed under the License is distributed on an - ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - ~ KIND, either express or implied. See the License for the - ~ specific language governing permissions and limitations - ~ under the License. - --> -<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ns="http://service.throttle.stratos.apache.org" xmlns:ax286="http://throttle.stratos.apache.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://service.throttle.stratos.apache.org"> - <wsdl:documentation>ThrottleAdminService</wsdl:documentation> - <wsdl:types> - <xs:schema xmlns:ax288="http://throttle.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://service.throttle.stratos.apache.org"> - <xs:import namespace="http://throttle.stratos.apache.org/xsd"/> - <xs:complexType name="Exception"> - <xs:all> - <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType"/> - </xs:all> - </xs:complexType> - <xs:element name="ThrottleComponentException"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="ThrottleComponentException" nillable="true" type="ax288:ThrottleComponentException"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="toThrottlePolicy"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="policyXML" nillable="true" type="xs:string"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="toThrottlePolicyResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" nillable="true" type="ax288:ThrottlePolicy"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="throttlePolicyToString"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="policy" nillable="true" type="ax288:ThrottlePolicy"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="throttlePolicyToStringResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="globallyEngageThrottling"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="policy" nillable="true" type="ax288:ThrottlePolicy"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getPolicyConfigs"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getPolicyConfigsResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" nillable="true" type="ax288:ThrottlePolicy"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getOperationPolicyConfigs"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/> - <xs:element minOccurs="0" name="operationName" nillable="true" type="xs:string"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getOperationPolicyConfigsResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" nillable="true" type="ax288:ThrottlePolicy"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="getGlobalPolicyConfigsResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" nillable="true" type="ax288:ThrottlePolicy"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="engageThrottlingForOperation"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="policy" nillable="true" type="ax288:ThrottlePolicy"/> - <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/> - <xs:element minOccurs="0" name="operationName" nillable="true" type="xs:string"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="engageThrottlingForOperationResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" type="xs:boolean"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="enableThrottling"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/> - <xs:element minOccurs="0" name="policy" nillable="true" type="ax288:ThrottlePolicy"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="disengageThrottlingForOperation"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/> - <xs:element minOccurs="0" name="operationName" nillable="true" type="xs:string"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="disengageThrottlingForOperationResponse"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="return" type="xs:boolean"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="disableThrottling"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - <xs:schema xmlns:ax287="http://service.throttle.stratos.apache.org" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://throttle.stratos.apache.org/xsd"> - <xs:import namespace="http://service.throttle.stratos.apache.org"/> - <xs:complexType name="ThrottleComponentException"> - <xs:complexContent> - <xs:extension base="ax287:Exception"> - <xs:sequence/> - </xs:extension> - </xs:complexContent> - </xs:complexType> - <xs:complexType name="ThrottlePolicy"> - <xs:all> - <xs:element minOccurs="0" name="engaged" type="xs:boolean"/> - <xs:element maxOccurs="unbounded" minOccurs="0" name="internalConfigs" nillable="true" type="ax286:InternalData"/> - <xs:element minOccurs="0" name="maxConcurrentAccesses" type="xs:int"/> - </xs:all> - </xs:complexType> - <xs:complexType name="InternalData"> - <xs:all> - <xs:element minOccurs="0" name="accessLevel" type="xs:int"/> - <xs:element minOccurs="0" name="maxRequestCount" type="xs:int"/> - <xs:element minOccurs="0" name="prohibitTimePeriod" type="xs:int"/> - <xs:element minOccurs="0" name="range" nillable="true" type="xs:string"/> - <xs:element minOccurs="0" name="rangeType" nillable="true" type="xs:string"/> - <xs:element minOccurs="0" name="unitTime" type="xs:int"/> - </xs:all> - </xs:complexType> - </xs:schema> - </wsdl:types> - <wsdl:message name="getGlobalPolicyConfigsRequest"/> - <wsdl:message name="getGlobalPolicyConfigsResponse"> - <wsdl:part name="parameters" element="ns:getGlobalPolicyConfigsResponse"/> - </wsdl:message> - <wsdl:message name="ThrottleComponentException"> - <wsdl:part name="parameters" element="ns:ThrottleComponentException"/> - </wsdl:message> - <wsdl:message name="globallyEngageThrottlingRequest"> - <wsdl:part name="parameters" element="ns:globallyEngageThrottling"/> - </wsdl:message> - <wsdl:message name="disengageThrottlingForOperationRequest"> - <wsdl:part name="parameters" element="ns:disengageThrottlingForOperation"/> - </wsdl:message> - <wsdl:message name="disengageThrottlingForOperationResponse"> - <wsdl:part name="parameters" element="ns:disengageThrottlingForOperationResponse"/> - </wsdl:message> - <wsdl:message name="toThrottlePolicyRequest"> - <wsdl:part name="parameters" element="ns:toThrottlePolicy"/> - </wsdl:message> - <wsdl:message name="toThrottlePolicyResponse"> - <wsdl:part name="parameters" element="ns:toThrottlePolicyResponse"/> - </wsdl:message> - <wsdl:message name="throttlePolicyToStringRequest"> - <wsdl:part name="parameters" element="ns:throttlePolicyToString"/> - </wsdl:message> - <wsdl:message name="throttlePolicyToStringResponse"> - <wsdl:part name="parameters" element="ns:throttlePolicyToStringResponse"/> - </wsdl:message> - <wsdl:message name="engageThrottlingForOperationRequest"> - <wsdl:part name="parameters" element="ns:engageThrottlingForOperation"/> - </wsdl:message> - <wsdl:message name="engageThrottlingForOperationResponse"> - <wsdl:part name="parameters" element="ns:engageThrottlingForOperationResponse"/> - </wsdl:message> - <wsdl:message name="getPolicyConfigsRequest"> - <wsdl:part name="parameters" element="ns:getPolicyConfigs"/> - </wsdl:message> - <wsdl:message name="getPolicyConfigsResponse"> - <wsdl:part name="parameters" element="ns:getPolicyConfigsResponse"/> - </wsdl:message> - <wsdl:message name="disengageGlobalThrottlingRequest"/> - <wsdl:message name="disableThrottlingRequest"> - <wsdl:part name="parameters" element="ns:disableThrottling"/> - </wsdl:message> - <wsdl:message name="getOperationPolicyConfigsRequest"> - <wsdl:part name="parameters" element="ns:getOperationPolicyConfigs"/> - </wsdl:message> - <wsdl:message name="getOperationPolicyConfigsResponse"> - <wsdl:part name="parameters" element="ns:getOperationPolicyConfigsResponse"/> - </wsdl:message> - <wsdl:message name="enableThrottlingRequest"> - <wsdl:part name="parameters" element="ns:enableThrottling"/> - </wsdl:message> - <wsdl:portType name="ThrottleAdminServicePortType"> - <wsdl:operation name="getGlobalPolicyConfigs"> - <wsdl:input message="ns:getGlobalPolicyConfigsRequest" wsaw:Action="urn:getGlobalPolicyConfigs"/> - <wsdl:output message="ns:getGlobalPolicyConfigsResponse" wsaw:Action="urn:getGlobalPolicyConfigsResponse"/> - <wsdl:fault message="ns:ThrottleComponentException" name="ThrottleComponentException" wsaw:Action="urn:getGlobalPolicyConfigsThrottleComponentException"/> - </wsdl:operation> - <wsdl:operation name="globallyEngageThrottling"> - <wsdl:input message="ns:globallyEngageThrottlingRequest" wsaw:Action="urn:globallyEngageThrottling"/> - <wsdl:fault message="ns:ThrottleComponentException" name="ThrottleComponentException" wsaw:Action="urn:globallyEngageThrottlingThrottleComponentException"/> - </wsdl:operation> - <wsdl:operation name="disengageThrottlingForOperation"> - <wsdl:input message="ns:disengageThrottlingForOperationRequest" wsaw:Action="urn:disengageThrottlingForOperation"/> - <wsdl:output message="ns:disengageThrottlingForOperationResponse" wsaw:Action="urn:disengageThrottlingForOperationResponse"/> - <wsdl:fault message="ns:ThrottleComponentException" name="ThrottleComponentException" wsaw:Action="urn:disengageThrottlingForOperationThrottleComponentException"/> - </wsdl:operation> - <wsdl:operation name="toThrottlePolicy"> - <wsdl:input message="ns:toThrottlePolicyRequest" wsaw:Action="urn:toThrottlePolicy"/> - <wsdl:output message="ns:toThrottlePolicyResponse" wsaw:Action="urn:toThrottlePolicyResponse"/> - <wsdl:fault message="ns:ThrottleComponentException" name="ThrottleComponentException" wsaw:Action="urn:toThrottlePolicyThrottleComponentException"/> - </wsdl:operation> - <wsdl:operation name="throttlePolicyToString"> - <wsdl:input message="ns:throttlePolicyToStringRequest" wsaw:Action="urn:throttlePolicyToString"/> - <wsdl:output message="ns:throttlePolicyToStringResponse" wsaw:Action="urn:throttlePolicyToStringResponse"/> - <wsdl:fault message="ns:ThrottleComponentException" name="ThrottleComponentException" wsaw:Action="urn:throttlePolicyToStringThrottleComponentException"/> - </wsdl:operation> - <wsdl:operation name="engageThrottlingForOperation"> - <wsdl:input message="ns:engageThrottlingForOperationRequest" wsaw:Action="urn:engageThrottlingForOperation"/> - <wsdl:output message="ns:engageThrottlingForOperationResponse" wsaw:Action="urn:engageThrottlingForOperationResponse"/> - <wsdl:fault message="ns:ThrottleComponentException" name="ThrottleComponentException" wsaw:Action="urn:engageThrottlingForOperationThrottleComponentException"/> - </wsdl:operation> - <wsdl:operation name="getPolicyConfigs"> - <wsdl:input message="ns:getPolicyConfigsRequest" wsaw:Action="urn:getPolicyConfigs"/> - <wsdl:output message="ns:getPolicyConfigsResponse" wsaw:Action="urn:getPolicyConfigsResponse"/> - <wsdl:fault message="ns:ThrottleComponentException" name="ThrottleComponentException" wsaw:Action="urn:getPolicyConfigsThrottleComponentException"/> - </wsdl:operation> - <wsdl:operation name="disengageGlobalThrottling"> - <wsdl:input message="ns:disengageGlobalThrottlingRequest" wsaw:Action="urn:disengageGlobalThrottling"/> - <wsdl:fault message="ns:ThrottleComponentException" name="ThrottleComponentException" wsaw:Action="urn:disengageGlobalThrottlingThrottleComponentException"/> - </wsdl:operation> - <wsdl:operation name="disableThrottling"> - <wsdl:input message="ns:disableThrottlingRequest" wsaw:Action="urn:disableThrottling"/> - <wsdl:fault message="ns:ThrottleComponentException" name="ThrottleComponentException" wsaw:Action="urn:disableThrottlingThrottleComponentException"/> - </wsdl:operation> - <wsdl:operation name="getOperationPolicyConfigs"> - <wsdl:input message="ns:getOperationPolicyConfigsRequest" wsaw:Action="urn:getOperationPolicyConfigs"/> - <wsdl:output message="ns:getOperationPolicyConfigsResponse" wsaw:Action="urn:getOperationPolicyConfigsResponse"/> - <wsdl:fault message="ns:ThrottleComponentException" name="ThrottleComponentException" wsaw:Action="urn:getOperationPolicyConfigsThrottleComponentException"/> - </wsdl:operation> - <wsdl:operation name="enableThrottling"> - <wsdl:input message="ns:enableThrottlingRequest" wsaw:Action="urn:enableThrottling"/> - <wsdl:fault message="ns:ThrottleComponentException" name="ThrottleComponentException" wsaw:Action="urn:enableThrottlingThrottleComponentException"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="ThrottleAdminServiceSoap11Binding" type="ns:ThrottleAdminServicePortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> - <wsdl:operation name="globallyEngageThrottling"> - <soap:operation soapAction="urn:globallyEngageThrottling" style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:fault name="ThrottleComponentException"> - <soap:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="getGlobalPolicyConfigs"> - <soap:operation soapAction="urn:getGlobalPolicyConfigs" style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="toThrottlePolicy"> - <soap:operation soapAction="urn:toThrottlePolicy" style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="disengageThrottlingForOperation"> - <soap:operation soapAction="urn:disengageThrottlingForOperation" style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="engageThrottlingForOperation"> - <soap:operation soapAction="urn:engageThrottlingForOperation" style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="throttlePolicyToString"> - <soap:operation soapAction="urn:throttlePolicyToString" style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="getPolicyConfigs"> - <soap:operation soapAction="urn:getPolicyConfigs" style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="disengageGlobalThrottling"> - <soap:operation soapAction="urn:disengageGlobalThrottling" style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:fault name="ThrottleComponentException"> - <soap:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="disableThrottling"> - <soap:operation soapAction="urn:disableThrottling" style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:fault name="ThrottleComponentException"> - <soap:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="getOperationPolicyConfigs"> - <soap:operation soapAction="urn:getOperationPolicyConfigs" style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="enableThrottling"> - <soap:operation soapAction="urn:enableThrottling" style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:fault name="ThrottleComponentException"> - <soap:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="ThrottleAdminServiceSoap12Binding" type="ns:ThrottleAdminServicePortType"> - <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> - <wsdl:operation name="globallyEngageThrottling"> - <soap12:operation soapAction="urn:globallyEngageThrottling" style="document"/> - <wsdl:input> - <soap12:body use="literal"/> - </wsdl:input> - <wsdl:fault name="ThrottleComponentException"> - <soap12:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="getGlobalPolicyConfigs"> - <soap12:operation soapAction="urn:getGlobalPolicyConfigs" style="document"/> - <wsdl:input> - <soap12:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap12:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="toThrottlePolicy"> - <soap12:operation soapAction="urn:toThrottlePolicy" style="document"/> - <wsdl:input> - <soap12:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap12:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="disengageThrottlingForOperation"> - <soap12:operation soapAction="urn:disengageThrottlingForOperation" style="document"/> - <wsdl:input> - <soap12:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap12:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="engageThrottlingForOperation"> - <soap12:operation soapAction="urn:engageThrottlingForOperation" style="document"/> - <wsdl:input> - <soap12:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap12:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="throttlePolicyToString"> - <soap12:operation soapAction="urn:throttlePolicyToString" style="document"/> - <wsdl:input> - <soap12:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap12:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="getPolicyConfigs"> - <soap12:operation soapAction="urn:getPolicyConfigs" style="document"/> - <wsdl:input> - <soap12:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap12:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="disengageGlobalThrottling"> - <soap12:operation soapAction="urn:disengageGlobalThrottling" style="document"/> - <wsdl:input> - <soap12:body use="literal"/> - </wsdl:input> - <wsdl:fault name="ThrottleComponentException"> - <soap12:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="disableThrottling"> - <soap12:operation soapAction="urn:disableThrottling" style="document"/> - <wsdl:input> - <soap12:body use="literal"/> - </wsdl:input> - <wsdl:fault name="ThrottleComponentException"> - <soap12:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="getOperationPolicyConfigs"> - <soap12:operation soapAction="urn:getOperationPolicyConfigs" style="document"/> - <wsdl:input> - <soap12:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal"/> - </wsdl:output> - <wsdl:fault name="ThrottleComponentException"> - <soap12:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="enableThrottling"> - <soap12:operation soapAction="urn:enableThrottling" style="document"/> - <wsdl:input> - <soap12:body use="literal"/> - </wsdl:input> - <wsdl:fault name="ThrottleComponentException"> - <soap12:fault use="literal" name="ThrottleComponentException"/> - </wsdl:fault> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="ThrottleAdminServiceHttpBinding" type="ns:ThrottleAdminServicePortType"> - <http:binding verb="POST"/> - <wsdl:operation name="globallyEngageThrottling"> - <http:operation location="globallyEngageThrottling"/> - <wsdl:input> - <mime:content type="text/xml" part="globallyEngageThrottling"/> - </wsdl:input> - </wsdl:operation> - <wsdl:operation name="getGlobalPolicyConfigs"> - <http:operation location="getGlobalPolicyConfigs"/> - <wsdl:input> - <mime:content type="text/xml" part="getGlobalPolicyConfigs"/> - </wsdl:input> - <wsdl:output> - <mime:content type="text/xml" part="getGlobalPolicyConfigs"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="toThrottlePolicy"> - <http:operation location="toThrottlePolicy"/> - <wsdl:input> - <mime:content type="text/xml" part="toThrottlePolicy"/> - </wsdl:input> - <wsdl:output> - <mime:content type="text/xml" part="toThrottlePolicy"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="disengageThrottlingForOperation"> - <http:operation location="disengageThrottlingForOperation"/> - <wsdl:input> - <mime:content type="text/xml" part="disengageThrottlingForOperation"/> - </wsdl:input> - <wsdl:output> - <mime:content type="text/xml" part="disengageThrottlingForOperation"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="engageThrottlingForOperation"> - <http:operation location="engageThrottlingForOperation"/> - <wsdl:input> - <mime:content type="text/xml" part="engageThrottlingForOperation"/> - </wsdl:input> - <wsdl:output> - <mime:content type="text/xml" part="engageThrottlingForOperation"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="throttlePolicyToString"> - <http:operation location="throttlePolicyToString"/> - <wsdl:input> - <mime:content type="text/xml" part="throttlePolicyToString"/> - </wsdl:input> - <wsdl:output> - <mime:content type="text/xml" part="throttlePolicyToString"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="getPolicyConfigs"> - <http:operation location="getPolicyConfigs"/> - <wsdl:input> - <mime:content type="text/xml" part="getPolicyConfigs"/> - </wsdl:input> - <wsdl:output> - <mime:content type="text/xml" part="getPolicyConfigs"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="disengageGlobalThrottling"> - <http:operation location="disengageGlobalThrottling"/> - <wsdl:input> - <mime:content type="text/xml" part="disengageGlobalThrottling"/> - </wsdl:input> - </wsdl:operation> - <wsdl:operation name="disableThrottling"> - <http:operation location="disableThrottling"/> - <wsdl:input> - <mime:content type="text/xml" part="disableThrottling"/> - </wsdl:input> - </wsdl:operation> - <wsdl:operation name="getOperationPolicyConfigs"> - <http:operation location="getOperationPolicyConfigs"/> - <wsdl:input> - <mime:content type="text/xml" part="getOperationPolicyConfigs"/> - </wsdl:input> - <wsdl:output> - <mime:content type="text/xml" part="getOperationPolicyConfigs"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="enableThrottling"> - <http:operation location="enableThrottling"/> - <wsdl:input> - <mime:content type="text/xml" part="enableThrottling"/> - </wsdl:input> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="ThrottleAdminService"> - <wsdl:port name="ThrottleAdminServiceHttpsSoap11Endpoint" binding="ns:ThrottleAdminServiceSoap11Binding"> - <soap:address location="https://10.100.1.137:9443/services/ThrottleAdminService.ThrottleAdminServiceHttpsSoap11Endpoint/"/> - </wsdl:port> - <wsdl:port name="ThrottleAdminServiceHttpsSoap12Endpoint" binding="ns:ThrottleAdminServiceSoap12Binding"> - <soap12:address location="https://10.100.1.137:9443/services/ThrottleAdminService.ThrottleAdminServiceHttpsSoap12Endpoint/"/> - </wsdl:port> - <wsdl:port name="ThrottleAdminServiceHttpsEndpoint" binding="ns:ThrottleAdminServiceHttpBinding"> - <http:address location="https://10.100.1.137:9443/services/ThrottleAdminService.ThrottleAdminServiceHttpsEndpoint/"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions>
http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.throttling.agent.stub/pom.xml ---------------------------------------------------------------------- diff --git a/service-stubs/org.apache.stratos.throttling.agent.stub/pom.xml b/service-stubs/org.apache.stratos.throttling.agent.stub/pom.xml deleted file mode 100644 index 5cd205d..0000000 --- a/service-stubs/org.apache.stratos.throttling.agent.stub/pom.xml +++ /dev/null @@ -1,115 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Licensed to the Apache Software Foundation (ASF) under one - ~ or more contributor license agreements. See the NOTICE file - ~ distributed with this work for additional information - ~ regarding copyright ownership. The ASF licenses this file - ~ to you under the Apache License, Version 2.0 (the - ~ "License"); you may not use this file except in compliance - ~ with the License. You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, - ~ software distributed under the License is distributed on an - ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - ~ KIND, either express or implied. See the License for the - ~ specific language governing permissions and limitations - ~ under the License. - --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - - <parent> - <groupId>org.apache.stratos</groupId> - <artifactId>stratos-service-stubs-parent</artifactId> - <version>4.1.0-SNAPSHOT</version> - </parent> - - <modelVersion>4.0.0</modelVersion> - <artifactId>org.apache.stratos.throttling.agent.stub</artifactId> - <packaging>bundle</packaging> - <name>Apache Stratos - Throttling Agent Stub</name> - <url>http://apache.org</url> - - <build> - <plugins> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>source-code-generation</id> - <phase>process-resources</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <tasks> - <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"> - <arg line="-uri src/main/resources/MultitenancyThrottlingService.wsdl -u -uw -o target/generated-code -p org.apache.stratos.throttling.agent.stub.services -ns2p http://services.manager.throttling.stratos.apache.org=org.apache.stratos.throttling.agent.stub.services" /> - <classpath refid="maven.dependency.classpath" /> - <classpath refid="maven.compile.classpath" /> - <classpath refid="maven.runtime.classpath" /> - </java> - </tasks> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.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.agent.stub.*; version="${project.version}", - </Export-Package> - <Import-Package> - !org.apache.stratos.throttling.agent.stub.*, - *;resolution:=optional - </Import-Package> - </instructions> - </configuration> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <executions> - <execution> - <id>add-source</id> - <phase>generate-sources</phase> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sources> - <source> - target/generated-code/src - </source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - - <dependencies> - <dependency> - <groupId>org.apache.axis2.wso2</groupId> - <artifactId>axis2</artifactId> - </dependency> - <dependency> - <groupId>org.apache.axis2.wso2</groupId> - <artifactId>axis2-client</artifactId> - </dependency> - </dependencies> - -</project> http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.throttling.agent.stub/src/main/resources/MultitenancyThrottlingService.wsdl ---------------------------------------------------------------------- diff --git a/service-stubs/org.apache.stratos.throttling.agent.stub/src/main/resources/MultitenancyThrottlingService.wsdl b/service-stubs/org.apache.stratos.throttling.agent.stub/src/main/resources/MultitenancyThrottlingService.wsdl deleted file mode 100644 index a9e90a2..0000000 --- a/service-stubs/org.apache.stratos.throttling.agent.stub/src/main/resources/MultitenancyThrottlingService.wsdl +++ /dev/null @@ -1,101 +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.manager.throttling.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.manager.throttling.stratos.apache.org"> - <wsdl:documentation>MultitenancyThrottlingService</wsdl:documentation> - <wsdl:types> - <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.manager.throttling.stratos.apache.org"> - <xs:element name="MultitenancyThrottlingServiceException"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="MultitenancyThrottlingServiceException" 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="executeThrottlingRules"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="tenantId" type="xs:int"/> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - </wsdl:types> - <wsdl:message name="executeThrottlingRulesRequest"> - <wsdl:part name="parameters" element="ns:executeThrottlingRules"/> - </wsdl:message> - <wsdl:message name="MultitenancyThrottlingServiceException"> - <wsdl:part name="parameters" element="ns:MultitenancyThrottlingServiceException"/> - </wsdl:message> - <wsdl:portType name="MultitenancyThrottlingServicePortType"> - <wsdl:operation name="executeThrottlingRules"> - <wsdl:input message="ns:executeThrottlingRulesRequest" wsaw:Action="urn:executeThrottlingRules"/> - <wsdl:fault message="ns:MultitenancyThrottlingServiceException" name="MultitenancyThrottlingServiceException" wsaw:Action="urn:executeThrottlingRulesMultitenancyThrottlingServiceException"/> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="MultitenancyThrottlingServiceSoap11Binding" type="ns:MultitenancyThrottlingServicePortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> - <wsdl:operation name="executeThrottlingRules"> - <soap:operation soapAction="urn:executeThrottlingRules" style="document"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:fault name="MultitenancyThrottlingServiceException"> - <soap:fault use="literal" name="MultitenancyThrottlingServiceException"/> - </wsdl:fault> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="MultitenancyThrottlingServiceSoap12Binding" type="ns:MultitenancyThrottlingServicePortType"> - <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> - <wsdl:operation name="executeThrottlingRules"> - <soap12:operation soapAction="urn:executeThrottlingRules" style="document"/> - <wsdl:input> - <soap12:body use="literal"/> - </wsdl:input> - <wsdl:fault name="MultitenancyThrottlingServiceException"> - <soap12:fault use="literal" name="MultitenancyThrottlingServiceException"/> - </wsdl:fault> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="MultitenancyThrottlingServiceHttpBinding" type="ns:MultitenancyThrottlingServicePortType"> - <http:binding verb="POST"/> - <wsdl:operation name="executeThrottlingRules"> - <http:operation location="executeThrottlingRules"/> - <wsdl:input> - <mime:content type="text/xml" part="parameters"/> - </wsdl:input> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="MultitenancyThrottlingService"> - <wsdl:port name="MultitenancyThrottlingServiceHttpsSoap11Endpoint" binding="ns:MultitenancyThrottlingServiceSoap11Binding"> - <soap:address location="https://10.100.2.80:9443/services/MultitenancyThrottlingService.MultitenancyThrottlingServiceHttpsSoap11Endpoint/"/> - </wsdl:port> - <wsdl:port name="MultitenancyThrottlingServiceHttpsSoap12Endpoint" binding="ns:MultitenancyThrottlingServiceSoap12Binding"> - <soap12:address location="https://10.100.2.80:9443/services/MultitenancyThrottlingService.MultitenancyThrottlingServiceHttpsSoap12Endpoint/"/> - </wsdl:port> - <wsdl:port name="MultitenancyThrottlingServiceHttpsEndpoint" binding="ns:MultitenancyThrottlingServiceHttpBinding"> - <http:address location="https://10.100.2.80:9443/services/MultitenancyThrottlingService.MultitenancyThrottlingServiceHttpsEndpoint/"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.throttling.stub/pom.xml ---------------------------------------------------------------------- diff --git a/service-stubs/org.apache.stratos.throttling.stub/pom.xml b/service-stubs/org.apache.stratos.throttling.stub/pom.xml deleted file mode 100644 index 17a0e2a..0000000 --- a/service-stubs/org.apache.stratos.throttling.stub/pom.xml +++ /dev/null @@ -1,115 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Licensed to the Apache Software Foundation (ASF) under one - ~ or more contributor license agreements. See the NOTICE file - ~ distributed with this work for additional information - ~ regarding copyright ownership. The ASF licenses this file - ~ to you under the Apache License, Version 2.0 (the - ~ "License"); you may not use this file except in compliance - ~ with the License. You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, - ~ software distributed under the License is distributed on an - ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - ~ KIND, either express or implied. See the License for the - ~ specific language governing permissions and limitations - ~ under the License. - --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - - <parent> - <groupId>org.apache.stratos</groupId> - <artifactId>stratos-service-stubs-parent</artifactId> - <version>4.1.0-SNAPSHOT</version> - </parent> - - <modelVersion>4.0.0</modelVersion> - <artifactId>org.apache.stratos.throttling.stub</artifactId> - <packaging>bundle</packaging> - <name>Apache Stratos - Throttling Stub</name> - <url>http://apache.org</url> - - <build> - <plugins> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>source-code-generation</id> - <phase>process-resources</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <tasks> - <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"> - <arg line="-uri src/main/resources/ThrottlingRuleEditorService.wsdl -u -uw -o target/generated-code -p org.apache.stratos.throttling.stub.services -ns2p http://services.manager.throttling.stratos.apache.org=org.apache.stratos.throttling.stub.services" /> - <classpath refid="maven.dependency.classpath" /> - <classpath refid="maven.compile.classpath" /> - <classpath refid="maven.runtime.classpath" /> - </java> - </tasks> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.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.throttling.stub.*; version="${project.version}", - </Export-Package> - <Import-Package> - !org.apache.stratos.throttling.stub.*, - *;resolution:=optional - </Import-Package> - </instructions> - </configuration> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <executions> - <execution> - <id>add-source</id> - <phase>generate-sources</phase> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sources> - <source> - target/generated-code/src - </source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - - <dependencies> - <dependency> - <groupId>org.apache.axis2.wso2</groupId> - <artifactId>axis2</artifactId> - </dependency> - <dependency> - <groupId>org.apache.axis2.wso2</groupId> - <artifactId>axis2-client</artifactId> - </dependency> - </dependencies> - -</project> http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.throttling.stub/src/main/resources/ThrottlingRuleEditorService.wsdl ---------------------------------------------------------------------- diff --git a/service-stubs/org.apache.stratos.throttling.stub/src/main/resources/ThrottlingRuleEditorService.wsdl b/service-stubs/org.apache.stratos.throttling.stub/src/main/resources/ThrottlingRuleEditorService.wsdl deleted file mode 100644 index 49d11e5..0000000 --- a/service-stubs/org.apache.stratos.throttling.stub/src/main/resources/ThrottlingRuleEditorService.wsdl +++ /dev/null @@ -1,167 +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.manager.throttling.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.manager.throttling.stratos.apache.org"> - <wsdl:documentation>ThrottlingRuleEditorService</wsdl:documentation> - <wsdl:types> - <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.manager.throttling.stratos.apache.org"> - <xs:element name="updateThrottlingRulesException"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="updateThrottlingRulesException" 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="updateThrottlingRules"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="ruleContent" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="retrieveThrottlingRulesException"> - <xs:complexType> - <xs:sequence> - <xs:element minOccurs="0" name="retrieveThrottlingRulesException" nillable="true" type="ns:Exception" /> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="retrieveThrottlingRules"> - <xs:complexType> - <xs:sequence /> - </xs:complexType> - </xs:element> - <xs:element name="retrieveThrottlingRulesResponse"> - <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="updateThrottlingRulesRequest"> - <wsdl:part name="parameters" element="ns:updateThrottlingRules" /> - </wsdl:message> - <wsdl:message name="updateThrottlingRulesException"> - <wsdl:part name="parameters" element="ns:updateThrottlingRulesException" /> - </wsdl:message> - <wsdl:message name="retrieveThrottlingRulesRequest"> - <wsdl:part name="parameters" element="ns:retrieveThrottlingRules" /> - </wsdl:message> - <wsdl:message name="retrieveThrottlingRulesResponse"> - <wsdl:part name="parameters" element="ns:retrieveThrottlingRulesResponse" /> - </wsdl:message> - <wsdl:message name="retrieveThrottlingRulesException"> - <wsdl:part name="parameters" element="ns:retrieveThrottlingRulesException" /> - </wsdl:message> - <wsdl:portType name="ThrottlingRuleEditorServicePortType"> - <wsdl:operation name="updateThrottlingRules"> - <wsdl:input message="ns:updateThrottlingRulesRequest" wsaw:Action="urn:updateThrottlingRules" /> - <wsdl:fault message="ns:updateThrottlingRulesException" name="updateThrottlingRulesException" wsaw:Action="urn:updateThrottlingRulesupdateThrottlingRulesException" /> - </wsdl:operation> - <wsdl:operation name="retrieveThrottlingRules"> - <wsdl:input message="ns:retrieveThrottlingRulesRequest" wsaw:Action="urn:retrieveThrottlingRules" /> - <wsdl:output message="ns:retrieveThrottlingRulesResponse" wsaw:Action="urn:retrieveThrottlingRulesResponse" /> - <wsdl:fault message="ns:retrieveThrottlingRulesException" name="retrieveThrottlingRulesException" wsaw:Action="urn:retrieveThrottlingRulesretrieveThrottlingRulesException" /> - </wsdl:operation> - </wsdl:portType> - <wsdl:binding name="ThrottlingRuleEditorServiceSoap11Binding" type="ns:ThrottlingRuleEditorServicePortType"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> - <wsdl:operation name="updateThrottlingRules"> - <soap:operation soapAction="urn:updateThrottlingRules" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:fault name="updateThrottlingRulesException"> - <soap:fault use="literal" name="updateThrottlingRulesException" /> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="retrieveThrottlingRules"> - <soap:operation soapAction="urn:retrieveThrottlingRules" style="document" /> - <wsdl:input> - <soap:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap:body use="literal" /> - </wsdl:output> - <wsdl:fault name="retrieveThrottlingRulesException"> - <soap:fault use="literal" name="retrieveThrottlingRulesException" /> - </wsdl:fault> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="ThrottlingRuleEditorServiceSoap12Binding" type="ns:ThrottlingRuleEditorServicePortType"> - <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> - <wsdl:operation name="updateThrottlingRules"> - <soap12:operation soapAction="urn:updateThrottlingRules" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:fault name="updateThrottlingRulesException"> - <soap12:fault use="literal" name="updateThrottlingRulesException" /> - </wsdl:fault> - </wsdl:operation> - <wsdl:operation name="retrieveThrottlingRules"> - <soap12:operation soapAction="urn:retrieveThrottlingRules" style="document" /> - <wsdl:input> - <soap12:body use="literal" /> - </wsdl:input> - <wsdl:output> - <soap12:body use="literal" /> - </wsdl:output> - <wsdl:fault name="retrieveThrottlingRulesException"> - <soap12:fault use="literal" name="retrieveThrottlingRulesException" /> - </wsdl:fault> - </wsdl:operation> - </wsdl:binding> - <wsdl:binding name="ThrottlingRuleEditorServiceHttpBinding" type="ns:ThrottlingRuleEditorServicePortType"> - <http:binding verb="POST" /> - <wsdl:operation name="updateThrottlingRules"> - <http:operation location="updateThrottlingRules" /> - <wsdl:input> - <mime:content type="text/xml" part="parameters" /> - </wsdl:input> - </wsdl:operation> - <wsdl:operation name="retrieveThrottlingRules"> - <http:operation location="retrieveThrottlingRules" /> - <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="ThrottlingRuleEditorService"> - <wsdl:port name="ThrottlingRuleEditorServiceHttpsSoap11Endpoint" binding="ns:ThrottlingRuleEditorServiceSoap11Binding"> - <soap:address location="https://192.168.1.100:9443/services/ThrottlingRuleEditorService.ThrottlingRuleEditorServiceHttpsSoap11Endpoint/" /> - </wsdl:port> - <wsdl:port name="ThrottlingRuleEditorServiceHttpsSoap12Endpoint" binding="ns:ThrottlingRuleEditorServiceSoap12Binding"> - <soap12:address location="https://192.168.1.100:9443/services/ThrottlingRuleEditorService.ThrottlingRuleEditorServiceHttpsSoap12Endpoint/" /> - </wsdl:port> - <wsdl:port name="ThrottlingRuleEditorServiceHttpsEndpoint" binding="ns:ThrottlingRuleEditorServiceHttpBinding"> - <http:address location="https://192.168.1.100:9443/services/ThrottlingRuleEditorService.ThrottlingRuleEditorServiceHttpsEndpoint/" /> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> http://git-wip-us.apache.org/repos/asf/stratos/blob/11b9d636/service-stubs/org.apache.stratos.usage.meteringqueryds.stub/pom.xml ---------------------------------------------------------------------- diff --git a/service-stubs/org.apache.stratos.usage.meteringqueryds.stub/pom.xml b/service-stubs/org.apache.stratos.usage.meteringqueryds.stub/pom.xml deleted file mode 100644 index e1411d7..0000000 --- a/service-stubs/org.apache.stratos.usage.meteringqueryds.stub/pom.xml +++ /dev/null @@ -1,114 +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.usage.meteringqueryds.stub</artifactId> - <packaging>bundle</packaging> - <name>Apache Stratos - Metering Query DS Stub</name> - <url>http://apache.org</url> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>source-code-generation</id> - <phase>process-resources</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <tasks> - <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"> - <arg line="-uri src/main/resources/MeteringQueryDS.wsdl -u -uw -o target/generated-code -p org.apache.stratos.usage.meteringqueryds.stub -ns2p http://ws.wso2.org/dataservice=org.apache.stratos.usage.meteringqueryds.stub.services,http://bam.carbon.wso2.org=org.apache.stratos.usage.meteringqueryds.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.usage.meteringqueryds.stub.*; version="${project.version}", - </Export-Package> - <Import-Package> - !org.apache.stratos.usage.meteringqueryds.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>
