<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="isbhr-g"
                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                  xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                  xmlns:brocom="http://www.broservices.nl/xsd/brocommon/3"
                  xmlns:msg="http://www.broservices.nl/xsd/isbhrg/3"
                  xmlns:tns="http://www.broservices.nl/wsdl/isbhrg/3"
                  targetNamespace="http://www.broservices.nl/wsdl/isbhrg/3">

    <wsdl:documentation>
        Deze WSDL beschrijft de webservice voor inname van geologisch booronderzoek (isbhr-g). Verise - 3.2.0
    </wsdl:documentation>

    <wsdl:types>
        <xsd:schema xmlns:tns="http://www.broservices.nl/wsdl/isbhrg/3" targetNamespace="http://www.broservices.nl/wsdl/isbhrg/3">
            <xsd:import namespace="http://www.broservices.nl/xsd/isbhrg/3" schemaLocation="https://schema.broservices.nl/xsd/isbhrg/3/isbhr-g-messages.xsd"/>
            <xsd:import namespace="http://www.broservices.nl/xsd/brocommon/3"
                schemaLocation="https://schema.broservices.nl/xsd/brocommon/3/brocommon.xsd" />
            <!--
            <xsd:import namespace="http://www.broservices.nl/xsd/isbhrg/3" schemaLocation="https://schema.broservices.nl/xsd/isbhrg/3/isbhr-g-messages.xsd"/>
                        -->
        </xsd:schema>
    </wsdl:types>

    <wsdl:message name="registrationRequest">
        <wsdl:part element="msg:registrationRequest" name="request"/>
    </wsdl:message>
    
    <wsdl:message name="correctionRequest">
        <wsdl:part element="msg:correctionRequest" name="request"/>
    </wsdl:message>

    <wsdl:message name="intakeResponse">
        <wsdl:part element="msg:intakeResponse" name="response"/>
    </wsdl:message>

    <wsdl:message name="parseSoapFault">
        <wsdl:part element="msg:parseFault" name="parseFault"/>
    </wsdl:message>

        <wsdl:message name="DeliveryResponsiblePartyHeader">
        <wsdl:part name="deliveryResponsibleParty" element="brocom:deliveryResponsibleParty"/>
    </wsdl:message>

    <wsdl:portType name="isbhr-g">
        <wsdl:operation name="register">
            <wsdl:input message="tns:registrationRequest" wsam:Action="http://www.broservices.nl/wsdl/isbhr-g/registrationRequest"/>
            <wsdl:output message="tns:intakeResponse" wsam:Action="http://www.broservices.nl/wsdl/isbhr-g/intakeResponse"/>
            <wsdl:fault message="tns:parseSoapFault" name="parseFault" wsam:Action="http://www.broservices.nl/wus/isbhr-g/parseSoapFault"/>
        </wsdl:operation>
        <wsdl:operation name="correct">
            <wsdl:input message="tns:correctionRequest" wsam:Action="http://www.broservices.nl/wsdl/isbhr-g/correctionRequest" />
            <wsdl:output message="tns:intakeResponse" wsam:Action="http://www.broservices.nl/wsdl/isbhr-g/intakeResponse" />
            <wsdl:fault message="tns:parseSoapFault" name="parseFault" wsam:Action="http://www.broservices.nl/wus/isbhr-g/parseSoapFault" />
        </wsdl:operation>
    </wsdl:portType>

    <wsdl:binding name="isbhr-g_SOAP" type="tns:isbhr-g">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="register">
            <soap:operation soapAction="" style="document"/>
            <wsdl:input>
                <soap:body use="literal" />
                <soap:header use="literal" part="deliveryResponsibleParty" message="tns:DeliveryResponsiblePartyHeader" />
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="parseFault">
                <soap:fault use="literal" name="parseFault"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="correct">
            <soap:operation soapAction="" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
            <wsdl:fault name="parseFault">
                <soap:fault use="literal" name="parseFault"/>
            </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>

    <wsdl:service name="isbhr-g">
        <wsdl:port name="isbhr-g_SOAP" binding="tns:isbhr-g_SOAP">
            <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
        </wsdl:port>
    </wsdl:service>

</wsdl:definitions>
