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

Upload a new attachment, attachment-section=[ASSESSMENT] - attachmentID=0, ownerID=null, it is not required, file type="jpg".

<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>0</attachmentID> <nationalID>CTD040924</nationalID> <attachmentSection> <bizRef>ASSESSMENT</bizRef> </attachmentSection> <description>test attachment of jpg image</description> <sideBysideFlag>true</sideBysideFlag> </arg0> <arg1> <attachmentData>cid:lungXray.jpg</attachmentData> <filename>lungXray.jpg</filename> </arg1> </ctr:uploadAttachment> </soapenv:Body> </soapenv:Envelope>

Response: the "uploadAttachment" results.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns2:uploadAttachmentResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <attachmentID>70332</attachmentID> <nationalID>CTD040924</nationalID> <attachmentSection> <bizRef>ASSESSMENT</bizRef> </attachmentSection> <description>test attachment of jpg image</description> <sideBysideFlag>true</sideBysideFlag> <ownerID>198204</ownerID> <fileName>lungXray.jpg</fileName> <uploadedBy>bc-jp JPS</uploadedBy> <uploadedDate>2021-07-06T11:19:28-04:00</uploadedDate> </return> </ns2:uploadAttachmentResponse> </soapenv:Body> </soapenv:Envelope>