cancel
Showing results for 
Search instead for 
Did you mean: 

Get attached pdf in xml file and write it using file adapter

Former Member
0 Kudos

Hi all,

Receipt from a webservice a xml file with a pdf attached as an attribute, in the mapping I get the pdf value and put it into a structure with a single field type base64 and write the file. pdf as a binary with file adapter but when I open the file said that the file is corrupt or poorly trained. I need to do some extra step to write it well or put some instructions on the part of the mudule in CC?.

Thank you very much for your help.

example:

<?xml version="1.0" encoding="utf-8" ?>

<Resultado xmlns="urn:Promax:BlockNetworks/EFact/Proxyout" RootEstado="OK" RootDetalle="OK" ResultEstado="OK" ResultDetalle="OK" PDF="JVBERi0xLjQKJeLjz9MKMSAwIG9iajw8L1Byb2R1Y2VyKER5bmFtaWNQREYgdjQuMC4zIGZvciA

uTkVUKS9DcmVhdGlvbkRhdGUoRDoyMDA5MDEyNjIyNTELItSkDQh461bAurMrO+yp8vk5uu6ziIwEWJy9

AeRS5H51fd/SlBar7vkv04uKy28u7wOCmMDMQmHLl1pIYc42OaIUothbqH8qrtDwAoBUQfWLWq9zTtVB

mmbU2GbQs0iaUWQPH/h7Pi8 olJUVPRgo> </Resultado>

View Entire Topic
former_member267355
Active Participant
0 Kudos

Hi,

Refer this thread

it will help you to extract content from pdf.

Regards,

Sakthi