From c29d1cf02564638a0df9cdc43ceafbadd56d15c9 Mon Sep 17 00:00:00 2001
From: Manula Thantriwatte <manulac@wso2.com>
Date: Fri, 12 Jul 2013 18:50:29 +0530
Subject: [PATCH 1/2] Refactor throttling stub

---
 .../org.apache.stratos.throttling.stub/pom.xml     |  118 ++++++++++++++++
 .../resources/ThrottlingRuleEditorService.wsdl     |  148 ++++++++++++++++++++
 .../org.wso2.carbon.throttling.stub/4.1.0/pom.xml  |  114 ---------------
 .../resources/ThrottlingRuleEditorService.wsdl     |  148 --------------------
 4 files changed, 266 insertions(+), 262 deletions(-)
 create mode 100644 service-stubs/org.apache.stratos.throttling.stub/pom.xml
 create mode 100644 service-stubs/org.apache.stratos.throttling.stub/src/main/resources/ThrottlingRuleEditorService.wsdl
 delete mode 100644 service-stubs/org.wso2.carbon.throttling.stub/4.1.0/pom.xml
 delete mode 100644 service-stubs/org.wso2.carbon.throttling.stub/4.1.0/src/main/resources/ThrottlingRuleEditorService.wsdl

diff --git a/service-stubs/org.apache.stratos.throttling.stub/pom.xml b/service-stubs/org.apache.stratos.throttling.stub/pom.xml
new file mode 100644
index 0000000..9410363
--- /dev/null
+++ b/service-stubs/org.apache.stratos.throttling.stub/pom.xml
@@ -0,0 +1,118 @@
+<?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.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>
+                <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/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="${carbon.platform.package.export.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>
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
new file mode 100644
index 0000000..6f942d6
--- /dev/null
+++ b/service-stubs/org.apache.stratos.throttling.stub/src/main/resources/ThrottlingRuleEditorService.wsdl
@@ -0,0 +1,148 @@
+<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>
diff --git a/service-stubs/org.wso2.carbon.throttling.stub/4.1.0/pom.xml b/service-stubs/org.wso2.carbon.throttling.stub/4.1.0/pom.xml
deleted file mode 100644
index dd40504..0000000
--- a/service-stubs/org.wso2.carbon.throttling.stub/4.1.0/pom.xml
+++ /dev/null
@@ -1,114 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.wso2.carbon</groupId>
-        <artifactId>carbon-service-stubs</artifactId>
-        <version>4.1.0</version>
-<relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.carbon.throttling.stub</artifactId>
-    <packaging>bundle</packaging>
-    <name>WSO2 Carbon - Throttling Stub</name>
-    <url>http://wso2.org</url>
-
-    <build>
-        <plugins>
-            
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <version>1.1</version>
-                <executions>
-                    <execution>
-                        <id>source-code-generation</id>
-                        <phase>process-resources</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <tasks>
-                                <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
-                                    <arg line="-uri src/main/resources/ThrottlingRuleEditorService.wsdl -u -uw -o target/generated-code
-                                    -p org.wso2.carbon.throttling.stub.services
-                                    -ns2p http://services.manager.throttling.carbon.wso2.org=org.wso2.carbon.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.wso2.carbon.throttling.stub.*; version="${carbon.platform.package.export.version}",
-                        </Export-Package>
-                        <Import-Package>
-			    			!org.wso2.carbon.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>
-    </dependencies>
-
-</project>
diff --git a/service-stubs/org.wso2.carbon.throttling.stub/4.1.0/src/main/resources/ThrottlingRuleEditorService.wsdl b/service-stubs/org.wso2.carbon.throttling.stub/4.1.0/src/main/resources/ThrottlingRuleEditorService.wsdl
deleted file mode 100644
index a9f511a..0000000
--- a/service-stubs/org.wso2.carbon.throttling.stub/4.1.0/src/main/resources/ThrottlingRuleEditorService.wsdl
+++ /dev/null
@@ -1,148 +0,0 @@
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://services.manager.throttling.carbon.wso2.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.carbon.wso2.org">
-    <wsdl:documentation>ThrottlingRuleEditorService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://services.manager.throttling.carbon.wso2.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>
\ No newline at end of file
-- 
1.7.9.5

