Sample Soap Request for Method: getHsHeartMatchResults( String nationalId )

Request: The donor ID (String nationalId) is not valid.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ctr="http://ctr3ws.cbs.com/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="0" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken wsu:Id="UsernameToken-3" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:Username>aUser</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:getHsHeartMatchResults> <arg0>CTD000000</arg0> </ctr:getHsHeartMatchResults> </soapenv:Body> </soapenv:Envelope>

Response: the patient's list of "IPOS Heart allocation" results.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server</faultcode> <faultstring>Method: getHsHeartMatchResults; SoapLogID: 1357391; National patient ID CTD000000 is not valid ErrorID: data.error.invalidNationalID; Msg: National patient ID CTD000000 is not valid; MsgHtml: National patient ID CTD000000 is not valid; </faultstring> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>