Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Strukturen af responses og faults er den samme som for KRS, og vil gerfor ikke blive gennemgået igen.

3.4.1     Eksempel på kald til SFM

Forespørgsel på at lave et nyt filter:

<?xml version="1.0" encoding="UTF-8" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:sosi="http://www.sosi.dk/sosi/2006/04/sosi-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wst="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Envelope">
    <soapenv:Header>

                    …
    </soapenv:Header>
    <soapenv:Body>
        <ns3:FilterNewRequestType xmlns:ns3="http://nsi.dk/2024/04/03/StamdataSfm" xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns4="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd" xmlns:ns5="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:ns6="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ns7="http://www.w3.org/2000/09/xmldsig#" xmlns:ns8="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
            <ns3:name>Filter 1</ns3:name>
            <ns3:viewPath>vitamin/1/grunddata/1</ns3:viewPath>
            <ns3:DataTypeFieldList>drugID</ns3:DataTypeFieldList>
            <ns3:DataTypeFieldList>varetype</ns3:DataTypeFieldList>
            <ns3:DataTypeFieldList>varedeltype</ns3:DataTypeFieldList>
            <ns3:DataTypeFieldList>alfabetSekvensplads</ns3:DataTypeFieldList>
        </ns3:FilterNewRequestType>
    </soapenv:Body>
</soapenv:Envelope>


3.5     Detaljeret svar fra KRS

...