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

Request: make an IPOS Kidney offer, INVALID - Recipient has active offer.

<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> <ctr:makeOfferAgainstHSPMatch> <arg0>CTD000041</arg0> <arg1>90</arg1> <!--<arg2/>--> <arg4>true</arg4> </ctr:makeOfferAgainstHSPMatch> </soapenv:Body> </soapenv:Envelope>

Response: IPOS Kidney offer.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>Method: makeOfferAgainstHSPMatch; SoapLogID: 3563; Recipient CTR000002 already has an active offer for Kidney from Donor CTD000041 for the same organ (type) ErrorID: offerdwl.error.makeoffer.validation.duplicate; Msg: Recipient CTR000002 already has an active offer for Kidney from Donor CTD000041 for the same organ (type); MsgHtml: Recipient CTR000002 already has an active offer for Kidney from Donor CTD000041 for the same organ (type);</faultstring> </soap:Fault> </soap:Body> </soap:Envelope>