cancel
Showing results for 
Search instead for 
Did you mean: 

PDF scenario

former_member556412
Active Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

What is mapping for the pdf stream image into file destination structure?

former_member556412
Active Participant
0 Kudos

Hi,

I am usinga direct mapping my sturcture is

MT_SRC

PDF type base64

and the target is also the same.

Hope this helps.

Regards,

Bhanu

Former Member
0 Kudos

Take a look to this example, can solve your issue:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0...

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.

former_member556412
Active Participant
0 Kudos

Have done it without using the mapping

Former Member
0 Kudos

Good, Is similar using Direct Mapping...

Remember to give feedback.