42 lines
1.8 KiB
XML
42 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
|
xmlns:mes30="https://www.ketenstandaard.nl/WS/MessageService/3.0" version="1.0">
|
|
<xsl:import href="./F_PutOpdrachtSIDB.xsl"/>
|
|
<xsl:import href="./F_SIDB_common.xsl"/>
|
|
<xsl:output method="xml" indent="yes" encoding="utf-8"/>
|
|
<xsl:decimal-format name="european" decimal-separator="," grouping-separator="."/>
|
|
<xsl:param name="mode"/>
|
|
<xsl:variable name="Rev">
|
|
<!-- Revision van deze cust.xsl -->
|
|
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
|
|
</xsl:variable>
|
|
|
|
<xsl:template name="SidB_responsemessage">
|
|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
|
<soap:Body>
|
|
<xsl:if test="returncode!='0'">
|
|
<soap:Fault>
|
|
<faultcode>soap:Server</faultcode>
|
|
<faultstring>Server error</faultstring>
|
|
<detail>
|
|
<FaultDetails>
|
|
<ErrorCode>900</ErrorCode>
|
|
<Message xml:lang='nl'>Statusbericht op opdracht MAR<xsl:value-of select="@key"/> levert op <xsl:value-of select="datum"/> volgende fout/error: <xsl:value-of select="returntekst"/></Message>
|
|
</FaultDetails>
|
|
</detail>
|
|
</soap:Fault>
|
|
</xsl:if>
|
|
<mes30:MessageResponse>
|
|
<MessageResult>
|
|
<xsl:choose>
|
|
<xsl:when test="returncode='0'">true</xsl:when>
|
|
<xsl:otherwise>false</xsl:otherwise>
|
|
</xsl:choose>
|
|
</MessageResult>
|
|
</mes30:MessageResponse>
|
|
</soap:Body>
|
|
</soap:Envelope>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|