Hello PI team,
I need guidance in a synchronous scenario ; SOAP to Proxy.
A call is placed from sender SOAP channel to fetch a set of documents from ECC system. ECC system in turn calls 'opentext' server to fetch the required document.
The fetched document in Binary format is sent as a value of a field named 'List' in response payload to PI. In PI this binary data is decoded with base64 decoder and content type used is either for docx or xslx or PDF depending on the file fetched.
This converted file is send as an attachment in the response message of SOAP call.
PDF conversion and attachment is working fine.
Issue lies while converting the binary to docx and xlsx.
For docx , if content type:
then the attachment created is Attachment.bin not Attachment.doc
If content type = application/msword
then attachment created is Attachment.doc, it open properly but after two pop ups:
For xlsx, for any of the content type :
the attachment in the response is getting created as Attachment.bin not attachment.xls/attachment.xlsx. .
Required is attachment.docx and attachment.xlsx in the response payload