<?xml version="1.0"?>
<definitions name="BisnodeNOGI"
    targetNamespace="http://ws.infotorg.no/xml/Bisnode/BisnodeNOGI/2020-03-01/BISNOGI.wsdl"
    xmlns:tns="http://ws.infotorg.no/xml/Bisnode/BisnodeNOGI/2020-03-01/BISNOGI.wsdl"
    xmlns:brukersesjon="http://ws.infotorg.no/xml/Admin/Brukersesjon/2006-07-07/Brukersesjon.xsd"
    xmlns:transaksjon="http://ws.infotorg.no/xml/Admin/Transaksjon/2006-07-07/Transaksjon.xsd"
    xmlns:feil="http://ws.infotorg.no/xml/Feil/Feil.xsd"
    xmlns:bisnogi="http://ws.infotorg.no/xml/Bisnode/BisnodeNOGI/2020-03-01/BISNOGI.xsd"
    xmlns:soapbind="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns="http://schemas.xmlsoap.org/wsdl/">

    <documentation>
        Tjenestespesifikasjon for Norskgjeldsinformasjon via BISNODE.

        © 2020 EVRY ASA
        Forfatter: Thomas Flatmo &lt;thomas.flatmo@evry.com&gt;
    </documentation>

    <types>
        <schema
            xmlns="http://www.w3.org/2001/XMLSchema">
            <import
                namespace="http://ws.infotorg.no/xml/Admin/Brukersesjon/2006-07-07/Brukersesjon.xsd"
                schemaLocation="https://ws-test.infotorg.no/xml/Admin/Brukersesjon/2006-07-07/Brukersesjon.xsd"/>
            <import
                namespace="http://ws.infotorg.no/xml/Admin/Transaksjon/2006-07-07/Transaksjon.xsd"
                schemaLocation="https://ws-test.infotorg.no/xml/Admin/Transaksjon/2006-07-07/Transaksjon.xsd"/>
            <import
                namespace="http://ws.infotorg.no/xml/Feil/Feil.xsd"
                schemaLocation="https://ws-test.infotorg.no/xml/Feil/Feil.xsd"/>
            <import
                 namespace="http://ws.infotorg.no/xml/Bisnode/BisnodeNOGI/2020-03-01/BISNOGI.xsd"
                 schemaLocation="https://ws-test.infotorg.no/xml/Bisnode/BisnodeNOGI/2020-03-01/BISNOGI.xsd"/>
                 
        </schema>
    </types>

    <message name="spoerring">
        <part name="Brukersesjon" element="brukersesjon:Brukersesjon"/>
        <part name="Transaksjon" element="transaksjon:Transaksjon"/>
    </message>

    <message name="svar">
        <part name="Brukersesjon" element="brukersesjon:Brukersesjon"/>
        <part name="Transaksjonsinfo" element="transaksjon:Transaksjonsinfo"/>
    </message>

    <message name="feil">
        <part name="feil" element="feil:feil"/>
    </message>

    <message name="hentOppslagGjeldsinformasjonRequest">
        <part name="hentOppslagGjeldsinformasjon" element="bisnogi:hentOppslagGjeldsinformasjon"/>
    </message>
    <message name="hentOppslagGjeldsinformasjonResponse">
        <part name="OppslagGjeldsinformasjon" element="bisnogi:OppslagGjeldsinformasjon"/>
    </message>
    
    <portType name="bisnogiPortType">
        <operation name="hentOppslagGjeldsinformasjon">
           <input message="tns:hentOppslagGjeldsinformasjonRequest"/>
           <output message="tns:hentOppslagGjeldsinformasjonResponse"/>
           <fault name="feil" message="tns:feil"/>
        </operation>
    </portType>

    <binding name="bisnogiBinding" type="tns:bisnogiPortType">
        <soapbind:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="hentOppslagGjeldsinformasjon">
            <soapbind:operation soapAction=""/>
            <input>
                <soapbind:header message="tns:spoerring" part="Brukersesjon" use="literal"/>
                <soapbind:header message="tns:spoerring" part="Transaksjon" use="literal"/>
                <soapbind:body use="literal"/>
            </input>
            <output>
                <soapbind:header message="tns:svar" part="Brukersesjon" use="literal"/>
                <soapbind:header message="tns:svar" part="Transaksjonsinfo" use="literal"/>
                <soapbind:body use="literal"/>
            </output>
            <fault name="feil">
                <soapbind:fault name="feil" use="literal"/>
            </fault>
        </operation>
        
    </binding>

    <service name="BISNOGIService">
        <port name="bisnogiPort" binding="tns:bisnogiBinding">
            <soapbind:address location="https://ws-test.infotorg.no/ws/Bisnode/BisnodeNOGI.pl"/>
        </port>
    </service>
</definitions>
