Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2013 sp1 (http://www.altova.com) by Robert Melskens (Kwaliteits Instituut Nederlandse Gemeenten) -->
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="StUF-ZKN0310" targetNamespace="http://www.egem.nl/StUF/sector/zkn/0310">
<import namespace="http://www.egem.nl/StUF/StUF0301" location="../../0301/stuf0301_types.wsdl"/>
<documentation>
<xs:documentation>
Dit document definieert de webservices voor het portType OntvangAsynchroon voor het ZS-DMS koppelvlak.

Versie 031000

Versie 031001, wijzigingen t.b.v. patch 21 (1-4-2015) vergeleken met versie 031000 zijn de volgende wijzigingen doorgevoerd:
- ERR0353: Het documentation element is voorzien van een standaard 'appinfo' structuur met daarin informatie over het schema.
- 382488: De backslashes ('\') in het attribute 'schemaLocation' van het 'definitions/types/schema/import' vervangen door forward slashes ('/').

</xs:documentation>
<xs:appinfo>
<StUF:onderdeel>http://www.egem.nl/StUF/sector/zkn/0310</StUF:onderdeel>
<StUF:patch>22</StUF:patch>
<StUF:patchdatum>20150701</StUF:patchdatum>
<StUF:schemaversie>1</StUF:schemaversie>
</xs:appinfo>
</documentation>
<types>
<xs:schema>
<xs:import namespace="http://www.egem.nl/StUF/sector/zkn/0310" schemaLocation="../mutatie/zkn0310_msg_mutatie.xsd"/>
</xs:schema>
</types>
<message name="edcLk01">
<part name="body" element="ZKN:edcLk01"/>
</message>
<message name="zakLk01">
<part name="body" element="ZKN:zakLk01"/>
</message>
<portType name="OntvangAsynchroon">
<documentation>
Dit portType ondersteunt als operaties alle asynchrone berichten gedefinieerd binnen het sectormodel
</documentation>
<operation name="Bv03">
<input message="StUF:Bv03"/>
<output message="StUF:Bv03"/>
<fault name="fout" message="StUF:Fo03"/>
</operation>
<operation name="Fo01">
<input message="StUF:Fo01"/>
<output message="StUF:Bv03"/>
<fault name="fout" message="StUF:Fo03"/>
</operation>
<operation name="Fo03">
<input message="StUF:Fo03"/>
<output message="StUF:Bv03"/>
<fault name="fout" message="StUF:Fo03"/>
</operation>
<operation name="voegZaakdocumentToe_Lk01">
<input message="ZKN:edcLk01"/>
<output message="StUF:Bv03"/>
<fault name="fout" message="StUF:Fo03"/>
</operation>
<operation name="maakZaakdocument_Lk01">
<input message="ZKN:edcLk01"/>
<output message="StUF:Bv03"/>
<fault name="fout" message="StUF:Fo03"/>
</operation>
<operation name="actualiseerZaakstatus_Lk01">
<input message="ZKN:zakLk01"/>
<output message="StUF:Bv03"/>
<fault name="fout" message="StUF:Fo03"/>
</operation>
<operation name="creeerZaak_Lk01">
<input message="ZKN:zakLk01"/>
<output message="StUF:Bv03"/>
<fault name="fout" message="StUF:Fo03"/>
</operation>
<operation name="updateZaak_Lk01">
<input message="ZKN:zakLk01"/>
<output message="StUF:Bv03"/>
<fault name="fout" message="StUF:Fo03"/>
</operation>
</portType>
<binding name="SOAPOntvangAsynchroon" type="ZKN:OntvangAsynchroon">
<documentation>
Omdat de uit te wisselen berichten volledig gedefinieerd zijn in het sectormodel cq de StUF-standaard, kunnen we ze zonder verdere encoding (“literal”) opnemen in de body.
Niet ondersteunde berichten kunnen uit de binding en portType worden verwijderd.
</documentation>
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
<operation name="Bv03">
<soap:operation soapAction="http://www.egem.nl/StUF/StUF0301/Bv03"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="fout">
<soap:fault name="fout" use="literal"/>
</fault>
</operation>
<operation name="Fo01">
<soap:operation soapAction="http://www.egem.nl/StUF/StUF0301/Fo01" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
<input>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</input>
<output>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</output>
<fault name="fout">
<soap:fault name="fout" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</fault>
</operation>
<operation name="Fo03">
<soap:operation soapAction="http://www.egem.nl/StUF/StUF0301/Fo03" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
<input>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</input>
<output>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</output>
<fault name="fout">
<soap:fault name="fout" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</fault>
</operation>
<operation name="voegZaakdocumentToe_Lk01">
<soap:operation soapAction="http://www.egem.nl/StUF/sector/zkn/0310/voegZaakdocumentToe_Lk01" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
<input>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</input>
<output>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</output>
<fault name="fout">
<soap:fault name="fout" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</fault>
</operation>
<operation name="maakZaakdocument_Lk01">
<soap:operation soapAction="http://www.egem.nl/StUF/sector/zkn/0310/maakZaakdocument_Lk01" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
<input>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</input>
<output>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</output>
<fault name="fout">
<soap:fault name="fout" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</fault>
</operation>
<operation name="actualiseerZaakstatus_Lk01">
<soap:operation soapAction="http://www.egem.nl/StUF/sector/zkn/0310/actualiseerZaakstatus_Lk01" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
<input>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</input>
<output>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</output>
<fault name="fout">
<soap:fault name="fout" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</fault>
</operation>
<operation name="creeerZaak_Lk01">
<soap:operation soapAction="http://www.egem.nl/StUF/sector/zkn/0310/creeerZaak_Lk01" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
<input>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</input>
<output>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</output>
<fault name="fout">
<soap:fault name="fout" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</fault>
</operation>
<operation name="updateZaak_Lk01">
<soap:operation soapAction="http://www.egem.nl/StUF/sector/zkn/0310/updateZaak_Lk01" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
<input>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</input>
<output>
<soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</output>
<fault name="fout">
<soap:fault name="fout" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</fault>
</operation>
</binding>
<service name="OntvangAsynchroon">
<documentation>
Hieronder wordt de concreet aan te roepen service voor het ontvangen van asynchrone ZKN0310-berichten gedefinieerd.
</documentation>
<port name="OntvangAsynchroon" binding="ZKN:SOAPOntvangAsynchroon">
<documentation>
<wsi:Claim xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" conformsTo="http://ws-i.org/profiles/basic/1.1"/>
</documentation>
<soap:address location="http://example.com/OntvangAsynchroon" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
</port>
</service>
</definitions>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:output method="text" version="1.0" encoding="UTF-8" omit-xml-declaration="yes"/>

<xsl:template match="/">
<xsl:apply-templates select="(//error)[last()]" />
</xsl:template>
<xsl:template match="error">
<xsl:choose>
<xsl:when test="code='TechnicalError'">500</xsl:when>
<xsl:when test="code='TranslationError'">400</xsl:when>
<xsl:when test="code='ConfigurationError'">500</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="2.0">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
<xsl:param name="code" select="'TechnicalError'" as="xs:string" />
<xsl:param name="reason" select="'Undefined error'" as="xs:string" />
<xsl:param name="cause" as="node()?" />
<xsl:param name="details" select="''" as="xs:string" />
<xsl:param name="detailsXml" as="node()?" />

<xsl:template match="/">
<error>
<cause><xsl:copy-of select="$cause" /></cause>
<code><xsl:value-of select="$code" /></code>
<reason><xsl:value-of select="$reason" /></reason>
<details><xsl:value-of select="$details" /></details>
<detailsXml><xsl:copy-of select="$detailsXml"/></detailsXml>
</error>
</xsl:template>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" version="2.0">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:param name="Stuurgegevens" as="node()?" />

<xsl:template match="/">
<StUF:Bv03Bericht>
<StUF:stuurgegevens>
<StUF:berichtcode>Bv03</StUF:berichtcode>
<StUF:zender>
<StUF:organisatie><xsl:value-of select="$Stuurgegevens/stuurgegevens/ontvanger/organisatie"/></StUF:organisatie>
<StUF:applicatie><xsl:value-of select="$Stuurgegevens/stuurgegevens/ontvanger/applicatie"/></StUF:applicatie>
</StUF:zender>
<StUF:ontvanger>
<StUF:organisatie><xsl:value-of select="$Stuurgegevens/stuurgegevens/zender/organisatie"/></StUF:organisatie>
<StUF:applicatie><xsl:value-of select="$Stuurgegevens/stuurgegevens/zender/applicatie"/></StUF:applicatie>
<StUF:gebruiker><xsl:value-of select="$Stuurgegevens/stuurgegevens/zender/gebruiker"/></StUF:gebruiker>
</StUF:ontvanger>
<StUF:referentienummer><xsl:value-of select="$Stuurgegevens/stuurgegevens/referentienummer"/></StUF:referentienummer>
<StUF:tijdstipBericht><xsl:value-of select="$Stuurgegevens/stuurgegevens/tijdstipBericht"/></StUF:tijdstipBericht>
<StUF:crossRefnummer><xsl:value-of select="$Stuurgegevens/stuurgegevens/referentienummer"/></StUF:crossRefnummer>
</StUF:stuurgegevens>
</StUF:Bv03Bericht>
</xsl:template>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" version="2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:param name="Stuurgegevens" as="node()?" />
<xsl:param name="errorReason" select="''" as="xs:string" />
<xsl:param name="errorCode" select="''" as="xs:string" />
<xsl:param name="errorDetailText" select="''" as="xs:string" />
<xsl:param name="errorDetailXML" as="node()?" />

<xsl:template match="/">
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring><xsl:value-of select="$errorReason"/></faultstring>
<detail>
<StUF:Fo03Bericht>
<StUF:stuurgegevens>
<StUF:berichtcode>Fo03</StUF:berichtcode>
<StUF:zender>
<StUF:organisatie><xsl:value-of select="$Stuurgegevens/stuurgegevens/ontvanger/organisatie"/></StUF:organisatie>
<StUF:applicatie><xsl:value-of select="$Stuurgegevens/stuurgegevens/ontvanger/applicatie"/></StUF:applicatie>
</StUF:zender>
<StUF:ontvanger>
<StUF:organisatie><xsl:value-of select="$Stuurgegevens/stuurgegevens/zender/organisatie"/></StUF:organisatie>
<StUF:applicatie><xsl:value-of select="$Stuurgegevens/stuurgegevens/zender/applicatie"/></StUF:applicatie>
<StUF:gebruiker><xsl:value-of select="$Stuurgegevens/stuurgegevens/zender/gebruiker"/></StUF:gebruiker>
</StUF:ontvanger>
<StUF:referentienummer><xsl:value-of select="$Stuurgegevens/stuurgegevens/referentienummer"/></StUF:referentienummer>
<StUF:tijdstipBericht><xsl:value-of select="$Stuurgegevens/stuurgegevens/tijdstipBericht"/></StUF:tijdstipBericht>
<StUF:crossRefnummer><xsl:value-of select="$Stuurgegevens/stuurgegevens/referentienummer"/></StUF:crossRefnummer>
</StUF:stuurgegevens>
<StUF:body>
<StUF:code><xsl:value-of select="$errorCode"/></StUF:code>
<StUF:plek>server</StUF:plek>
<StUF:omschrijving><xsl:value-of select="$errorReason"/></StUF:omschrijving>
<StUF:details><xsl:value-of select="$errorDetailText"/></StUF:details>
<StUF:detailsXML><xsl:copy-of select="$errorDetailXML"/></StUF:detailsXML>
</StUF:body>
</StUF:Fo03Bericht>
</detail>
</SOAP-ENV:Fault>
</xsl:template>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" xmlns:xmime="http://www.w3.org/2005/05/xmlmime" version="2.0">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:param name="Stuurgegevens" as="node()?" />

<xsl:template match="/">
<ZKN:genereerDocumentIdentificatie_Di02>
<xsl:copy-of select="$Stuurgegevens/*:stuurgegevens" />
</ZKN:genereerDocumentIdentificatie_Di02>
</xsl:template>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:StUF="http://www.egem.nl/StUF/StUF0301" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" version="2.0">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
<xsl:param name="BerichtCode"/>
<xsl:param name="ZenderOrganisatie"/>
<xsl:param name="ZenderApplicatie"/>
<xsl:param name="OntvangerOrganisatie"/>
<xsl:param name="OntvangerApplicatie"/>
<xsl:param name="Referentienummer"/>
<xsl:param name="EntiteitType"/>
<xsl:param name="Functie"/>

<xsl:template match="/">
<ZKN:stuurgegevens>
<StUF:berichtcode><xsl:value-of select="$BerichtCode"/></StUF:berichtcode>
<StUF:zender>
<StUF:organisatie><xsl:value-of select="$ZenderOrganisatie"/></StUF:organisatie>
<StUF:applicatie><xsl:value-of select="$ZenderApplicatie"/></StUF:applicatie>
</StUF:zender>
<StUF:ontvanger>
<StUF:organisatie><xsl:value-of select="$OntvangerOrganisatie"/></StUF:organisatie>
<StUF:applicatie><xsl:value-of select="$OntvangerApplicatie"/></StUF:applicatie>
</StUF:ontvanger>
<StUF:referentienummer><xsl:value-of select="$Referentienummer"/></StUF:referentienummer>
<StUF:tijdstipBericht><xsl:value-of select="format-dateTime(current-dateTime(), '[Y0001][M01][D01][H01][m01][s01]')"/></StUF:tijdstipBericht>
<xsl:choose>
<xsl:when test="$EntiteitType != ''">
<StUF:entiteittype><xsl:value-of select="$EntiteitType"/></StUF:entiteittype>
</xsl:when>
<xsl:otherwise>
<StUF:functie><xsl:value-of select="$Functie"/></StUF:functie>
</xsl:otherwise>
</xsl:choose>
</ZKN:stuurgegevens>
</xsl:template>
</xsl:stylesheet>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ZKN="http://www.egem.nl/StUF/sector/zkn/0310" version="2.0">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
<xsl:param name="zaakIdentificatie"/>

<xsl:template match="/">
<xsl:apply-templates select="*|@*"/>
</xsl:template>

<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>

<xsl:template match="ZKN:identificatie">
<xsl:copy>
<xsl:value-of select="$zaakIdentificatie"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>
11 changes: 11 additions & 0 deletions src/main/configurations/OpenFormulieren_To_ZDS/Configuration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE Configuration [
<!ENTITY SoapEndpointRouter SYSTEM "Configuration_SoapEndpointRouter.xml">
<!ENTITY ReplaceZaakIdentificatie SYSTEM "Configuration_ReplaceZaakIdentificatie.xml">
<!ENTITY CallCreateZaakIdentificatie SYSTEM "Configuration_CallCreateZaakIdentificatie.xml">
]>

<Configuration name="OpenFormulieren_To_ZDS">
&SoapEndpointRouter;
&ReplaceZaakIdentificatie;
&CallCreateZaakIdentificatie;
</Configuration>
Loading
Loading