on 06-06-2011 8:47 AM
Hi all,
I have a scenario in which i am making a synchronous HTTP call to a third party, I am receiving a PDF as a response i want to place the same PDF whithout manipulating the data etc in a file server.To work with this i am using a ccBPM. The direct mapping is not working and throwing an error. The PDF recieved is not an XML it is an image file.
Please let me know any ways to achieve this
Any response is highly appreciated.
Thanks,
Bhanu.
What is mapping for the pdf stream image into file destination structure?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Take a look to this example, can solve your issue:
Here he use an abap mapping, but theorically you can use also a direct mapping from SourceMessage to DestinationMessage:
<MT_SOURCE>
<PDF/>
</MT_SOURCE>
<MT_FILE>
<RECORD>
<RAW/>
</RECORD>
</MT_FILE>
<PDF> -
>> <RAW>
PDF field and RAW field must be typed xsd:base64binary
If you need to have the destination field decoded, you need to decode stream image in mapping.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.