Schemavalideringsfejl ang. FloorIdentifierType ved getMedicineCard

Started by Frank Bille, 2013-01-10 13:57:20

Previous topic - Next topic

Frank Bille

Hvis jeg prøver at hente et medicinkort fra fællestest, får jeg følgende fejl fra FMK serveren:

cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[1-9]|[1-9][0-9]|KL|ST|kl|st|k[2-9]|K[2-9]' for type 'FloorIdentifierType'.

Mit request ser således ud:

POST /fmk12/ws/MedicineCard HTTP/1.1

SOAPAction: http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#GetMedicineCard

Content-Type: text/xml; charset=utf-8

Connection: close

User-Agent: Jakarta Commons-HttpClient/3.1

Host: triforkfaellestest.lms.trifork.com

Transfer-Encoding: chunked



1bce

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><oas:Timestamp xmlns:oas="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><oas:Created>2013-01-10T12:47:35Z</oas:Created></oas:Timestamp><saml:Assertion IssueInstant="2013-01-10T12:42:34Z" Version="2.0" id="IDCard" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"><saml:Issuer>TESTSTS</saml:Issuer><saml:Subject><saml:NameID Format="medcom:cprnumber">2203333830</saml:NameID><saml:SubjectConfirmation><saml:ConfirmationMethod>urn:oasis:names:tc:SAML:2.0:cm:holder-of-key</saml:ConfirmationMethod><saml:SubjectConfirmationData><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:KeyName>OCESSignature</ds:KeyName></ds:KeyInfo></saml:SubjectConfirmationData></saml:SubjectConfirmation></saml:Subject><saml:Conditions NotBefore="2013-01-10T12:42:34Z" NotOnOrAfter="2013-01-11T12:42:34Z"/><saml:AttributeStatement id="IDCardData"><saml:Attribute Name="sosi:IDCardID"><saml:AttributeValue>EzkHnSEkhMlMIFNebk8Iig==</saml:AttributeValue></saml:Attribute><saml:Attribute Name="sosi:IDCardVersion"><saml:AttributeValue>1.0.1</saml:AttributeValue></saml:Attribute><saml:Attribute Name="sosi:IDCardType"><saml:AttributeValue>user</saml:AttributeValue></saml:Attribute><saml:Attribute Name="sosi:AuthenticationLevel"><saml:AttributeValue>4</saml:AttributeValue></saml:Attribute><saml:Attribute Name="sosi:OCESCertHash"><saml:AttributeValue>QfA2vbGzXHHMDGGpeZp0LCyvlpU=</saml:AttributeValue></saml:Attribute></saml:AttributeStatement><saml:AttributeStatement id="UserLog"><saml:Attribute Name="medcom:UserCivilRegistrationNumber"><saml:AttributeValue>2203333830</saml:AttributeValue></saml:Attribute><saml:Attribute Name="medcom:UserGivenName"><saml:AttributeValue>John</saml:AttributeValue></saml:Attribute><saml:Attribute Name="medcom:UserSurName"><saml:AttributeValue>Doe</saml:AttributeValue></saml:Attribute><saml:Attribute Name="medcom:UserEmailAddress"><saml:AttributeValue>john.doe@example.com</saml:AttributeValue></saml:Attribute><saml:Attribute Name="medcom:UserRole"><saml:AttributeValue>L..ge</saml:AttributeValue></saml:Attribute><saml:Attribute Name="medcom:UserAuthorizationCode"><saml:AttributeValue>DM321</saml:AttributeValue></saml:Attribute></saml:AttributeStatement><saml:AttributeStatement id="SystemLog"><saml:Attribute Name="medcom:ITSystemName"><saml:AttributeValue>CaseFlow</saml:AttributeValue></saml:Attribute><saml:Attribute Name="medcom:CareProviderID" NameFormat="medcom:cvrnumber"><saml:AttributeValue>25520041</saml:AttributeValue></saml:Attribute><saml:Attribute Name="medcom:CareProviderName"><saml:AttributeValue>Trifork</saml:AttributeValue></saml:Attribute></saml:AttributeStatement><ds:Signature id="OCESSignature" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI="#IDCard"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>NkUmEHs6tx4ZaHM15HzdV+vT5vo=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>XF0HWD4SOafUkfgpGdK8itTvIsAEni3mCx8oOqwEn6UK7J15tJsoQFAKk77ELL4hzhKjAhrz+2wOAzYKaWkxo/Ahv9HrRHmp5Y/kZPXhwoA0O3l8092K/tcQVRcMS9TuAipRS8WuSrYB4N1BdoI0YW61QOn6MRti4KGXAWPeMnk=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIIFBjCCBG+gAwIBAgIEQDhHTzANBgkqhkiG9w0BAQUFADA/MQswCQYDVQQGEwJESzEMMAoGA1UEChMDVERDMSIwIAYDVQQDExlUREMgT0NFUyBTeXN0ZW10ZXN0IENBIElJMB4XDTEyMTExMjA4NTQzM1oXDTE0MTExMjA5MjQzM1owgYMxCzAJBgNVBAYTAkRLMSgwJgYDVQQKEx9EYW5za2UgUmVnaW9uZXIgLy8gQ1ZSOjU1ODMyMjE4MUowIQYDVQQDExpEYW5za2UgUmVnaW9uZXIgLSBTT1NJIFNUUzAlBgNVBAUTHkNWUjo1NTgzMjIxOC1VSUQ6MTE2MzQ0NzM2ODYyNzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgafDW9G/4E+AX55A5Ai3pEPhEX7eC1qSX4e5KsQpa3yvpJnCgsUNRwohlljREpCxiPHVgCpydSAwRUslXioir4rJL5nfIK6kfZVLXDN0nsfblGrQeLcjkCCj2X4sxD5uDHmvf7gaPFDt6Vjda2M5yqTwrifdt9KEtDwxz6VE9JM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ueEQEWqRSuDi2zUjAUpvR9yPDj+Wa+wccasK6hzzHxNPZADtdGFmSGryWQilG8BW2UeAecRkKuEpY3Kf7FTAQouBbfWh9onqSPBbGhfAG25NE6u</ds:X509Certificate></ds:X509Data></ds:KeyInfo></ds:Signature></saml:Assertion></wsse:Security><medcom:Header xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd"><medcom:SecurityLevel>1</medcom:SecurityLevel><medcom:Linking><medcom:FlowID>e924b872-b681-40a8-8e84-347e3a866a54</medcom:FlowID><medcom:MessageID>AAABPCSAU7dwJ/YjInrlaVNPU0k=</medcom:MessageID></medcom:Linking><medcom:RequireNonRepudiationReceipt>no</medcom:RequireNonRepudiationReceipt></medcom:Header><ns:WhitelistingHeader xmlns:ns="http://www.sdsd.dk/dgws/2012/06"><ns1:SystemOwnerName xmlns:ns1="http://www.sdsd.dk/dgws/2010/08">Avaleo</ns1:SystemOwnerName><ns1:SystemName xmlns:ns1="http://www.sdsd.dk/dgws/2010/08">CaseFlow</ns1:SystemName><ns1:SystemVersion xmlns:ns1="http://www.sdsd.dk/dgws/2010/08">2.15</ns1:SystemVersion><ns1:OrgResponsibleName xmlns:ns1="http://www.sdsd.dk/dgws/2010/08">Trifork</ns1:OrgResponsibleName><ns1:OrgUsingID NameFormat="medcom:cvrnumber" xmlns:ns1="http://www.sdsd.dk/dgws/2010/08">25520041</ns1:OrgUsingID><ns1:RequestedRole xmlns:ns1="http://www.sdsd.dk/dgws/2010/08">L..ge</ns1:RequestedRole></ns:WhitelistingHeader><sosi:MaxAge xmlns:sosi="http://www.sosi.dk/sosi/2006/04/sosi-1.0.xsd">540</sosi:MaxAge><sosi:MaxAge xmlns:sosi="http://www.sosi.dk/sosi/2006/04/sosi-1.0.xsd">540</sosi:MaxAge><wsa:To>http://triforkfaellestest.lms.trifork.com/fmk12/ws/MedicineCard</wsa:To><wsa:MessageID>urn:uuid:ed11f497-1ef6-4229-aa01-95bddd0eab7f</wsa:MessageID><wsa:Action>http://www.dkma.dk/medicinecard/xml.schema/2012/06/01#GetMedicineCard</wsa:Action></soapenv:Header>

1c1

<soapenv:Body><ns:GetMedicineCardRequest xmlns:ns="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01"><ns:PersonIdentifier>2802210000</ns:PersonIdentifier><ns:IncludePrescriptionMedications>true</ns:IncludePrescriptionMedications><ns:IncludeEffectuations>true</ns:IncludeEffectuations><ns:IncludeNonRelevantPrescriptionMedications>false</ns:IncludeNonRelevantPrescriptionMedications></ns:GetMedicineCardRequest></soapenv:Body></soapenv:Envelope>

0


Jeg har ikke kunne finde noget information om hvad der er galt.

Har prøvet Send XML funktionaliteten på webadmin og her får jeg et korrekt svar, så det er muligvis i headerne.

Jeg bruger FMK 1.4.0.1

Er der nogen der kan se hvad jeg gør galt?


Mvh
Frank

Jan Buchholdt

Hej Frank

Vi fra FMK teamet vil gerne kikke på dit problem, men du bliver nød til at gå gennem nspop.dk.

Frank Bille