Sample Soap Request for Method: downloadOfferAttachment (Long offerId, Long attachmentId)

Request: Download an attachment file. The offerId is VALID, the attachmentId 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>ws_sanity_sk</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Password!22</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:downloadOfferAttachment> <arg0>35501</arg0> <arg1>9999999</arg1> </ctr:downloadOfferAttachment> </soapenv:Body> </soapenv:Envelope>

Response: the "downloadOfferAttachment" results -- ERROR

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server</faultcode> <faultstring>Method: downloadOfferAttachment; SoapLogID: 1807622; Attachment with ID 9999999 does not exist for patients involved in offer 35501 ErrorID: attachment.error.offer.attachmentIDnotexist; Msg: Attachment with ID 9999999 does not exist for patients involved in offer 35501; MsgHtml: Attachment with ID 9999999 does not exist for patients involved in offer 35501;</faultstring> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>