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

Request: Get shared offer attachments when the input (attachmentLocations) 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>QT-JP</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:findOfferAttachments> <!-- offerId --> <arg0>29989</arg0> <!-- attachmentLocations --> <arg1> <bizRef>OFFER_LOGISTICS</bizRef> </arg1> </ctr:findOfferAttachments> </soapenv:Body> </soapenv:Envelope>

Response: the "findOfferAttachments" results.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server</faultcode> <faultstring>Method: findOfferAttachments; SoapLogID: 1097056; Attachment section [ id[NULL], bizRef[OFFER_LOGISTICS]] is not valid for patient of type DECEASED_DONOR, LIVING_DONOR, RECIPIENT. ErrorID: attachment.error.invalidSection; Msg: Attachment section [ id[NULL], bizRef[OFFER_LOGISTICS]] is not valid for patient of type DECEASED_DONOR, LIVING_DONOR, RECIPIENT.; MsgHtml: Attachment section [ id[NULL], bizRef[OFFER_LOGISTICS]] is not valid for patient of type DECEASED_DONOR, LIVING_DONOR, RECIPIENT.; </faultstring> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>