<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 1996-2017 swissdec & itServe AG. All rights reserved.
    This software is the proprietary information of itServe AG as implementor for swissdec.
    Use is subject to license terms.

-->
<wsdl:definitions
        name="OrganizationAuthenticationConsumerService"
        targetNamespace="http://www.swissdec.ch/schema/oa/20190301/OrganizationAuthenticationConsumerService"
        xmlns:oacs="http://www.swissdec.ch/schema/oa/20190301/OrganizationAuthenticationConsumerService"
        xmlns:oacst="http://www.swissdec.ch/schema/oa/20190301/OrganizationAuthenticationConsumerServiceTypes"
        xmlns:c="http://www.swissdec.ch/schema/common/20180901/Common"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

    <!-- 31.07.2019  author: itServe, bfh
        intern: final1.0.0 // FINAL
        business-view  = OK
        technical-view = final
        SVN keywords
        $Date:: 2020-06-12 14:42:58 +0200 (Fr., 12 Jun 2020)    $: Date of last commit
        $Revision:: 26766                                       $: Revision of last commit
        $Author:: flueckiger                                    $: Author of last commit

    -->

    <wsdl:types>
        <xs:schema>
            <xs:import
                    namespace="http://www.swissdec.ch/schema/oa/20190301/OrganizationAuthenticationConsumerServiceTypes"
                    schemaLocation="OrganizationAuthenticationConsumerServiceTypes.xsd"/>
        </xs:schema>
    </wsdl:types>

    <wsdl:message name="PingConsumerRequest">
        <wsdl:part name="parameters" element="oacst:PingConsumer"/>
    </wsdl:message>
    <wsdl:message name="PingConsumerResponse">
        <wsdl:part name="parameters" element="oacst:PingConsumerResponse"/>
    </wsdl:message>


    <!-- Registration -->
    <wsdl:message name="RegisterOrganizationConsumerRequest">
        <wsdl:part name="parameters" element="oacst:RegisterOrganizationConsumer"/>
    </wsdl:message>
    <wsdl:message name="RegisterOrganizationConsumerResponse">
        <wsdl:part name="parameters" element="oacst:RegisterOrganizationConsumerResponse"/>
    </wsdl:message>

    <!-- GetResultFromRegistration -->
    <wsdl:message name="GetResultFromOrganizationRegistrationConsumerRequest">
        <wsdl:part name="parameters" element="oacst:GetResultFromOrganizationRegistrationConsumer"/>
    </wsdl:message>
    <wsdl:message name="GetResultFromOrganizationRegistrationConsumerResponse">
        <wsdl:part name="parameters" element="oacst:GetResultFromOrganizationRegistrationConsumerResponse"/>
    </wsdl:message>

    <!-- Fault -->
    <wsdl:message name="OrganizationAuthenticationConsumerFault">
        <wsdl:part name="parameters" element="oacst:OrganizationAuthenticationConsumerFault"/>
    </wsdl:message>

    <wsdl:portType name="OrganizationAuthenticationConsumerPort">
        <wsdl:operation name="PingConsumer">
            <wsdl:input message="oacs:PingConsumerRequest"/>
            <wsdl:output message="oacs:PingConsumerResponse"/>
        </wsdl:operation>
        <wsdl:operation name="RegisterOrganizationConsumer">
            <wsdl:input message="oacs:RegisterOrganizationConsumerRequest"/>
            <wsdl:output message="oacs:RegisterOrganizationConsumerResponse"/>
            <wsdl:fault name="OrganizationAuthenticationConsumerFault"
                        message="oacs:OrganizationAuthenticationConsumerFault"/>
        </wsdl:operation>
        <wsdl:operation name="GetResultFromRegisterOrganizationConsumer">
            <wsdl:input message="oacs:GetResultFromOrganizationRegistrationConsumerRequest"/>
            <wsdl:output message="oacs:GetResultFromOrganizationRegistrationConsumerResponse"/>
            <wsdl:fault name="OrganizationAuthenticationConsumerFault"
                        message="oacs:OrganizationAuthenticationConsumerFault"/>
        </wsdl:operation>
    </wsdl:portType>

    <wsdl:binding name="OrganizationAuthenticationConsumerSOAPBinding"
                  type="oacs:OrganizationAuthenticationConsumerPort">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="PingConsumer">
            <soap:operation soapAction="" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>

        <wsdl:operation name="RegisterOrganizationConsumer">
            <soap:operation soapAction="" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="OrganizationAuthenticationConsumerFault">
                <soap:fault name="OrganizationAuthenticationConsumerFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>

        <wsdl:operation name="GetResultFromRegisterOrganizationConsumer">
            <soap:operation soapAction="" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="OrganizationAuthenticationConsumerFault">
                <soap:fault name="OrganizationAuthenticationConsumerFault" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>

    <wsdl:service name="OrganizationAuthenticationConsumerService">
        <wsdl:port name="OrganizationAuthenticationConsumer"
                   binding="oacs:OrganizationAuthenticationConsumerSOAPBinding">
            <soap:address
                    location="http://tst.itserve.ch/services/OrganizationAuthenticationConsumer"/>
        </wsdl:port>
    </wsdl:service>

</wsdl:definitions>