Problem Trying to retrieve a PDF document from XMLP_SCHED_DATA BLOB field.

Hello everyone,
I'm using BI Publisher 11g to generate PDF documents. I had implemented a servlet that uses HTTP POST/GET to simulate the behaviour of BIP console since ScheduleReport Service is not implemented in this version. The problem is about the output of the final documents when i'm not using the bursting option. From my experience, the documents are not saved in any temporary folder in the filesystem. Looking at DEV_BIPLATFORM schema and analysing XMLP_* tables, i'm assuming that the generated document data is the BLOB DATA field in the XMLP_SCHED_DATA table...this is right?
Next, in java, i'm using the BLOB field to output his binary content to a PDF file but, when i try to open the file, it gives an error: "document may be damaged"...
Any suggestions here would be appreciated...
Thanks in Advance
Regards,
NP

831692 wrote:
Hello everyone,
I'm using BI Publisher 11g to generate PDF documents. I had implemented a servlet that uses HTTP POST/GET to simulate the behaviour of BIP console since ScheduleReport Service is not implemented in this version. The problem is about the output of the final documents when i'm not using the bursting option. From my experience, the documents are not saved in any temporary folder in the filesystem. Looking at DEV_BIPLATFORM schema and analysing XMLP_* tables, i'm assuming that the generated document data is the BLOB DATA field in the XMLP_SCHED_DATA table...this is right?
Next, in java, i'm using the BLOB field to output his binary content to a PDF file but, when i try to open the file, it gives an error: "document may be damaged"...
Any suggestions here would be appreciated...
Thanks in Advance
Regards,
NP1. Yes, it contains the output document.
2. If the output type is PDF then the BLOB contains a zip file which contains the PDF document.
So first unzip it before rendering
Cheers
Jorge
p.s. If your question is answered then please grant the points and close the thread

Similar Messages

  • Trying to open a PDF document from a website

    when trying to open a PDF document from a website, it goes to a totally black page with a white box in the middle, and states: 
    Adobe Reader 
    Before viewing PDF documentsin this browser you must launch Adobe Reader and except the End User License Agreement, then Quit and re-launch the browser.
    consequently, i can't open the document

    The first question is, did you do what it said? Launch Reader (on its own, not in a browser) and accept the agreement?

  • Problems while reading and displaying .pdf-Documents from Bfile

    Hi
    I want to read and display .pdf-Documents in Adobe-Reader that are stored as BFile. While displaying the Document Adobe Reader is showing several Errors like " ..less Picture-Data read than expected.. ". Is this a Buffer-Problem? or whatelse ??
    Thanks for help
    null

    PrintStream wr = new PrintStream(socket.getOutputStream());
    wr.close();I suspect this is the problem. You could try socket.shutdownOutput() - or you could just leave the streams alone and let socket.close() shut things down.
    Grant

  • I am trying to print a pdf document from an electronic journal at my school, and i can only get it to print what is on the screen at the time i hit print.  How do i get it to print the whole document?

    how do i get it to print the whole article?  i don't seem to have a problem printing from my old windows laptop

    melbaby_3 wrote:
    when I clicked on your link and hit print, all pages were there!
    That suggests there's no problem with Safari or Quartz, the PDF rendering engine used by Safari, Preview, and other Mac applications.
    When I'm in the database and have the article open that I want to print, I click on the "full text in pdf" link and it opens in another safari window.
    Does the PDF in this other Safari window have all the pages? If yes, why don't you print from this window?
    It's very difficult to tell what might be going on if you don't give very specific details.
    For instance, in many reference databases, full-text articles are not free. You have to pay to view them, either article by article, or by subscription. Your school may have such a subscription, but, if it does, you probably need to access the database through the portal, web site, or facility provided by your school (your school's librarian should be able to help you with that). If you don't, the database has no way of knowing you have a right to view the full text, and may give you just a preview or the article's first page.
    Another possibility is that the database provides full-text PDFs in a format not compatible with Quartz, which may be able to render only the first page. But, in such a case, I'd expect Safari to print blank pages. If that's the case, you need to save the PDF on your hard disk and open it with Adobe Reader (Preview wouldn't work).
    There are other possibilities, but these two seem to me the most likely.
    Would I have to save it in preview first
    You should save the PDF on your hard disk from Safari. (I think you should do this anyway, just in case you need to refer to the article again later.) Instead of just clicking the  "'full text in pdf' link", press and hold Control, then click. This should give you a contextual menu; if the link points to a PDF file, you should see the commans "Save Linked File to 'Downloads'" and "Save Linked File As…". Use either, save the file, then, in Finder, double-click on it. Preview should open it.
    It is possible that the link is not to a PDF file, but to a script which fetches that PDF file for you. In that case, it's pointless to download it. Click on it, and then, if the PDF viewing window opens in Safari, move the cursor towards the centre of the bottom of the window. A bar with commands should appear; one of them will download the file to your Downloads folder.

  • Cant't open a PDF document from a web browser

    When I am trying to open a PDF documents from a web browser a message pop out:
    Windows is checking for a solution to the problem
    And then :
    Internet explorer has stopped working.
    A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available
    close program
    Can somebody help me with this .. I have Windows 7 and Adobe Reader V9 ..
    Thank you

    Dude...use Foxit Reader instead of Adobe Reader All problems solved

  • Firefox crashes when opening any Adobe pdf document from internet. This only seems to happens with firefox 6.0.2. Pls assist how to solve problem

    Good day,
    Please note Firefox is crashing every time I tried to open a pdf document I find in any internet webside. This is happening since I have installed Firefox 6.0.2. I temporarily solved the issue going back to Firefox 5. The problem is that my Mac installs automatically all the updates that might come from Firefox, including new or greater versions.... So, here I am again with Firefox 6.0.2 and not able to open Adobe pdf documents.....
    Would you please kindly assist to fix this issue...? Please note I have systematically sent a report every time Firefox has crashed, so you might have quite a few by now!
    Many thanks in advance for all your help and assistance.
    Francesca.

    * Preferences that have been modified are shown as '''bold (user set)'''.
    * Preferences can be '''Reset to the default''' or changed via the right-click context menu.
    The preferences on which Reset is greyed (not available), are they appearing in Bold Text or Normal ??

  • Hi there, i'm trying to change a PDF document written in arabic to Word document, the problem is (( i can't find the arabic language in adobe )) the question is how to install the arabic language

    hi there, i'm trying to change a PDF document written in arabic to Word document, the problem is (( i can't find the arabic language in adobe )) the question is how to install the arabic language

    <moved from Downloading, Installing, Setting Up to Creating, Editing & Exporting PDFs>

  • Problem printing scanned PDF document from iPad to HP Photosmart Plus B209a

    Hi,
    I'd like to report a problem printing a scanned PDF document from iPad via HP ePrint application to my HP Photosmart Plus B209a printer. The document was sent to the printer without any issue. However, the printer only prints out the
     screenshot image in the center of the PDF page, and the image is enlarged and rotated to fit in an A4 paper. The rest of the document is simply ignored by the printer. The document with the problem can be downloaded in the link below:
    Download PDF document with the problem
    What could be wrong? Thank you in advance!

    Thanks for the reply.
    I received the document from my teacher, so I don't know what program she used to scan it.
    I tried to print the document directly from my PC which works fine though, so I guess the document is OK.
    My HP printer is an old model which doesn't support eprint or air print, so I used the eprint application on iOS to print the document. I tried both color and black/white which gave me the same result: only the center screenshot image is printed out, and the image is enlarged and rotated to fit an A4 paper, the rest of the document is just ignored.
    What do you mean by saving it as a document?

  • I am trying to create a PDF document that calculates Gains and Losses in Mutual Funds. The calculation scripts are repetitive from line to line. The scripts work well until I reach the line 32. Script stops calculating...

    I am trying to create a PDF document that calculates Gains and Losses in Mutual Funds. The calculation scripts are repetitive from line to line. The scripts work well until I reach the line 32. Although I am using the same script as the fields above in the columm, the script eventually stops calculating and I can't figure out why. Is there a limit of how many calculation scripts you can enter? I will attempt to attach my pdf as soon as I figure out how. Thanks.

    For e31 :
    var e30 = +getField("e30").value ;
    var c31 = +getField("c31").value ;
    if ( (e30 !== 0) && (c31 !== 0) ) event.value = e30 + c31 ;
    else event.value = "";
    for e32 :
    var e31 = +getField("e31").value ;
    var c32 = +getField("c32").value ;
    if ( (e31 !== 0) && (c32 !== 0) ) event.value = e31 + c32 ;
    else event.value = "";
    for e33 :
    var e32 = +getField("e32").value ;
    var c33 = +getField("c33").value ;
    if ( (e32 !== 0) && (c33 !== 0) ) event.value = e32 + c33 ;
    else event.value = "";
    Java console doesn't show any error... That's why I am wondering if it's not a limitation issue... or memory issue, because they are maybe too many rows or something....
    The c value is not calculated.

  • Error message in Adobe Pdf in printer device panel when trying to create a pdf document.  I have CS3

    Error message in Adobe Pdf in printer device panel when trying to create a pdf document.  I have CS3 Web Premium with Acrobat Professional 8.  I use it fine on my old computer with Windows XP.  I recently got a new laptop with Windows 7.  I installed all my Adobe programs, and I think they are working.  When I look at Adobe PDF in the device section of the Control Panel it looks okay.  But when I try to print a Word, Photoshop, or HTML page in PDF, nothing happens.  I have tried printing both as File>print and using the PDF tab on the top menu bar.  I look at the device in the control panel and it has the yellow error warning symbol and suggests trying to troubleshoot.  I look at the document list and it says status "error".  When I try troubleshooting Windows suggests doing some Home Sharing and also suggests canceling the document I'm trying to print.  I tried re-installing just Acrobat 8 from CS3 (and have to use Photoshop CS4 disk for shared documents I guess).  I ran into a can't locate adobepdf_dll file, so did a web search on this issue and found a suggestion that I find and use the adobepdf_dll_64 file and may have to (I did have to) remove the "_64" for it to work.  I think I successfully reinstalled using that dll file- no errors came up anyway.  But still when I try printing/converting a photoshop, webpage, or word document into pdf, the pdf device in control panel still gives the error status on the document and gives the same troubleshooting advice.  Help?

    I just compared the properties between the two computers.  On the old computer it has the port as "My Documents/*.pdf".  On my new computer it lists the port as "LPT1".  I tried changing the port to "Print as File", but when I try printing a photoshop picture as pdf, I get a "Access Denied".  I then tried to create a new port on the device control panel.  I tried to create a local port "My Documents/*.pdf" port but was denied.  I ten tried to create a new port type and control panel asked for an INF file.  I wonder if this is where my problem lies.  Thoughts?

  • Saving PDF documents from websites

    Previously with Windows XP and Adobe Reader 7, every time when I download a PDF document from the web, the window opened to the last directory I saved into. Since I have acquired a new notebook which runs on Vista (with SP1), I have downloaded Adobe Reader 9. Each time when I download a document, it returns to the root directory. As I classify the documents, I have to click through a series of directories before arriving at the last subdirectory. Instead of an improvement, it was a waste of time. To make things wores, sometimes, the directory name may have slipped my mind and I am lost.
    Please help, thanks,

    [email protected] wrote:
    > I have the exact same problem. This is really stupid. A major flaw
    > in my view for Adobe Reader 9. I am trying to find a registry
    > location where this info is located. So far no luck
    Which OS? XP or Vista?
    Rainald

  • I'm trying to print  an Ancestry document from an iPad 2 using air print onto a Canon 5350 (one of the printers ok'd by Apple) I am unable to change the print orientation from portrait to landscape.  That is I change it in printer settings but no use.

    I'm trying to print an Ancestry document from an iPad 2 using air print.  The printer is a Canon MG5350 (on the Apple approved list) I have no difficulty printing but only in portrait format.  I've tried changing printer preferences from my computer but even though the Canon accepts the changes it will not print landscape - can anyone advise please?

    Hi,
    How do you connect the printer to the XP machine ? If USB, you need to make that machine as a Print server. Please try this:
       http://techtips.salon.com/make-windows-computer-pr​int-server-11914.html
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Sometimes (but not always), when I try to open a pdf document from the US bankruptcy court website, I get a window asking if I want to use Adobe Acrobat. After I click "yes", I get a bland screen.

    == Issue
    ==
    Firefox is having problems with certain web sites
    == Description
    ==
    Sometimes (but not always), when I try to open a pdf document from the US bankruptcy court website, I get a window asking if I want to use Adobe Acrobat. After I click "yes", I get a bland screen.
    == URL of affected sites
    ==
    http://
    == Troubleshooting information
    ==
    Firefox Version
    3.6.3
    Extensions
    Name
    Version
    Enabled
    ID
    Skype extension for Firefox 2.2.0.70 false
    Java Console 6.0.01 false
    Java Console 6.0.02 true
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows 7
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
    == Plugins installed
    ==
    *-Office Plugin for Netscape Navigator
    *Download and Print Plug-in DLL
    *Default Plug-in
    *Shockwave Flash 10.0 r45
    *Adobe PDF Plug-In For Firefox and Netscape

    Hi.
    Does this only open on that specific site?
    In any case, you may want to:
    - instruct Firefox to handle PDF files in a specific way by going into Tools > Options > Applications and selecting the option you want for the PDF files
    - reinstall Adobe Reader and its Firefox plugin
    - install another reader instead of Adobe Reader. I recommend Foxit Reader ( http://www.foxitsoftware.com/pdf/reader/ ), since it's free, VERY light, VERY fast, safe and also has a Firefox plugin (make sure you don't have both Adobe Reader plugin and Foxit Reader plugin enabled/installed at the same time in Firefox)

  • Tried to open a pdf document with Acrobat XI Pro Trial and sign in popped up , I keyed in my username and password but it doesnt respond its like grey with the four dots rotating forever. Any solution Please ?????

    Tried to open a pdf document with Acrobat XI Pro Trial and sign in popped up , I keyed in my username and password but it doesnt respond its like grey with the four dots rotating forever. Any solution Please ?????

    Hi higi97,
    How are you connected to the internet? Are you behind a particularly secure corporate firewall? Are you on Mac or Windows? Do you have any anti-malware software running on your machine that may be preventing applications other than your browser from connecting to the internet?
    You may try to follow the steps below:
    1.Close the Creative Cloud application.
    2.Navigate to the OOBE folder.
    Windows: [System drive]:\Users\[user name]\AppData\Local\Adobe\OOBE
    Mac OS: /Users/[user name]/Library/Application Support/Adobe/OOBE folder
    3.Delete the opm.db file.
    4.Launch Creative Cloud.
    Let us know if that helps,
    Regards,
    Rave

  • Display only 1 record using uploaded PDF document from 3rdparty Website

    Hi,
    Any help will be very much appreciated....
    I'm trying to create my first BI publisher report using a PDF document from 3rd party website. I want to populate the name from EMP table to one of the fields in the PDF doc.
    Here's the steps I've done:
    1. Created and saved a data set using only the ENAME column of EMP table. 14 records are available from the table.
    2. Run xml output and then save as sample data.
    3. Downloaded the PDF doc from the 3rd party website (government form - US Custom Form 7512).
    4. Using Adobe Acrobat X Version 10.1.4, I mapped the element name (ENAME) from my input XML file to the Name field.
    <output type="data-structure" >
    <dataStructure tagName="DATA_DS">
    <group name="G_2" source="Employee" label="G_2" >
    <element name="ENAME" value="ENAME" dataType="xsd:string" label="ENAME" breakOrder="None" fieldOrder="1"/>
    </group>
    </dataStructure>
    </output>
    5. Uploaded the revised PDF document to BI publisher.
    6. Created and saved the report.
    7. When I viewed the report in PDF, only 1 page is displayed. I'm expecting to see 14 pages because I have 14 records from the table EMP.
    Any report properties that I need to change to allow me to view all the records from the EMP table?
    Version of BI and Adobe
    Oracle BI Publisher 11.1.1.5.0
    Adobe Acrobat X Version 10.1.4

    There could be an issue with the Loop. I guess your Template is looking at the first record only and not reading through all the records.
    Try to get the BI Publisher Desktop tool. Using this tool you can merge PDF document and XML to see the output from your local PC/Laptop. It will be easy for you to debug.
    Rgds
    Chundi

Maybe you are looking for

  • Error while deleting the business system in SLD

    HI I am trying to delete the business system in SLD and encountering the following error . if some one has any idea as to why is this error occuring java.lang.NullPointerException at com.sap.sld.wd.businesssystem.BusinessSystem.removeXIIntegrationSer

  • Very urgent purchase register

    HI Gurus Their is any reports available like purchase register? In vendor register we have the following fields 1. Purchase material 2. ED 3. Service Tax 4. Vat in one report or which report this fields will available. To reconcil the vendors account

  • Mute button is not working on my iPhone 4 after updating to IOS7

    Hi, Mute/Silent button is not working on my iPhone 4 after updating to IOS7. When I make my phone silent using that sliding button on the side, the phone toggles between mute/unmute position automatically and settles in unmue position. Then it will c

  • Camera import and Aspect ratio

    Hello everyone I have a Panasonic video camera connected to iMovie via Firewire. The issue is that the *movie was recorded 4:3 aspect*, but iMovie for some reasons *displays the preview and imports as if it were wide-screen* aspect. Therefore the mov

  • Help with Gateway TG799 Firewall settings Please

     We have a Telstra Gateway Max TG799vac. We have recently acquired our own domain name and have setup up an online store on Shopify. So the underlying web address (on myshopify.com) is not the same as our URL of the shop.When we try to access the new