Sample Soap Request for Method: findOfferAttachments (Long offerId, List attachmentLocations)

Request: Get shared offer attachments when the input argument arg1 (attachmentLocations.id) value [999] 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>aUser</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">aPassword</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:findOfferAttachments> <arg0>31270</arg0> <arg1> <id>999</id> </arg1> </ctr:findOfferAttachments> </soapenv:Body> </soapenv:Envelope>

Response: the "findOfferAttachments" results -- ERROR

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>Method: findOfferAttachments; SoapLogID: 1298047; Attachment section [ id[999], bizRef[NULL]] is not valid for patient of type DwlDonor or Recipient.Attachment error [[ errkey: attachment.error.invalidSection [ errmsg1: id[999], bizRef[NULL] ], [ errmsg2: DwlDonor or Recipient ] ]] ErrorID: attachment.error.invalidSection; Msg: Attachment section [ id[999], bizRef[NULL]] is not valid for patient of type DwlDonor or Recipient.; MsgHtml: Attachment section [ id[999], bizRef[NULL]] is not valid for patient of type DwlDonor or Recipient.; ErrorID: attachment.error; Msg: Attachment error [[ errkey: attachment.error.invalidSection [ errmsg1: id[999], bizRef[NULL] ], [ errmsg2: DwlDonor or Recipient ] ]] ; MsgHtml: Attachment error [[ errkey: attachment.error.invalidSection [ errmsg1: id[999], bizRef[NULL] ], [ errmsg2: DwlDonor or Recipient ] ]] ; </faultstring> </soap:Fault> </soap:Body> </soap:Envelope>