Sample Soap Request for Method: makeOfferAgainstHSPMatch( String nationalId, long hspMatchResultID, WSLookup donorOrganType, Date offerDate, Boolean sendAlerts ) )

Request: Make an IPOS Kidney offer, INVALID - hspMatchResultID.

<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:Username>otdtadmin</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> <soapenv:Body> <ctr:makeOfferAgainstHSPMatch> <arg0>CTD057257</arg0> <arg1>999999</arg1> <arg4>false</arg4> </ctr:makeOfferAgainstHSPMatch> </soapenv:Body> </soapenv:Body> </soapenv:Envelope>

Response: IPOS Kidney offer.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server</faultcode> <faultstring>Method: makeOfferAgainstHSPMatch; SoapLogID: 2229232; Match result ID [999999] is not valid. ErrorID: offer.error.InvalidMatchResultId; Msg: Match result ID [999999] is not valid.; MsgHtml: Match result ID [999999] is not valid.;</faultstring> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>