Luyendijkleo
Member
Hi, I am working on a project where exixting BIP PDF ouputs will be extracted from JDE and sent to an external Content Manager location via a REST service.
For several reasons it is not recommended that we locate the PDF files one by one in what my be a variety of output folders, then encode and move them across the REST service. We think a better approach would be to read the BLOB data from F95631 into and Orchestration and from there call the REST service.
Orcacle states that the BLOB data field in F95631 holds the BIP PDF output in compressed binary format (whereas the BLOB field in F95630 holds the XML source in binary)
When extracting the BLOB data via a Data Request in Orchestrator the data appears to automatically translate to Base64. Base64 can easilly be converted back to the pdf it was defined from, but I find the conversion from Base 64 to pdf to fail. I.e.,when I convert the Base64 (the extracted BLOB field) to PDF it creates a pdf, but fails to open due to reasons I am trying to discover. It must be related to the extract of the BLOB field. Below is a sample of what the data looks like when exracted into an Orchestration.
Any ideas?
Much appreciated
Leo
e.g.
eJyMugN0Zs22NdxxR52kY9u2bdsdGx3btm3btm27Y9vml35P9z33/t+54/ufjJGnaq2queauqrWfWbU3oYyAECUtFQM0BCMODY6lrik0BAcHNAS1grOVAQ61irSuqYGe3Wdd3l7X7h+T6E8dI4NPg5CJuZ2BDQ61kLmOnYGAgZ6l/m+rhIGFkZ0xDgMrHc1nTdlE/7NCR8/4WRYxMDEytsOhpfnt4DOxs5UxsOG3/GllaWFgYYfD8mnktzS3tJG30tH7jCJg4GCiZyAnzAcNwcUFDWFrZ2Og8xMawintTAP8h8JiO6hArmgKSmreT82VxP38hbaC+kqT2IXEaJ3qCtncgaLppAEByVLnpBLaeRp0n9aveMC8tCQD7siwjj944BD04WSAFWAFlAzQmy7Y6f16xtodz8fSk9m7njw+Mrn7bSc5D9g33jI/VHVQIP7zx1okcyTtBbFVI0FcgwUCQj4LsMBKv844+ZldQpJNPnkoDtPw/ELnXJAWxFuiW43ogFw3EdQaguVKMqaGJolDsSVzVyZewsaMJKFFCUEDEhZxDiSZ13JKf+FAYoVgm5v62y5CoVMrgV5Fu/S6vfw82XXITR4BAgKHMYnBiPT3bp6iw7dsuV+ic3Stl6CxdDHDKaOrmoKvTGme8vFzZbIigYPMyWC0Eu90RLZEsbcJt891YzHtQXkXfvQwkzThMPn7cT0JU1x47rRuFAihJAo2Z8s9sB449yQQBiXyyfsuxaiFsNDAoEG4N25Jc9MzpaMTAVFA1bA5jm4Nj06kbJBqdfoyWlUJzc8Zt2Q2sOzcXlBQuIYCEwgR4AJeKCurSRvBQGovS/m8EuedIq/SazX4X1ool4d/ZEqlhe2uHP4IQAFq8+Zke67lRgtJ
For several reasons it is not recommended that we locate the PDF files one by one in what my be a variety of output folders, then encode and move them across the REST service. We think a better approach would be to read the BLOB data from F95631 into and Orchestration and from there call the REST service.
Orcacle states that the BLOB data field in F95631 holds the BIP PDF output in compressed binary format (whereas the BLOB field in F95630 holds the XML source in binary)
When extracting the BLOB data via a Data Request in Orchestrator the data appears to automatically translate to Base64. Base64 can easilly be converted back to the pdf it was defined from, but I find the conversion from Base 64 to pdf to fail. I.e.,when I convert the Base64 (the extracted BLOB field) to PDF it creates a pdf, but fails to open due to reasons I am trying to discover. It must be related to the extract of the BLOB field. Below is a sample of what the data looks like when exracted into an Orchestration.
Any ideas?
Much appreciated
Leo
e.g.
eJyMugN0Zs22NdxxR52kY9u2bdsdGx3btm3btm27Y9vml35P9z33/t+54/ufjJGnaq2queauqrWfWbU3oYyAECUtFQM0BCMODY6lrik0BAcHNAS1grOVAQ61irSuqYGe3Wdd3l7X7h+T6E8dI4NPg5CJuZ2BDQ61kLmOnYGAgZ6l/m+rhIGFkZ0xDgMrHc1nTdlE/7NCR8/4WRYxMDEytsOhpfnt4DOxs5UxsOG3/GllaWFgYYfD8mnktzS3tJG30tH7jCJg4GCiZyAnzAcNwcUFDWFrZ2Og8xMawintTAP8h8JiO6hArmgKSmreT82VxP38hbaC+kqT2IXEaJ3qCtncgaLppAEByVLnpBLaeRp0n9aveMC8tCQD7siwjj944BD04WSAFWAFlAzQmy7Y6f16xtodz8fSk9m7njw+Mrn7bSc5D9g33jI/VHVQIP7zx1okcyTtBbFVI0FcgwUCQj4LsMBKv844+ZldQpJNPnkoDtPw/ELnXJAWxFuiW43ogFw3EdQaguVKMqaGJolDsSVzVyZewsaMJKFFCUEDEhZxDiSZ13JKf+FAYoVgm5v62y5CoVMrgV5Fu/S6vfw82XXITR4BAgKHMYnBiPT3bp6iw7dsuV+ic3Stl6CxdDHDKaOrmoKvTGme8vFzZbIigYPMyWC0Eu90RLZEsbcJt891YzHtQXkXfvQwkzThMPn7cT0JU1x47rRuFAihJAo2Z8s9sB449yQQBiXyyfsuxaiFsNDAoEG4N25Jc9MzpaMTAVFA1bA5jm4Nj06kbJBqdfoyWlUJzc8Zt2Q2sOzcXlBQuIYCEwgR4AJeKCurSRvBQGovS/m8EuedIq/SazX4X1ool4d/ZEqlhe2uHP4IQAFq8+Zke67lRgtJ