Sample Soap Request for Method: getOfferDonorInfo( Long offerID, String nationalDonorId )

Request: get a donor's "WsDonorSideInfo" shared information: Both args(offerID, nationalDonorId) are input and nationalDonorId is not valid -> Error

<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>someCTRuser</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">anypw</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:getOfferDonorInfo> <arg0>3</arg0> <arg1>CTD099999</arg1> </ctr:getOfferDonorInfo> </soapenv:Body> </soapenv:Envelope>

Response: the donor's "WsDonorSideInfo" shared information.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>Method: getOfferDonorInfo; SoapLogID: 1372; Patient with national ID CTD099999 does not exist in the registry ErrorID: data.error.patientnotexist; Msg: Patient with national ID CTD099999 does not exist in the registry; MsgHtml: Patient with national ID CTD099999 does not exist in the registry; </faultstring> </soap:Fault> </soap:Body> </soap:Envelope>