<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:configuration xmlns:ns2="http://domibus.eu/configuration" party="oots_dk_ap_prod">
    <businessProcesses>
        <roles>
            <role name="defaultInitiatorRole" value="http://sdg.europa.eu/edelivery/gateway"/>
            <role name="defaultResponderRole" value="http://sdg.europa.eu/edelivery/gateway"/>
        </roles>
        <parties>
            <partyIdTypes>
                <partyIdType name="partyTypeUrn" value="urn:oasis:names:tc:ebcore:partyid-type:unregistered:DK"/>
            </partyIdTypes>
            <party name="egevir_ap_prod" endpoint="https://erst.virk.dk/egevir/domibus/services/msh">
                <identifier partyId="egevir_ap_prod_id" partyIdType="partyTypeUrn"/>
            </party>
            <party name="oots_dk_ap_prod" endpoint="http://localhost:8080/domibus/services/msh">
                <identifier partyId="oots_dk_ap_prod" partyIdType="partyTypeUrn"/>
            </party>
        </parties>
        <meps>
            <mep name="oneway" value="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/oneWay" legs="0"/>
            <mep name="twoway" value="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/twoWay" legs="0"/>
            <binding name="push" value="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/push"/>
            <binding name="pushAndPush" value="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/pushAndPush"/>
        </meps>
        <properties>
            <property name="originalSenderProperty" key="originalSender" datatype="string" required="true"/>
            <property name="finalRecipientProperty" key="finalRecipient" datatype="string" required="true"/>
            <property name="trackingIdentifierProperty" key="trackingIdentifier" datatype="string" required="false"/>
            <property name="sdgProcedureIdentifier" key="sdgProcedureIdentifier" datatype="string" required="false"/>
            <propertySet name="fourCornersPropertySet">
                <propertyRef property="originalSenderProperty"/>
                <propertyRef property="finalRecipientProperty"/>
                <propertyRef property="trackingIdentifierProperty"/>
                <propertyRef property="sdgProcedureIdentifier"/>
            </propertySet>
        </properties>
        <payloadProfiles>
            <payload name="RegRepPayload" cid="cid:regrep" mimeType="application/x-ebrs+xml" maxSize="0" required="true" inBody="false"/>
            <payload name="MetaData" cid="cid:metadata" mimeType="text/xml" maxSize="0" required="false" inBody="false"/>
            <payload name="EvidenceXML" cid="cid:evidencexml" mimeType="text/xml" maxSize="0" required="false" inBody="false"/>
            <payload name="EvidencePDF" cid="cid:evidencepdf" mimeType="application/pdf" maxSize="0" required="false" inBody="false"/>
            <payload name="EvidenceOther" cid="cid:evidenceother" mimeType="application/octet-stream" maxSize="0" required="false" inBody="false"/>
            <payloadProfile name="MessageProfile" maxSize="2147483647">
                <attachment name="RegRepPayload"/>
                <attachment name="MetaData"/>
                <attachment name="EvidenceXML"/>
                <attachment name="EvidencePDF"/>
                <attachment name="EvidenceOther"/>
            </payloadProfile>
        </payloadProfiles>
        <securities>
            <security name="eDeliveryAS4Policy_BST" policy="eDeliveryAS4Policy_BST.xml"/>
        </securities>
        <errorHandlings>
            <errorHandling name="defaultErrorHandling" errorAsResponse="true" businessErrorNotifyProducer="false" businessErrorNotifyConsumer="false" deliveryFailureNotifyProducer="false"/>
            <errorHandling name="secondErrorHandlingAllTrue" errorAsResponse="true" businessErrorNotifyProducer="true" businessErrorNotifyConsumer="true" deliveryFailureNotifyProducer="true"/>
        </errorHandlings>
        <agreements>
            <agreement name="agreementEmpty" value="" type=""/>
        </agreements>
        <services>
            <service name="queryManager" value="QueryManager" type="urn:oasis:names:tc:ebcore:ebrs:ebms:binding:1.0"/>
            <service name="testService" value="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/service"/>
        </services>
        <actions>
            <action name="executeQueryRequest" value="ExecuteQueryRequest"/>
            <action name="executeQueryResponse" value="ExecuteQueryResponse"/>
            <action name="exceptionResponse" value="ExceptionResponse"/>
            <action name="testAction" value="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/test"/>
        </actions>
        <as4>
            <receptionAwareness name="receptionAwareness" retry="12;4;CONSTANT" duplicateDetection="true"/>
            <reliability name="AS4Reliability" replyPattern="response" nonRepudiation="true"/>
        </as4>
        <splittingConfigurations>
            <splitting name="default" fragmentSize="20" compression="true" joinInterval="1440"/>
        </splittingConfigurations>
        <legConfigurations>
            <legConfiguration name="ootsRequestLeg" reliability="AS4Reliability" security="eDeliveryAS4Policy_BST" receptionAwareness="receptionAwareness" service="queryManager" action="executeQueryRequest" defaultMpc="defaultMpc" propertySet="fourCornersPropertySet" errorHandling="defaultErrorHandling" compressPayloads="true"/>
            <legConfiguration name="ootsResponseLeg" reliability="AS4Reliability" security="eDeliveryAS4Policy_BST" receptionAwareness="receptionAwareness" service="queryManager" action="executeQueryResponse" defaultMpc="defaultMpc" propertySet="fourCornersPropertySet" errorHandling="defaultErrorHandling" compressPayloads="false"/>
            <legConfiguration name="ootsErrorLeg" reliability="AS4Reliability" security="eDeliveryAS4Policy_BST" receptionAwareness="receptionAwareness" service="queryManager" action="exceptionResponse" defaultMpc="defaultMpc" propertySet="fourCornersPropertySet" errorHandling="defaultErrorHandling" compressPayloads="true"/>
            <legConfiguration name="testServiceCase" reliability="AS4Reliability" security="eDeliveryAS4Policy_BST" receptionAwareness="receptionAwareness" service="testService" action="testAction" defaultMpc="defaultMpc" propertySet="fourCornersPropertySet" errorHandling="defaultErrorHandling" compressPayloads="true"/>
        </legConfigurations>
        <process name="ootsProcess" initiatorRole="defaultInitiatorRole" responderRole="defaultInitiatorRole" agreement="agreementEmpty" mep="oneway" binding="push">
            <initiatorParties>
                <initiatorParty name="oots_dk_ap_prod"/>
                <initiatorParty name="egevir_ap_prod"/>
            </initiatorParties>
            <responderParties>
                <responderParty name="oots_dk_ap_prod"/>
                <responderParty name="egevir_ap_prod"/>
            </responderParties>
            <legs>
                <leg name="ootsRequestLeg"/>
                <leg name="ootsResponseLeg"/>
                <leg name="ootsErrorLeg"/>
            </legs>
        </process>
        <process name="testProcess" initiatorRole="defaultInitiatorRole" responderRole="defaultInitiatorRole" agreement="agreementEmpty" mep="oneway" binding="push">
            <initiatorParties>
                <initiatorParty name="oots_dk_ap_prod"/>
                <initiatorParty name="egevir_ap_prod"/>
            </initiatorParties>
            <responderParties>
                <responderParty name="oots_dk_ap_prod"/>
                <responderParty name="egevir_ap_prod"/>
            </responderParties>
            <legs>
                <leg name="testServiceCase"/>
            </legs>
        </process>
    </businessProcesses>
    <mpcs>
        <mpc name="defaultMpc" retention_downloaded="0" retention_undownloaded="3600" retention_sent="-1" retention_metadata_offset="0" delete_message_metadata="false" max_batch_delete="-1" default="true" enabled="true" qualifiedName="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/defaultMPC"/>
    </mpcs>
</ns2:configuration>
