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/12/04 19:07:30 UTC

git commit: removing unused CC service CartridgeMgtService, stub and client in the rest endpoint

Updated Branches:
  refs/heads/master 5f3e10b8c -> e65e0a031


removing unused CC service CartridgeMgtService, stub and client in the rest endpoint


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

Branch: refs/heads/master
Commit: e65e0a0316c2ecb4b3e803a3ad485be540ef03a2
Parents: 5f3e10b
Author: Isuru <is...@wso2.com>
Authored: Wed Dec 4 23:36:55 2013 +0530
Committer: Isuru <is...@wso2.com>
Committed: Wed Dec 4 23:36:55 2013 +0530

----------------------------------------------------------------------
 .../impl/CartridgeMgtServiceImpl.java           |  40 -----
 .../interfaces/CartridgeMgtService.java         |  29 ----
 .../src/main/resources/META-INF/services.xml    |   7 -
 .../client/CartridgeMgtServiceClient.java       |  79 ----------
 .../pom.xml                                     | 130 -----------------
 .../src/main/resources/CartridgeMgtService.wsdl | 145 -------------------
 6 files changed, 430 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/e65e0a03/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/impl/CartridgeMgtServiceImpl.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/impl/CartridgeMgtServiceImpl.java b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/impl/CartridgeMgtServiceImpl.java
deleted file mode 100644
index fd9ebac..0000000
--- a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/impl/CartridgeMgtServiceImpl.java
+++ /dev/null
@@ -1,40 +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.
- */
-
-package org.apache.stratos.cloud.controller.impl;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.stratos.cloud.controller.interfaces.CartridgeMgtService;
-import org.apache.stratos.cloud.controller.pojo.CartridgeConfig;
-
-public class CartridgeMgtServiceImpl implements CartridgeMgtService {
-
-    private static final Log log = LogFactory.getLog(CartridgeMgtServiceImpl.class);
-
-    public void deployCartridgeDefinition(CartridgeConfig cartridgeConfig) {
-
-        log.info("***** " + cartridgeConfig.toString() + " *****");
-    }
-
-    public void undeployCartridgeDefinition(String cartridgeType) {
-
-
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/e65e0a03/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/interfaces/CartridgeMgtService.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/interfaces/CartridgeMgtService.java b/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/interfaces/CartridgeMgtService.java
deleted file mode 100644
index ba1f1c5..0000000
--- a/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/interfaces/CartridgeMgtService.java
+++ /dev/null
@@ -1,29 +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.
- */
-
-package org.apache.stratos.cloud.controller.interfaces;
-
-import org.apache.stratos.cloud.controller.pojo.CartridgeConfig;
-
-public interface CartridgeMgtService {
-
-    public void deployCartridgeDefinition (CartridgeConfig cartridgeConfig);
-
-    public void undeployCartridgeDefinition (String cartridgeType);
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/e65e0a03/components/org.apache.stratos.cloud.controller/src/main/resources/META-INF/services.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.cloud.controller/src/main/resources/META-INF/services.xml b/components/org.apache.stratos.cloud.controller/src/main/resources/META-INF/services.xml
index bd47cd0..3c39159 100644
--- a/components/org.apache.stratos.cloud.controller/src/main/resources/META-INF/services.xml
+++ b/components/org.apache.stratos.cloud.controller/src/main/resources/META-INF/services.xml
@@ -28,11 +28,4 @@
         <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
     </messageReceivers>
     </service>
-    <service name="CartridgeMgtService" scope="application">
-        <parameter name="ServiceClass">org.apache.stratos.cloud.controller.impl.CartridgeMgtServiceImpl</parameter>
-        <messageReceivers>
-            <messageReceiver mep="http://www.w3.org/ns/wsdl/in-only" class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
-            <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
-        </messageReceivers>
-    </service>
 </serviceGroup> 

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/e65e0a03/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/service/client/CartridgeMgtServiceClient.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/service/client/CartridgeMgtServiceClient.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/service/client/CartridgeMgtServiceClient.java
deleted file mode 100644
index 4b497cf..0000000
--- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/service/client/CartridgeMgtServiceClient.java
+++ /dev/null
@@ -1,79 +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.
- */
-
-package org.apache.stratos.rest.endpoint.service.client;
-
-public class CartridgeMgtServiceClient {
-
-    /*private CartridgeMgtServiceStub cartridgeMgtServiceStub;
-    private static final Log log = LogFactory.getLog(CartridgeMgtServiceClient.class);
-    private static volatile CartridgeMgtServiceClient serviceClient;
-    private static final String CARTRIDGE_MGT_EPR = "cartridge.mgt.epr";
-
-    private CartridgeMgtServiceClient(String epr) throws AxisFault {
-
-        ConfigurationContext clientConfigContext = ServiceHolder.getConfigurationContext().getClientConfigContext();
-        try {
-            cartridgeMgtServiceStub = new CartridgeMgtServiceStub(clientConfigContext, epr);
-            cartridgeMgtServiceStub._getServiceClient().getOptions().setTimeOutInMilliSeconds(300000);
-
-        } catch (AxisFault axisFault) {
-            String msg = "Failed to initiate CartridgeMgtServiceClient client. " + axisFault.getMessage();
-            log.error(msg, axisFault);
-            throw new AxisFault(msg, axisFault);
-        }
-
-    }
-
-    public static CartridgeMgtServiceClient getServiceClient() throws AxisFault {
-        if (serviceClient == null) {
-            synchronized (CartridgeMgtServiceClient.class) {
-                if (serviceClient == null) {
-                    serviceClient = new CartridgeMgtServiceClient(System.getProperty(CARTRIDGE_MGT_EPR));
-                }
-            }
-        }
-        return serviceClient;
-    }
-
-    public void deployCartridgedefinition (CartridgeConfig cartridgeConfig)
-            throws Exception {
-
-        try {
-            cartridgeMgtServiceStub.deployCartridgeDefinition(cartridgeConfig);
-
-        } catch (RemoteException e) {
-            String errorMsg = "Transport error in deploying cartridge definition";
-            log.error(errorMsg, e);
-            throw new Exception(errorMsg, e);
-        }
-    }
-
-    public void undeployCartridgeDefinition (String cartridgeType) throws Exception {
-
-        try {
-            cartridgeMgtServiceStub.undeployCartridgeDefinition(cartridgeType);
-
-        } catch (RemoteException e) {
-            String errorMsg = "Transport error in undeploying cartridge definition type " + cartridgeType;
-            log.error(errorMsg, e);
-            throw new Exception(errorMsg, e);
-        }
-    } */
-}

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/e65e0a03/service-stubs/org.apache.stratos.cartridge.mgt.service.stub/pom.xml
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.cartridge.mgt.service.stub/pom.xml b/service-stubs/org.apache.stratos.cartridge.mgt.service.stub/pom.xml
deleted file mode 100644
index d50ea98..0000000
--- a/service-stubs/org.apache.stratos.cartridge.mgt.service.stub/pom.xml
+++ /dev/null
@@ -1,130 +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.0.0-SNAPSHOT</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.apache.stratos.cartridge.mgt.service.stub</artifactId>
-    <packaging>bundle</packaging>
-    <name>Apache Stratos - Cartridge Mgt Service 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/CartridgeMgtService.wsdl -u -uw -o target/generated-code -p org.apache.stratos.cartridge.mgt.stub -ns2p http://exception.controller.cloud.stratos.apache.org/xsd=org.apache.stratos.cloud.controller.exception,http://pojo.controller.cloud.stratos.apache.org/xsd=org.apache.stratos.cloud.controller.pojo"/>
-                                    <classpath refid="maven.dependency.classpath"/>
-                                    <classpath refid="maven.compile.classpath"/>
-                                    <classpath refid="maven.runtime.classpath"/>
-                                </java>
-                            </tasks>
-                        </configuration>
-                    </execution>
-                </executions>
-            </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>
-            <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.cloud.controller.exception.*; version=${project.version},
-			    org.apache.stratos.cloud.controller.pojo.*; version=${project.version},
-                            org.apache.stratos.cartridge.mgt.stub.*; version=${project.version}
-                        </Export-Package>
-                        <Import-Package>
-                            *;resolution:=optional
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.axis2.wso2</groupId>
-            <artifactId>axis2</artifactId>
-        </dependency>
-	<dependency>
-            <groupId>wsdl4j.wso2</groupId>
-            <artifactId>wsdl4j</artifactId>
-        </dependency>
-	<dependency>
-            <groupId>commons-logging</groupId>
-            <artifactId>commons-logging</artifactId>
-       </dependency>
-       <dependency>
-            <groupId>org.apache.ws.commons.schema.wso2</groupId>
-            <artifactId>XmlSchema</artifactId>
-       </dependency>
-       <dependency>
-            <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-            <artifactId>axiom</artifactId>
-       </dependency>
-       <dependency>
-            <groupId>org.apache.neethi.wso2</groupId>
-       	    <artifactId>neethi</artifactId>
-       </dependency>
-    </dependencies>
-
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/e65e0a03/service-stubs/org.apache.stratos.cartridge.mgt.service.stub/src/main/resources/CartridgeMgtService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.cartridge.mgt.service.stub/src/main/resources/CartridgeMgtService.wsdl b/service-stubs/org.apache.stratos.cartridge.mgt.service.stub/src/main/resources/CartridgeMgtService.wsdl
deleted file mode 100644
index 4051812..0000000
--- a/service-stubs/org.apache.stratos.cartridge.mgt.service.stub/src/main/resources/CartridgeMgtService.wsdl
+++ /dev/null
@@ -1,145 +0,0 @@
-<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://impl.controller.cloud.stratos.apache.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax211="http://pojo.controller.cloud.stratos.apache.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://impl.controller.cloud.stratos.apache.org">
-    <wsdl:documentation>CartridgeMgtService</wsdl:documentation>
-    <wsdl:types>
-        <xs:schema xmlns:ax212="http://pojo.controller.cloud.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.controller.cloud.stratos.apache.org">
-            <xs:import namespace="http://pojo.controller.cloud.stratos.apache.org/xsd"/>
-            <xs:element name="undeployCartridgeDefinition">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="cartridgeType" nillable="true" type="xs:string"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-            <xs:element name="deployCartridgeDefinition">
-                <xs:complexType>
-                    <xs:sequence>
-                        <xs:element minOccurs="0" name="cartridgeConfig" nillable="true" type="ax212:CartridgeConfig"/>
-                    </xs:sequence>
-                </xs:complexType>
-            </xs:element>
-        </xs:schema>
-        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://pojo.controller.cloud.stratos.apache.org/xsd">
-            <xs:complexType name="CartridgeConfig">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="baseDir" nillable="true" type="xs:string"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="deploymentDirs" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="displayName" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="hostName" nillable="true" type="xs:string"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="iaasConfigs" nillable="true" type="ax211:IaasConfig"/>
-                    <xs:element minOccurs="0" name="multiTenant" type="xs:boolean"/>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="portMappings" nillable="true" type="ax211:PortMapping"/>
-                    <xs:element minOccurs="0" name="properties" nillable="true" type="ax211:Properties"/>
-                    <xs:element minOccurs="0" name="provider" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="version" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="IaasConfig">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="imageId" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="maxInstanceLimit" type="xs:int"/>
-                    <xs:element minOccurs="0" name="properties" nillable="true" type="ax211:Properties"/>
-                    <xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="Properties">
-                <xs:sequence>
-                    <xs:element maxOccurs="unbounded" minOccurs="0" name="properties" nillable="true" type="ax211:Property"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="Property">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="value" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-            <xs:complexType name="PortMapping">
-                <xs:sequence>
-                    <xs:element minOccurs="0" name="port" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="protocol" nillable="true" type="xs:string"/>
-                    <xs:element minOccurs="0" name="proxyPort" nillable="true" type="xs:string"/>
-                </xs:sequence>
-            </xs:complexType>
-        </xs:schema>
-    </wsdl:types>
-    <wsdl:message name="deployCartridgeDefinitionRequest">
-        <wsdl:part name="parameters" element="ns:deployCartridgeDefinition"/>
-    </wsdl:message>
-    <wsdl:message name="undeployCartridgeDefinitionRequest">
-        <wsdl:part name="parameters" element="ns:undeployCartridgeDefinition"/>
-    </wsdl:message>
-    <wsdl:portType name="CartridgeMgtServicePortType">
-        <wsdl:operation name="deployCartridgeDefinition">
-            <wsdl:input message="ns:deployCartridgeDefinitionRequest" wsaw:Action="urn:deployCartridgeDefinition"/>
-        </wsdl:operation>
-        <wsdl:operation name="undeployCartridgeDefinition">
-            <wsdl:input message="ns:undeployCartridgeDefinitionRequest" wsaw:Action="urn:undeployCartridgeDefinition"/>
-        </wsdl:operation>
-    </wsdl:portType>
-    <wsdl:binding name="CartridgeMgtServiceSoap11Binding" type="ns:CartridgeMgtServicePortType">
-        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-        <wsdl:operation name="deployCartridgeDefinition">
-            <soap:operation soapAction="urn:deployCartridgeDefinition" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-        </wsdl:operation>
-        <wsdl:operation name="undeployCartridgeDefinition">
-            <soap:operation soapAction="urn:undeployCartridgeDefinition" style="document"/>
-            <wsdl:input>
-                <soap:body use="literal"/>
-            </wsdl:input>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="CartridgeMgtServiceSoap12Binding" type="ns:CartridgeMgtServicePortType">
-        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-        <wsdl:operation name="deployCartridgeDefinition">
-            <soap12:operation soapAction="urn:deployCartridgeDefinition" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-        </wsdl:operation>
-        <wsdl:operation name="undeployCartridgeDefinition">
-            <soap12:operation soapAction="urn:undeployCartridgeDefinition" style="document"/>
-            <wsdl:input>
-                <soap12:body use="literal"/>
-            </wsdl:input>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:binding name="CartridgeMgtServiceHttpBinding" type="ns:CartridgeMgtServicePortType">
-        <http:binding verb="POST"/>
-        <wsdl:operation name="deployCartridgeDefinition">
-            <http:operation location="deployCartridgeDefinition"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:input>
-        </wsdl:operation>
-        <wsdl:operation name="undeployCartridgeDefinition">
-            <http:operation location="undeployCartridgeDefinition"/>
-            <wsdl:input>
-                <mime:content type="text/xml" part="parameters"/>
-            </wsdl:input>
-        </wsdl:operation>
-    </wsdl:binding>
-    <wsdl:service name="CartridgeMgtService">
-        <wsdl:port name="CartridgeMgtServiceHttpsSoap11Endpoint" binding="ns:CartridgeMgtServiceSoap11Binding">
-            <soap:address location="https://10.144.132.229:9444/services/CartridgeMgtService.CartridgeMgtServiceHttpsSoap11Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="CartridgeMgtServiceHttpSoap11Endpoint" binding="ns:CartridgeMgtServiceSoap11Binding">
-            <soap:address location="http://10.144.132.229:9764/services/CartridgeMgtService.CartridgeMgtServiceHttpSoap11Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="CartridgeMgtServiceHttpSoap12Endpoint" binding="ns:CartridgeMgtServiceSoap12Binding">
-            <soap12:address location="http://10.144.132.229:9764/services/CartridgeMgtService.CartridgeMgtServiceHttpSoap12Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="CartridgeMgtServiceHttpsSoap12Endpoint" binding="ns:CartridgeMgtServiceSoap12Binding">
-            <soap12:address location="https://10.144.132.229:9444/services/CartridgeMgtService.CartridgeMgtServiceHttpsSoap12Endpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="CartridgeMgtServiceHttpsEndpoint" binding="ns:CartridgeMgtServiceHttpBinding">
-            <http:address location="https://10.144.132.229:9444/services/CartridgeMgtService.CartridgeMgtServiceHttpsEndpoint/"/>
-        </wsdl:port>
-        <wsdl:port name="CartridgeMgtServiceHttpEndpoint" binding="ns:CartridgeMgtServiceHttpBinding">
-            <http:address location="http://10.144.132.229:9764/services/CartridgeMgtService.CartridgeMgtServiceHttpEndpoint/"/>
-        </wsdl:port>
-    </wsdl:service>
-</wsdl:definitions>
\ No newline at end of file