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:
- application/vnd.openxmlformats-officedocument.
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 :
- application/msexcel ,
- application/ms-excel ,
- application/vnd.ms-excel,
- application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
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
Please suggest!
Thank You.
Indu Khurana.