Rendering XML?

I created new "PolicyPropertyBundle" and binding it with my class object("MYTESTING")
,but 'type test.xml' returns "The system cannot find the file specified."
following is data of mytesting object.
Isn't it very simple?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
select * from odm_mytesting;
ID
TITLE
AUTHOR
OPERATOR
COMPANY
9634
ACT ON EXTERNAL AUDIT
Veronica
kyoungseop
01 inc
<HR></BLOCKQUOTE>
I think all of servers started well.
log files does not report any error.
I tried to Render into browser by following direction.
http://technet.oracle.com:89/ubb/Forum36/HTML/000444.html
but 'Document.renderAsReader("SmbRenderer",null,null)' returns null.
what's going on?
There are big problems, but I don't know how to solve them and where they are.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
public Reader getContent()
System.out.println("in getContent() m_XmlDocument:"+m_XmlDocument);
Reader r=null;
try
System.out.println("m_XmlDocument.renderAsReader('SmbRenderer',null,null)");
r = m_XmlDocument.renderAsReader("SmbRenderer",null,null);
System.out.println("Reader getContent()"+r);
catch (IfsException ie)
System.out.println("exception in getContent() reader="+r);
ie.printStackTrace();
return r;
<HR></BLOCKQUOTE>
java web server's message
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
javawebserver: XmlRendererBean(request,response): Bean Created.
javawebserver: obtainSession(request,response): Servlet Parameters =
javawebserver: Parameter List:
javawebserver: path
javawebserver: Parameter Processing Completed.
javawebserver: JspUtilities.obtainSession: Unable to get Session. - Attempting to create new Session
javawebserver: JspUtilities.obtainSession: Creating new Session.
javawebserver: Username = ksko
javawebserver: Password = ksko
javawebserver: Service = IfsDefault
javawebserver: Schema Password = ifssys
javawebserver: JspUtilities.obtainSession: Session Created.
javawebserver: JspUtilities.obtainSession: Login Object Saved.
javawebserver: getObject(request,response): Path = /home/ksko/testingfolder/test.xml
javawebserver: else
javawebserver: Public object =test.xml
javawebserver: getObject(request,response): Object is a MYTESTING
javawebserver: PublicObject.getResolvedPublicObject() =test.xml
javawebserver: in getContent() m_XmlDocument:test.xml
javawebserver: m_XmlDocument.renderAsReader('SmbRenderer',null,null)
javawebserver: Reader getContent()null
javawebserver: xmlBean.getContent()
javawebserver: new BufferedReader(reader)
javawebserver: Error during JSP page processing: /ifs/jsp-bin/XmlRendererJSP.jsp
javawebserver: java.lang.NullPointerException
<HR></BLOCKQUOTE>
Renderring page's message
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
Error during JSP page processing
java.lang.NullPointerException
at java.io.BufferedReader.readLine(Compiled Code)
at ifs.jsp_sbin._XmlRendererJSP._jspService(Compiled Code)
at oracle.ifs.protocols.http.jsp.pagecompile.jsp.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at oracle.ifs.protocols.http.jsp.IfsJspServlet.runServlet(IfsJspServlet.java:865)
at oracle.ifs.protocols.http.jsp.IfsJspServlet.processJspPage(Compiled Code)
at oracle.ifs.protocols.http.jsp.IfsJspServlet.service(IfsJspServlet.java:240)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at com.sun.server.ServletState.callService(Compiled Code)
at com.sun.server.ServletManager.callServletService(Compiled Code)
at com.sun.server.ProcessingState.invokeTargetServlet(Compiled Code)
at com.sun.server.http.HttpProcessingState.execute(Compiled Code)
at com.sun.server.http.stages.Runner.process(Compiled Code)
at com.sun.server.ProcessingSupport.process(Compiled Code)
at com.sun.server.Service.process(Compiled Code)
at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code)
at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code)
at com.sun.server.HandlerThread.run(Compiled Code)
<HR></BLOCKQUOTE>

Thanks Mark.
Finally I got rendered xml files from iFS repository....
I appreciate your continuous help..
m_XmlDocument.renderAsReader("SmbRenderer","SmbXmlRenderer",null);
and
m_XmlDocument.renderAsStream("SmbRenderer","SmbXmlRenderer",null);
work....
rest of them does not.
Even though the result is not what I want, it is too simple, I am glad to see that.
Thanks again Mark..
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
If rendererName is not null, the Policy named rendererName for the operation specified by rendererType is obtained. The fully-qualified classname of the Renderer is contained in the IMPLEMENTATION attribute of that Policy.
If rendererName is null, the default Policy for this LibraryObject for the operation specified by rendererType is obtained. The fully- qualified classname of the Renderer is contained in the IMPLEMENTATION attribute of that Policy.
<HR></BLOCKQUOTE>

Similar Messages

  • Rendering XML output (with large number of columns) to browser breaks

    We have a stored procedure in our database which returns a cursor with over 400 columns.  When we call the stored procedure from within the QT (using mode FixedQueryWithOutput), it renders just fine and very quickly in CSV format.  however, when we attempt to render it (e.g. post it) as HTML format or XML format, it takes a very long time to render (even thought the results come back very quickly). 
    We are using the following specs:
    OS:  Microsoft Vista
    Browser:  IE (v7.0)
    Java:  Java 6, patch 20 (plug-in disabled)
    Any hints/help would be greatly appreciated!

    Hi Aaron,
    Can you limit the output to a very few rows on the 400 columns you have to render?  It might be a memory or a XML parser constraint on the output client.
    Other option: save the XML in a file (WEB area) then try to export & open the saved data with the browser.
    This will tell you if  the error is at the client level. Also, you can examine the output easily, offline.
    This is practically what I'm doing to analyze XML data transferred to and from SAP using various RFCs.
    IE 8.0 never crashed with XMLs having a size of 3Mb or more (approx 60columns, 10000+ rows, 14 different tables).
    Paul.

  • Rendering XML Bug?

    This is the most strange issue...
    I'm generating XML and returning it to the page for output. I've got 4 pages that do the exact same thing with the exact same code... variables are the only things that change.
    For 3 of the pages, the XML data render in the browser and looks wonderful in View Source.
    For 1 elusive page, the XML data does not render in the browser, but the XML is clearly there in View Source.
    I'm beginning to reason that this is cause some phantom issue that I can't seem to solve, and it isn't making any sense whatsoever!
    Anyone have something similar happen to them or know of a solution?

    This is the function that creates the XML:
    <cfscript>
                   // TODO move the below function from user to library
                   var qAssets      = session.user.getLibraryAssets( libraryId=arguments.libraryId, filterByType=arguments.filterByType );
                   var assets           = xmlNew();
              </cfscript>
              <!--- TODO: use xml functions to do this --->
              <cfsavecontent variable="assets">
                   <cfoutput><assets></cfoutput>
                   <cfif qAssets.recordCount gt 0>
                        <cfoutput query="qAssets">
                             <#lCase(qAssets.assetTypeName)#>
                                  <id>#qAssets.id#</id>
                                  <name>#xmlFormat(qAssets.name)#</name>
                                  <data>#xmlFormat(qAssets.data)#</data>
                                  <isAdmin>#iif( isDefined("qAssets.isAdmin") and qAssets.isAdmin eq 1, de(1), de(0) )#</isAdmin>
                             </#lCase(qAssets.assetTypeName)#>
                        </cfoutput>     
                   </cfif>
                   <cfoutput></assets></cfoutput>
              </cfsavecontent>
              <cfreturn assets>
    This is the page the XML is finally rendered in:
    <cfsetting enablecfoutputonly="true">
    <!--- 0 = all libraries --->
    <cfset variables.xmlAssets = application.library.getAssetXml( libraryId=0, filterByType=application.assetType.VIDEO )>
    <cfoutput>#xmlParse(xmlAssets)#</cfoutput>

  • Rendering xml-table into logical filename in SAP R/3

    Hi,
    I am trying to translate an xml-table with bytes into a logical filepath in SAP R3.
    Do I have to use the method gui-download or shall I loop the internal xml-table?
    When I tried to loop the xml-table into a structure, and then transfering the structure into the logical filename, I get problems with the line breaks in my xml-file. How do I get the lines to break exactly the same as I wrote them in my ABAP-code?
    Edited by: Kristina Hellberg on Jan 10, 2008 4:24 PM

    I believe you posted in the wrong forum.
    This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
    Ludek

  • Hiding some part of rendered XML form

    Hi all,
    is it possible to hide some part of displayed xml form? For example, I have XML form with texts in two languages (two schema nodes, one for each language). I would like to show only text in users language. Users language could be determined from UME or from personalization of iView.
    Thank you very much for answers.
    Zdenek

    Hi Wassilios,
    thanks for helpful answer. Exists some documentation about these xsl files (I mean KM specific information)?
    Regards,
    Zdenek
    Message was edited by: Zdenek Smolik

  • Rendering xml in apex 4.2

    Hi,
    After upgrading to APEX 4.2 I can not see the reference to swf file like below code from 4.1 version.
    How can I do this?
    Thanks.
    <embed src="/i/flashchart/anygantt_4/swf/AnyGantt.swf?XMLFile=http://fedora.doosanimgb.com:8080/apex/apex_util.flash?p=121:4:548438967075279:FLOW_FLASH_CHART5_R3595001622092988_en"
    quality="high"
    width="1200"
    height="600"
    name="c3595001622092988"
    scale="noscale"
    align=""
    allowScriptAccess="sameDomain"
    allowNetworking="all"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    wmode="transparent"
    FlashVars="initText=Initializing...&xmlLoadingText=Loading data...&resourcesLoadingText=Loading resources...&noDataText=No data found.&waitingForDataText=Loading data. Please wait.&templatesLoadingText=Loading templates...">
    </embed>

    Hello Gabriel,
    Just changed the res chart query from:
    SELECT NULL          LINK,
           em1.EMPno        ID,          
           em1.ename         NAME,         
           null     PARENT_ID,  
           to_timestamp(to_char(sysdate + rownum,'dd-mon-yyyy hh24:mi'),'dd-mon-yyyy hh24:mi')    ACTUAL_START,
           to_timestamp(to_char(sysdate + rownum +10/24,'dd-mon-yyyy hh24:mi'),'dd-mon-yyyy hh24:mi')      ACTUAL_END    
    FROM   emp em1,
               emp em2to
    SELECT NULL          LINK,
           em1.EMPno        ID,          
           em1.ename         NAME,         
           null     PARENT_ID,  
           to_timestamp(to_char(sysdate + rownum,'dd-mon-yyyy hh24:mi'),'dd-mon-yyyy hh24:mi')    ACTUAL_START,
           to_timestamp(to_char(sysdate + rownum +10/24,'dd-mon-yyyy hh24:mi'),'dd-mon-yyyy hh24:mi')      ACTUAL_END    
    FROM   emp em1After upgrading to APEX 4.2 I can not see the reference to swf file like below code from 4.1 version.
    >
    Yes indeed the Region Source for Charts is not shown in 4.2. But don't know why!
    <embed src="/i/flashchart/anygantt_4/swf/AnyGantt.swf?XMLFile=http://fedora.doosanimgb.com:8080/apex/apex_util.flash?p=121:4:548438967075279:FLOW_FLASH_CHART5_R3595001622092988_en"
    quality="high"
    width="1200"
    height="600"
    name="c3595001622092988"
    scale="noscale"
    align=""
    allowScriptAccess="sameDomain"
    allowNetworking="all"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    wmode="transparent"
    FlashVars="initText=Initializing...&xmlLoadingText=Loading data...&resourcesLoadingText=Loading resources...&noDataText=No data found.&waitingForDataText=Loading data. Please wait.&templatesLoadingText=Loading templates...">
    </embed>Hope it helps!
    Regards,
    Kiran

  • XML does not render inside iframe using the built-in Firefox renderer as of Firefox 17.0.1

    We make a Content Management system that renders XML inside of iframe in a few different areas. As of Firefox 17, these iframes no longer render using the built-in Firefox XML renderer but instead as plain text.

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.
    It is probably best if you have a web page with example code, so they can test this themselves.

  • Fastest Way to Render PDF from XML

    Hi
    I have used XSLTC(pre-compiled XSL files) to render PDFs.Parser i have used are the latest from XALAN.
    Using FOP 0.20.5
    Using JAXP 1.3 i am using the validate framework for validating XMLs against XSDs.
    This is the fastest approach which i could possibly come up with for rendering XMLs into PDFs
    I am just wondering..with so many API etc available is there any accepted fastest way of Rendering PDFs through XML.
    I mean this should also take into account the rendering capability of the transformers.
    Any insights would be welcome.
    Thanks.

    Logging and Capturing?  Or Logging and TRANSFERRING?  This being P2...I'll assume the latter.  It should take about a gig a min to transfer...the same time needed to back up a card. 
    But you are L&T right from the camera...so I assume that you are not backing up the footage...just importing?  Why not back up?  That's step #1.  Unless you are backing up later.  Connected to the computer via USB or Firewire?  And the drive is connected to the computer how?  USB or Firewire?

  • What is the best way of creating admin-only parameters for a java iView?

    Hi,
    I would appreciate some advice from more experienced developers...
    The scenario is as follows: I have created an Org Chart maintenance application that generates and renders xml&xsl-based Org Charts. This is the maintenance iView.
    I am creating a second iView that points to each org chart(the 'Viewer' iView). This iView will be re-used many times, for different parts of our organisation. My problem is I want the portal administrator to be able to set the specific Org Chart that each instance of the 'viewer' iView points to. This needs to be editable as a configurable property.
    I imagine that this is accomplished through the use of properties, what is the best way to accomplish this?
    Many thanks,
    Mark Hockings

    I believe that you should be able to specify the 'personalization' property to be no-dialog. This doesn't allow users to be able to change the property, but can be changed when creating the iView definition
    I hope this helps
    D

  • My Word docs are NOT saving as PDF files.

    I go to "File, Print, PDF, Save as PDF, save doc to my desktop, click Save"...it "processes" then chimes alerting me it's completed, but the PDF is NO WHERE on my desktop (or anywhere on my laptop for that matter!!)
    The interesting thing about this problem ONLY happens when I CREATE that particular Word document. If someone emails me a Word doc and I download it and then open it up in Word, I am then ABLE to save it as a PDF. Soo, I tried emailing the file I created to myself...downloaded it, and tried to save as a PDF, same thing happens as before....no where to be found.
    Helpppp. I am SO frustrated. THANKS

    Okay - could be a bad file or a document with a goofy format, size, or table of contents snafu.
    I had issues with Acrobat 9.x with Word 2010 (Windows).  I stopped using Acrobat and just started doing what you're doing - saving direct from Word > PDF - and haven't had an issue since (other than bloated file sizes even saving as "minimum").
    So my advice is to look at your document.  It could be a TOC thing, or a large image, or something else messing up the engine.
    Remember, Office 2007, 2010, and 2011 all save DOCX as XML files.  So the "converter" (save-as-PDF) is rendering XML > PDF.

  • Types of mapping which xi supports?

    funtional mapping is supported by XI or not?  if so where can i find this options in XI
    Thanks &regards
    siva

    Hi Siva,
    These terms are really confusing....But actually XI support...
    1. Structural Mapping.
    2. Value mapping
    There is no term node mapping / functional mapping...
    When we talk about Mapping techniques...then there are
    Message mapping
          Graphical design and test environment
          Queue-based model allows handling of very large
          documents
          Extensible via Java user-defined functions
    XSLT
          Open standard
          Portable
          Extensible via Java user-defined functions
          Memory overhead for very large documents 
    Java
           Flexibility of Java programming language
           Java mapping program is responsible for  
           parsing/rendering XML
    ABAP
           Leverage existing ABAP base
           ABAP mapping program is responsible for 
           parsing/rendering XML
    I have some good document on this...let me know your emaild.
    Nilesh

  • Connecting Flex 2 To Data Sources

    I have order flex 2 (out of my own pocket) so I can learn how
    to use it. Hopefully I should have it in the next day or two.
    It seems that once I get going, the truly cool stuff will be
    connected to some sort of data source.
    Any suggestions for getting inexpensive data sources set up
    so I could learn that piece of flex?
    Currently my web host allows a SQL database, but I have not
    really made use of that feature.
    Paying for something like Cold Fusion out of my own pocket is
    a little to much for me. Paying for the upgrades for Production
    Studion and the old Macromedia Studio 8 will suck up most of my
    play cash in the next year or so.
    Thanks
    Mathias

    well you dont need to purchase anything to write .net and
    even ASP could fill the role of server side technology for most
    flex apps. In fact one nice thing about IIS is that you can write
    your server side script in javascript which is very similar to
    actionscript which is nice and if you need to do client side script
    you can swap your javascript functions back and forth in your
    client and server side scripts. Also you dont have to use MS
    technologies to talk to their DBs, you could use whatever script
    enviroment that your host has to offer. As far as rendering XML you
    can use dataBinding objects on the host or even just render it your
    self like
    var rName = ""+ sqlObject("Record_Name");
    var result= "";
    result= "<xml>\n\r<name>"+ rName+
    "</name>\n\r</xml>"
    Response.write(result);

  • How to fine-tune KM Navgation iView

    Hi Experts,
    We have 6-7 KM navigation iviews on the homepage, all rendering xml news from different folders of KM.
    Now we have discovered that the maximum time of page loading is occupied by these navigation iviews(If we make these navigation iviews invisible, then the loading time is almost half).
    Please suggest some ways to tune these Navigation iviews so that the load time of homepage should be less.
    Thanks,
    Ankit

    Hi Ankit
    This is a classic issue - the performance for the KM Navigation Iview is very poor, and I would never suggest you to put more 2-3 KM Nav Iviews on the same page. And I would not recommend you to put any KM Nav Iviews on a frontpage or any other important or content-heavy page.
    You have the following options:
    1) Limit the number of KM Nav Iviews on the page in question.
    2) Set Cache Level to Shared (server side caching) even though this feature is not working consistently in the SAP Portal.
    3) Configure the search iview (search component set and search options set) according to the Last10Documents scenario: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/45bcc1c0-0d01-0010-1094-fe7993416ea6
    4) Contact a developer and let him code a servlet used to render pure html according to your needs. Show him this introduction: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3059b588-e19b-2910-7d8f-9b689a066e3c
    Best regards,
    Martin Søgaard

  • I think this goes here, Oracle, Java, JSP and Flex

    Ok so I apologize if this does not belong here....
    I want to connect Flex to a Oracle 10g data base, and I managed to connect Java to the oracle data base, now the middle ware is the jsp file. I need to parse the connection through a jsp file in such that what gets produced when a SQL statement of say SELECT * FROM BLA; is a html page that displays all XML so i can through that through flex and display it in a data grid. everything is ready to go but the jsp part...
    How do i get java to spit out the select statment, or any statement that is through the jsp file?

    Adrienk wrote:
    I want to connect Flex to a Oracle 10g data base, and I managed to connect Java to the oracle data base, now the middle ware is the jsp file. I need to parse the connection through a jsp file You're using the word "parse" in a way that makes no sense. You seem to mean "use".
    in such that what gets produced when a SQL statement of say SELECT * FROM BLA; is a html page that displays all XMLWell, then it's not really an HTML page. But you can still use JSP for XML, I believe. But keep in mind that JSP is awful, and you may not even need it.
    so i can through that through flex and display it in a data grid. So basically, you want to create a web service, accessible from your Flex client, that exposes data from that table in XML.
    How do i get java to spit out the select statment, or any statement that is through the jsp file?I suppose you could have a servlet that uses JDBC to query the database, and then forwards to the JSP page to render it.
    But you may not even need JSP for something like this. If it's just a SQL query result set, i.e., basically a grid, the XML may be so simple that the servlet could render it all by itself just fine, maybe by just printing XML code directly, or maybe by making a DOM and serializing it to the servlet's HttpServletResponse output stream.
    There are apparently also taglibs for JSP that can do db queries, but the less you touch JSP the better IMHO.
    The details here would depend on your environment. If you're using an object/relational mapping tool, you wouldn't use JDBC directly. Etc.
    Also I'd advise you to consider caching the rendered XML if the table isn't going to change a lot.

  • Whiet Space in FCC

    Hi
    In my output file after FCC , for a particular record i am getting white spaces before certain fields, which are not coming as part of the data.
    What could be creating the white spaces?
    regards
    krishna

    Hi Krishna !
    First of all, are you sure that those spaces are not coming as part of the source data? take in account that messages in sxmb_moni, using that screen interface renders xml data trimming spaces..you should export that xml message file from sxmb_moni to your local workstation and check the real content with a text editor.
    When you say that you are getting white spaces before certain fields..are you using a field delimiter or fields are delimited by length? what is the current output and what should be the expected one? could you give me an example?...one or two lines will do it.
    Thanks,
    Regards,
    Matias.

Maybe you are looking for

  • SAP MII 11.5 Compatibility with ECC6

    We are currently using xMII 11.5.6 with SAP 4.7.  We are upgrading to ECC6 in the next few months.  Are there any compatiblity issues that we need to watch for in this upgrade?  We are using the IDOC Listener and JCO interfaces in our Business Logic

  • IC Webclient blank screen

    We have installed CRM 4.0 with J2EE 6.20 along with all the required Java components and ICSERVER. The RFC destinations work without any problems. But when we start the CRM_IC application only a blank white screen is displayed in the browser. In MS I

  • Banshee and Clutterflow errors,

    Hi all, I installed the latest Clutterflow and all his dependency as I enjoy a bit of eye candy while browsing my library. Anyway,  after installing it and runnign banshee with clutterflow banshee kept crashing, so I check the error in a terminal and

  • Help:  Error when using LSMW (Recording Object Type)

    Dear all,    I encountered an error when using "Batch Input Recording" way in LSMW,which is as follows: I have recorded the transaction MM01 and the source structure and data mapping.When dealing with "Specify Files",the error comes out with message

  • Premiere Elements 10 Install

    A friend of mine just bought a new acer 64 bit laptop and then premier elements 10 from Amazon which she has been unable to install. Seems as if the download process was interrupted and then restarted. Knowing that I have experience with PE 8 she ask