<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ax225="http://dto.persistence.stream.analytics.carbon.wso2.org/xsd" xmlns:ax223="http://exception.persistence.stream.analytics.carbon.wso2.org/xsd" xmlns:ns="http://persistence.stream.analytics.carbon.wso2.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://persistence.stream.analytics.carbon.wso2.org">
    <wsdl:documentation>EventStreamPersistenceAdminService</wsdl:documentation>
    <wsdl:types>
        <xs:schema xmlns:ax226="http://dto.persistence.stream.analytics.carbon.wso2.org/xsd" xmlns:ax224="http://exception.persistence.stream.analytics.carbon.wso2.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://persistence.stream.analytics.carbon.wso2.org">
            <xs:import namespace="http://exception.persistence.stream.analytics.carbon.wso2.org/xsd"/>
            <xs:import namespace="http://dto.persistence.stream.analytics.carbon.wso2.org/xsd"/>
            <xs:element name="EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="EventStreamPersistenceAdminServiceException" nillable="true" type="ax223:EventStreamPersistenceAdminServiceException"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="addAnalyticsTable">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="analyticsTable" nillable="true" type="ax225:AnalyticsTable"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="isBackendServicePresent">
                <xs:complexType>
                    <xs:sequence/>
                </xs:complexType>
            </xs:element>
            <xs:element name="isBackendServicePresentResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return" type="xs:boolean"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getAnalyticsTable">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="streamName" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="version" nillable="true" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getAnalyticsTableResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return" nillable="true" type="ax225:AnalyticsTable"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="listRecordStoreNames">
                <xs:complexType>
                    <xs:sequence/>
                </xs:complexType>
            </xs:element>
            <xs:element name="listRecordStoreNamesResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element maxOccurs="unbounded" minOccurs="0" name="return" nillable="true" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://dto.persistence.stream.analytics.carbon.wso2.org/xsd">
            <xs:complexType name="AnalyticsTable">
                <xs:sequence>
                    <xs:element maxOccurs="unbounded" minOccurs="0" name="analyticsTableRecords" nillable="true" type="ax225:AnalyticsTableRecord"/>
                    <xs:element minOccurs="0" name="mergeSchema" type="xs:boolean"/>
                    <xs:element minOccurs="0" name="persist" type="xs:boolean"/>
                    <xs:element minOccurs="0" name="recordStoreName" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="streamVersion" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="tableName" nillable="true" type="xs:string"/>
                </xs:sequence>
            </xs:complexType>
            <xs:complexType name="AnalyticsTableRecord">
                <xs:sequence>
                    <xs:element minOccurs="0" name="columnName" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="columnType" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="facet" type="xs:boolean"/>
                    <xs:element minOccurs="0" name="indexed" type="xs:boolean"/>
                    <xs:element minOccurs="0" name="persist" type="xs:boolean"/>
                    <xs:element minOccurs="0" name="primaryKey" type="xs:boolean"/>
                    <xs:element minOccurs="0" name="scoreParam" type="xs:boolean"/>
                </xs:sequence>
            </xs:complexType>
        </xs:schema>
        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://exception.persistence.stream.analytics.carbon.wso2.org/xsd">
            <xs:complexType name="EventStreamPersistenceAdminServiceException">
                <xs:sequence>
                    <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
                </xs:sequence>
            </xs:complexType>
        </xs:schema>
    </wsdl:types>
    <wsdl:message name="listRecordStoreNamesRequest">
        <wsdl:part name="parameters" element="ns:listRecordStoreNames"/>
    </wsdl:message>
    <wsdl:message name="listRecordStoreNamesResponse">
        <wsdl:part name="parameters" element="ns:listRecordStoreNamesResponse"/>
    </wsdl:message>
    <wsdl:message name="addAnalyticsTableRequest">
        <wsdl:part name="parameters" element="ns:addAnalyticsTable"/>
    </wsdl:message>
    <wsdl:message name="EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException">
        <wsdl:part name="parameters" element="ns:EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException"/>
    </wsdl:message>
    <wsdl:message name="isBackendServicePresentRequest">
        <wsdl:part name="parameters" element="ns:isBackendServicePresent"/>
    </wsdl:message>
    <wsdl:message name="isBackendServicePresentResponse">
        <wsdl:part name="parameters" element="ns:isBackendServicePresentResponse"/>
    </wsdl:message>
    <wsdl:message name="getAnalyticsTableRequest">
        <wsdl:part name="parameters" element="ns:getAnalyticsTable"/>
    </wsdl:message>
    <wsdl:message name="getAnalyticsTableResponse">
        <wsdl:part name="parameters" element="ns:getAnalyticsTableResponse"/>
    </wsdl:message>
    <wsdl:portType name="EventStreamPersistenceAdminServicePortType">
        <wsdl:operation name="listRecordStoreNames">
            <wsdl:input message="ns:listRecordStoreNamesRequest" wsaw:Action="urn:listRecordStoreNames"/>
            <wsdl:output message="ns:listRecordStoreNamesResponse" wsaw:Action="urn:listRecordStoreNamesResponse"/>
        </wsdl:operation>
        <wsdl:operation name="addAnalyticsTable">
            <wsdl:input message="ns:addAnalyticsTableRequest" wsaw:Action="urn:addAnalyticsTable"/>
            <wsdl:fault message="ns:EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException" name="EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException" wsaw:Action="urn:addAnalyticsTableEventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException"/>
        </wsdl:operation>
        <wsdl:operation name="isBackendServicePresent">
            <wsdl:input message="ns:isBackendServicePresentRequest" wsaw:Action="urn:isBackendServicePresent"/>
            <wsdl:output message="ns:isBackendServicePresentResponse" wsaw:Action="urn:isBackendServicePresentResponse"/>
        </wsdl:operation>
        <wsdl:operation name="getAnalyticsTable">
            <wsdl:input message="ns:getAnalyticsTableRequest" wsaw:Action="urn:getAnalyticsTable"/>
            <wsdl:output message="ns:getAnalyticsTableResponse" wsaw:Action="urn:getAnalyticsTableResponse"/>
            <wsdl:fault message="ns:EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException" name="EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException" wsaw:Action="urn:getAnalyticsTableEventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="EventStreamPersistenceAdminServiceSoap11Binding" type="ns:EventStreamPersistenceAdminServicePortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="listRecordStoreNames">
            <soap:operation soapAction="urn:listRecordStoreNames" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="addAnalyticsTable">
            <soap:operation soapAction="urn:addAnalyticsTable" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:fault name="EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException">
                <soap:fault use="literal" name="EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="isBackendServicePresent">
            <soap:operation soapAction="urn:isBackendServicePresent" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getAnalyticsTable">
            <soap:operation soapAction="urn:getAnalyticsTable" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException">
                <soap:fault use="literal" name="EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException"/>
            </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="EventStreamPersistenceAdminServiceSoap12Binding" type="ns:EventStreamPersistenceAdminServicePortType">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="listRecordStoreNames">
            <soap12:operation soapAction="urn:listRecordStoreNames" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="addAnalyticsTable">
            <soap12:operation soapAction="urn:addAnalyticsTable" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:fault name="EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException">
                <soap12:fault use="literal" name="EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="isBackendServicePresent">
            <soap12:operation soapAction="urn:isBackendServicePresent" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getAnalyticsTable">
            <soap12:operation soapAction="urn:getAnalyticsTable" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException">
                <soap12:fault use="literal" name="EventStreamPersistenceAdminServiceEventStreamPersistenceAdminServiceException"/>
            </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="EventStreamPersistenceAdminServiceHttpBinding" type="ns:EventStreamPersistenceAdminServicePortType">
        <http:binding verb="POST"/>
        <wsdl:operation name="listRecordStoreNames">
            <http:operation location="listRecordStoreNames"/>
            <wsdl:input>
                <mime:content type="text/xml" part="parameters"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" part="parameters"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="addAnalyticsTable">
            <http:operation location="addAnalyticsTable"/>
            <wsdl:input>
                <mime:content type="text/xml" part="parameters"/>
            </wsdl:input>
        </wsdl:operation>
        <wsdl:operation name="isBackendServicePresent">
            <http:operation location="isBackendServicePresent"/>
            <wsdl:input>
                <mime:content type="text/xml" part="parameters"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" part="parameters"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getAnalyticsTable">
            <http:operation location="getAnalyticsTable"/>
            <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="EventStreamPersistenceAdminService">
        <wsdl:port name="EventStreamPersistenceAdminServiceHttpsSoap11Endpoint" binding="ns:EventStreamPersistenceAdminServiceSoap11Binding">
            <soap:address location="https://10.100.5.97:9443/services/EventStreamPersistenceAdminService.EventStreamPersistenceAdminServiceHttpsSoap11Endpoint/"/>
        </wsdl:port>
        <wsdl:port name="EventStreamPersistenceAdminServiceHttpsSoap12Endpoint" binding="ns:EventStreamPersistenceAdminServiceSoap12Binding">
            <soap12:address location="https://10.100.5.97:9443/services/EventStreamPersistenceAdminService.EventStreamPersistenceAdminServiceHttpsSoap12Endpoint/"/>
        </wsdl:port>
        <wsdl:port name="EventStreamPersistenceAdminServiceHttpsEndpoint" binding="ns:EventStreamPersistenceAdminServiceHttpBinding">
            <http:address location="https://10.100.5.97:9443/services/EventStreamPersistenceAdminService.EventStreamPersistenceAdminServiceHttpsEndpoint/"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>