Sample Soap Request for Method: updateRecipientHlaSerumTestResult()

Request: Add/Update HLA serum results with duplicate antigens.

<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>anyuser</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:updateRecipientHlaSerumTestResult> <arg0> <!--Note: <id> 0 </id> indicates the a new Serum results record will be created and added to the recipient's serum test results set.--> <id>0</id> <nationalRecipientId>CTR056709</nationalRecipientId> <confirmAntibodies>true</confirmAntibodies> <collectionDate>${#TestCase#collectionDate}</collectionDate> <testDate>${#TestCase#collectionDate}</testDate> <antigens> <type>B</type> <subType>35</subType> <aui>Acceptable</aui> </antigens> <!--Error; HLA serum results with duplicate antigens--> <antigens> <type>B</type> <subType>35</subType> <aui>Acceptable</aui> </antigens> </arg0> </ctr:updateRecipientHlaSerumTestResult> </soapenv:Body> </soapenv:Envelope>

Response: the CTR recipient HLA serum records

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server</faultcode> <faultstring>Method: updateRecipientHlaSerumTestResult; SoapLogID: 2225513; Duplicate antigen cannot exist. ErrorID: hla.serum.duplicateantigen; Msg: Duplicate antigen cannot exist.; MsgHtml: Duplicate antigen cannot exist.;</faultstring> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>