on 03-07-2014 5:46 PM
Hello Experts
I have a synchronous scenario where File <-> PI <--> SOAP, where I try to retrieve attachments from target system and create a file.
However the name in the attachments received from target system are not being retained. I used the code snippet from blog: Retaining SOAP Adapter Attachment Names in my response mapping (Sys2 -> Sys1) and it doesn't seem to help. Any pointers?
Thanks
Jaya
Hi Jaya - Never tried with sync scenarios but
I hope you handled the content type as explained in the blog..
1) Code for textual attachments e.g., XML, flat etc.. with required encoding e.g., UTF-8
contentType = contentType + ";charset = \"UTF-8\";"+ "name=\"" + attachmentID + "\"";
2) Code for binary attachments e.g., pdf's, images etc..:
contentType = contentType + ";"+ "name=\"" + attachmentID + "\"";
and "Read Attachments" is checked the operation mapping...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.