Sample Soap Request for Method: deleteAttachment (String nationalID, Long attachmentID, String deleteReason)

Request: Delete an attachment, the input (deleteReason) is null.

<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:deleteAttachment> <arg0>CTD040922</arg0> <arg1>70302</arg1> </ctr:deleteAttachment> </soapenv:Body> </soapenv:Envelope>

Response: the "deleteAttachment" results.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server</faultcode> <faultstring>Method: deleteAttachment; SoapLogID: 1096951; Delete reason is mandatory ErrorID: attachment.error.invalidDeleteReason; Msg: Delete reason is mandatory; MsgHtml: Delete reason is mandatory; </faultstring> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>