r1 - 17 Oct 2007 - 14:08:52 - ChristianGasserYou are here: TWiki >  Afkobling Web > XmlEksempel

XML eksempel

DGWS 1 header, med bruger-information til eksplicit id-kort oprettelse, samt angivelse af svarkø, samt alternativ afkoblingsmodel.
<?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" 
    xmlns:dc="http://www.sosi.dk/2007/07/decoupling-component-1.0.xds?
    id="Envelope">
    <soapenv:Header>
        <wsse:Security>
            <wsu:Timestamp>
                <wsu:Created>2007-08-01T14:08:48</wsu:Created>
            </wsu:Timestamp>
            <saml:Assertion IssueInstant="2007-08-01T14:03:48" Version="2.0" id="IDCard"
                xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
                xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
                <saml:Issuer>RSD/hamoni/svs</saml:Issuer>
                <saml:Subject>
                    <saml:NameID Format="medcom:cprnumber">2601610143</saml:NameID>
                </saml:Subject>
                <saml:Conditions NotBefore="2007-08-01T14:03:48" 
                                 NotOnOrAfter="2007-08-02T14:03:48" />
                <saml:AttributeStatement id="IDCardData">
                    <saml:Attribute Name="sosi:IDCardID">
                        <saml:AttributeValue>7DpG0zpwmBDqKVu726m93Q==</saml:AttributeValue>
                    </saml:Attribute>
                    <saml:Attribute Name="sosi:IDCardVersion">
                        <saml:AttributeValue>1.0</saml:AttributeValue>
                    </saml:Attribute>
                    <saml:Attribute Name="sosi:IDCardType">
                        <saml:AttributeValue>user</saml:AttributeValue>
                    </saml:Attribute>
                    <saml:Attribute Name="sosi:AuthenticationLevel">
                        <saml:AttributeValue>1</saml:AttributeValue>
                    </saml:Attribute>
                </saml:AttributeStatement>
                <saml:AttributeStatement id="UserLog">
                    <saml:Attribute Name="medcom:UserAuthorizationCode">
                        <saml:AttributeValue>2101</saml:AttributeValue>
                    </saml:Attribute>
                </saml:AttributeStatement id="UserLog">
                <saml:AttributeStatement id="SystemLog">
                    <saml:Attribute Name="medcom:ITSystemName">
                        <saml:AttributeValue>Harmoni/svs</saml:AttributeValue>
                    </saml:Attribute>
                    <saml:Attribute Name="medcom:CareProviderID" NameFormat="medcom:cvrnumber">
                        <saml:AttributeValue> 5798002132588</saml:AttributeValue>
                    </saml:Attribute>
                    <saml:Attribute Name="medcom:CareProviderName">
                        <saml:AttributeValue>RSD IT</saml:AttributeValue>
                    </saml:Attribute>
                </saml:AttributeStatement>
            </saml:Assertion>
        </wsse:Security>
        <medcom:Header>
            <medcom:SecurityLevel>1</medcom:SecurityLevel>
            <medcom:Linking>
                <medcom:FlowID>1234</medcom:FlowID>
                <medcom:MessageID>AAABFCFUBUPZ7rXq/eRZSVNPU0k=</medcom:MessageID>
            </medcom:Linking>
            <medcom:RequireNonRepudiationReceipt>no</medcom:RequireNonRepudiationReceipt>
        </medcom:Header>
        <dcc:DecouplingHeader>
             <dcc:DecouplingModel>queue_after_timeout</dcc:DecouplingModel>
             <dcc:Timeout>5</dcc:Timeout>
             <dcc:ReplyTo>mailto:PEM2-problems@hamoni-svs.rsd.dk</dcc:ReplyTo>
         </dcc:DecouplingHeader>
    </soapenv:Header>
    <soapenv:Body>
   { PEM2 request body } 
    </soapenv:Body/>

-- ChristianGasser - 17 Oct 2007

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback