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

Request: Download a shared attachment file. Both offerId and attachmentId are VALID, but user does not have permissions to access the offer.

<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>noPermsUser</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:downloadOfferAttachment> <arg0>31613</arg0> <arg1>74567</arg1> </ctr:downloadOfferAttachment> </soapenv:Body> </soapenv:Envelope>

Response: the "downloadOfferAttachment" results -- ERROR

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>Method: downloadOfferAttachment; SoapLogID: 1308183; User [noPermsUser] does not have access to the offer(s) [31613]. ErrorID: offer.error.UserHasNoOfferPerms; Msg: User [noPermsUser] does not have access to the offer(s) [31613].; MsgHtml: User [noPermsUser] does not have access to the offer(s) [31613].;</faultstring> </soap:Fault> </soap:Body> </soap:Envelope>