Sample Soap Request for Method: updateAttachment (String nationalId, List(WSLookup) attachMentLocations)

Request: Update attachment when input(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>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:updateAttachment> <arg0> <attachmentID>70302</attachmentID> <nationalID>CTD777777</nationalID> <description>The description of the attachment has been updated</description> <sideBysideFlag>true</sideBysideFlag> <ownerID>40922</ownerID> <attachmentSection> <bizRef>ASSESSMENT</bizRef> </attachmentSection> </arg0> </ctr:updateAttachment> </soapenv:Body> </soapenv:Envelope>

Response: the "updateAttachment" results.

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