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

Request: Upload an attachment when input (filename) 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:uploadAttachment> <arg0> <attachmentID>999</attachmentID> <nationalID>CTD040924</nationalID> <attachmentSection> <bizRef>DECLARATION_OF_DEATH</bizRef> </attachmentSection> <description>test attachment</description> <sideBysideFlag>true</sideBysideFlag> </arg0> <arg1> <attachmentData>cid:SampletTestFile.txt</attachmentData> <!--<filename>SampletTestFile.txt</filename>--> </arg1> </ctr:uploadAttachment> </soapenv:Body> </soapenv:Envelope>

Response: the "uploadAttachment" results.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server</faultcode> <faultstring>Method: uploadAttachment; SoapLogID: 1097091; The filename data field is Empty. ErrorID: attachment.error.empty.filename; Msg: The filename data field is Empty.; MsgHtml: The filename data field is Empty.;</faultstring> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>