HTML Returned in Data provider as XML

I have an HTTPservice returning xml, one of the xml elements
contains html "<A href='example.com'>test</a>", when i
am returning plain text the flex component i built can parse the
information just fine, when i add html tags to the returned data
then flex sees my xml as having more collections or something,
rather then getting the text value i can "Object object", thats
with just one <A></A> tag in there, i imagine it will
get worse the more tags i add...
leo

A couple possibilities:
1. Manually encode the HTML using "entities", for example,
replacing "<" with "&lt;", etc.
2. Use the "escape()" and unescape() functions to
encode/decode the html
2. Wrap the strings you do not want parsed in CDATA tags.
A related question:
What are you going to do with the html in Flex? You know that
Flex can't display it, right?
Tracy

Similar Messages

  • Hi to all... What is a  XML data provider,stored Procedure, personal data

    Hi to all... What is a  XML data provider,stored Procedure, personal data providers in deski.  when we use these data provider in desk top intelligence.. and use of it.
    Please give detail description of the above...
    Thanks for reply..........

    Hi,
    We can create Desktop Intelligence reports using XML Data Provider, Personal Data Files and Stored Procedure.
    Following is some detailed information about these three.
    Xml data provider:
    Xml data provider is used for the integration of external data sources stored in XML format.
    This is similar to HTML.
    Stored Procedure:
    A stored procedure is a set of SQL commands that has been compiled and stored on the database server.
    Once the stored procedure has been "stored", client applications can execute the stored procedure over and over again without sending it to the database server again and without compiling it again.
    Stored procedures improve performance by reducing network traffic and CPU load.
    Personal data files:
    u2022     *.prn files
         A PRN file is a special type of file which contains instructions for a printer, it tells the printer what to print on the page and where as well as which paper tray to use, what the paper size is and a number of other controls.
    u2022     *.asc files
          Between the values of a row any number of carriage returns  or blanks are allowed. In any case it is strongly recommended that the data table be stored in such a way that it can be read and edited easily.
           The values may be stored in any format (integer, floating point, exponential notation) and they must be separated at least by one blank. The class information must be of integer type, the row identifiers are interpreted as strings. The lines can have any length and must not contain any comment.
    u2022     *.csv files
    A CSV file is a specially formatted plain text file which stores spreadsheet or basic database-style information in a very simple format, with one record on each line, and each field within that record separated by a comma.
    Regards,
    Pradnya Kokil

  • Error Calling Data Provider for Return PO in Me21N Message Number FES011

    Hi Experts,
    I am trying to create a Return PO using ME21N. Im giving all the parameters and values. But While saving its generating an Error.
    it states "Error calling Data Provider".
    Message No. FES011
    What could be the possible error . Any clues?
    Thanks and Regards,
    Selvakumar. M

    hi,
    Check with the Basis consultant....actually Data provider deals with the database..Also sometimes when the data provider doesnot provides the data...the error doesn't reach....
    Pls check with the BASIS consultant....the netweaver part could be checked by ABAP consultant...
    Also check the links:
    http://msdn.microsoft.com/en-us/library/bb508810(SQL.90).aspx
    http://help.sap.com/saphelp_nwpi71/helpdata/en/11/e8179b247e4720882512a04041491d/frameset.htm
    http://sapnetweavernotes.blogspot.com/2008/04/sap-earlywatch-alert.html
    Hope it helps....
    Regards
    Priyanka.P

  • XML Data Provider - Information

    Hi!
    I am using the web item "Data Provider - Information" in the WAD to get a query result in XML. When i choose view source in the explorer i can see the XML generated.
    My problem is that this generated XML generates one "XML set" for the characteristics in the query and one "XML set" for the key figures in the query.
    By this i mean that when i copy the xml from the "view source" file and save it as its own XML file i have to save it as one file for the Key Figures and one file for the Characteristics.
    Like this(Characteristic OMaterial and KeyFiure NetValue):
    <?xml version="1.0" encoding="iso-8859-1"?>
    <item>
    <material>12345</material>
    </item>
    and
    <?xml version="1.0" encoding="iso-8859-1"?>
    <item>
    <net_value>100</net_value>
    </item>
    I would like the web item to generate a XML file that includes both the KeyFigures and the Characteristics.
    Like this:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <item>
    <material>12345</material>
    <net_value>100</net_value>
    </item>
    Do any of you know if/how this is possible?
    Thanks,
    Charlotte

    Hey, sounds like you're getting pretty close. The next thing is integrating the XSLT transform into a web template. I'm actually working on a paper on this that I'll put out at some point. Anywho, here's a sample template that does the XSLT transform on load of the page... The most important thing is that the web template has property "STATELESS=X" so that any navigation you do reruns the transform. This way, you can still navigate and do BW type activities while still transforming the result set. This is very powerful and you'll be able to change or do anything using XSLT transforms. I'm even working on creating javascript functions that run these transforms to do left outer joins and inner joins based on 2 XML result sets. This way, even if data isn't modeled together, it can be presented together. I'm working through the kinks of some of these transforms. Also, I'm working to integrate stylesheet support into my transform as well. Just substitute your transform into the sample template below and it'll render an html table for the XML Query Result Set.
    [code]
    <HTML>
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_1"/>
             <param name="DATA_PROVIDER_ID" value="ZV_STAT_CUBE_VIEW"/>
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value="ZPD_STAT_XSL_3"/>
             <param name="STATELESS" value="X"/>
             TEMPLATE PROPERTIES
    </object>
    <HEAD>
    <META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
    <TITLE>BW Web Application</TITLE>
    <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
    </HEAD>
    <script language="JavaScript">
          function loadIt() {
            XMLQUERYVIEWDATA_1.async = false;
    xsl_result_1.innerHTML = XMLQUERYVIEWDATA_1.transformNode(xsl_transform_1.documentElement);     
    alert(XMLQUERYVIEWDATA_1.transformNode(xsl_transform_1.documentElement));
        </script>
    <body onLoad="loadIt()">
    <P>
      <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TABLE_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             ITEM:            TABLE_1
    </object>
      <BR>
      <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="XMLQUERYVIEWDATA_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_XML_QUERYVIEW"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="NAVIGATIONAL_STATE" value=""/>
             <param name="RESULT_SET" value="X"/>
             ITEM:            XMLQUERYVIEWDATA_1
    </object>
    </P>
    <!--
    #==========================================================================
    XSL Transformation that displays
    Template Properties, List of Data Providers and List of Items
    #==========================================================================
    -->
    <xml id="xsl_transform_1">
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:variable name="header">
    <tr bgcolor="white"> <xsl:for-each select="//RRWS_SX_TUPLE[1]/*">
      <td>
      <xsl:value-of select="local-name()"/>
      </td>
    </xsl:for-each>
    </tr>
    </xsl:variable>
    <xsl:template match="/">
    <table bgcolor="gold" border="1">
    TESTVALUE -
    <tr>
      <xsl:copy-of select="$header" /> <xsl:apply-templates />
    </tr>
    <xsl:for-each select="//RRWS_SX_TUPLE">
          <tr>
            <td><xsl:value-of select="TUPLE_ORDINAL"/></td>
              <xsl:for-each select="//RRWS_S_CELL">           
              <td><xsl:value-of select="CELL_ORDINAL"></td>
              </xsl:for-each>
            <td><xsl:value-of select="TUPLE_ORDINAL"/></td>
            <td><xsl:value-of select="CHANM"/></td>
            <td><xsl:value-of select="CAPTION"/></td>
            <td><xsl:value-of select="CHAVL"/></td>
            <td><xsl:value-of select="CHAVL_EXT"/></td>
            <td><xsl:value-of select="NIOBJNM"/></td>
            <td><xsl:value-of select="TLEVEL"/></td>
            <td><xsl:value-of select="DRILLSTATE"/></td>
            <td><xsl:value-of select="OPT"/></td>
            <td><xsl:value-of select="SIGN"/></td>                    
            <td><xsl:value-of select="ATTRIBUTES"/></td>     
          </tr>
    <xsl:for-each select="//RRWS_S_CELL">
         <tr>     
            <td><xsl:value-of select="CELL_ORDINAL"/></td> 
            <td><xsl:value-of select="VALUE"/></td>            
            <td><xsl:value-of select="FORMATTED_VALUE"/></td> 
            <td><xsl:value-of select="VALUE_TYPE"/></td> 
            <td><xsl:value-of select="CURRENCY"/></td> 
            <td><xsl:value-of select="UNIT"/></td> 
            <td><xsl:value-of select="MWKZ"/></td> 
            <td><xsl:value-of select="NUM_SCALE"/></td> 
            <td><xsl:value-of select="NUM_PREC"/></td> 
            <td><xsl:value-of select="CELL_STATUS"/></td> 
            <td><xsl:value-of select="BACK_COLOR"/></td> 
         </tr>
    </xsl:for-each>
    </table>
    </xsl:template>
    <xsl:template match="RRWS_S_CELL/*">
    <td> <xsl:value-of select="." /> </td>
    </xsl:template></xsl:stylesheet>
    </xml>
    <table>
      <tr><td valign="top"><div id="xsl_result_1"></div></td></tr>
    </table>
    </body>
    </HTML>
    [/code]

  • UIX with XSQL as XML data provider and event handler

    Hello ,
    I would like to bind XML data to messageinput elements of a form element
    as values to be presented before entering (data provider)
    as well as input values to be persisted after completing the form (event handler).
    My impression (as a newbee) is that only for BC4J integration there is a bidirectional binding with view objects.
    Can i use 'include' to bind a static xml file as data source for output?
    How can i use XSQL to be bound as data for input as well as for output of a form?
    A last question concerning a page with 3 tabs:
    do i need 3 different pages and requests to get the data of the 3 tabs
    or is it possible to get the whole data of the page in one request
    and distribute it over the 3 tabs.
    Any help appreciated
    Thanks
    Klaus Dreistadt

    You could do this, but we don't provide any tools to make this easy.
    You'd have to write an implement of the DataObject interface
    that gives your UI access to the XML document, and write custom
    event handlers to perform the "set" side of things. The Data Binding
    and UIX Controller chapters of the UIX developer's guide will give you
    a high-level view of how to accomplish this, but nothing specifically
    about reading or writing to XML documents.

  • Error using an XML as data provider for either datagrid or linechart

    Hi,
    I am developing an application using Flex and Java servlets.
    Upon user
    event, I load the data using the servlet and store the data
    in a
    Dictionary. I am running into couple of issues from here
    a. If I try to use the XML object in the dictionary as the
    data provider
    for either Datagrid or Linechart I am unable to view the
    data. I did a
    trace on the object and it has the correct data.
    b. Also, I am unable to access the content of child elements
    when using
    a parent element as the data provider.
    ex. parent. child1. child2 does not work, it works when I
    provide child2
    as the dataprovider directly.
    Please let me know what might be the root causes and
    resolutions.
    Thanks in advance,
    Nataraj

    I did not find a solution to the problem and created a list
    of the child objects and used that as the source instead of the top
    level XML object. This worked.

  • ComboBox XML Data Provider

    Hello all,
    I'm having trouble creating an XML data provider to use for a
    ComboBox. Below is what I've done:
    XML data I get from Rails server:
    <states>
    <state name="Arizona" id="1" />
    </states>
    CDATA:
    import mx.rpc.events.ResultEvent;
    import mx.collections.ArrayCollection;
    [Bindable] private var stateData:ArrayCollection;
    private function getStates(event:ResultEvent):void {
    stateData = (event.result as XML).states.state;
    state.dataProvider = stateData;
    state.labelField = "name";
    state.data = "id";
    <mx:ComboBox id="state" />
    This compiles, but when I run it, I don't get anything in the
    ComboBox. I know I'm getting data from the server, because I can
    set the data provider for the ComboBox to be event.result and I see
    all the resulting XML in the ComboBox.
    Please help!!! What am I doing wrong here?!
    Thanks in advance! -- BTR

    Hey Vygo,
    Thanks for the suggestion. I'll try it out and let you know
    how it goes. However, I was worried about the attributes so I tried
    it using regular elements as well, but to no avail. Anyway, I'll
    get back to you once I have a chance to try out your suggestion.
    Thanks again! -- BTR

  • Displaying HTML data in the xml report

    hi
    can anybody help me out on how to display the HTML data in XML report, for example the data in the table is in the following format with HTML tags attached to it
    *&lt;b&gt;Test Good display as normal text&lt;b&gt;*
    +&lt;i&gt;Test Italicized &lt;i&gt;+
    i would like to display the above data in the XML report as a following with "Test Good display as normal text" as BOLD and "Test Italicized" as Italicized
    Test Good display as normal text Test Italicized
    if anybody came across similar issue please help me out.
    Regards
    Hemi.

    Hi..
    Check out this link..hope this helps..
    http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html

  • Trying to change the APN on my iPad for a new data provider.  Each time it returns to the original. Any suggestions?

    trying to change the APN on my iPad for a new data provider.  Each time it returns to the original. Any suggestions?

    Hi Canberabomber,
    If you are having issues setting or changing the APN on your iPad, you may find the following article helpful (apologies if you have already seen it):
    iOS: About cellular data network settings (viewing or editing the APN)
    http://support.apple.com/kb/ht2283
    Regards,
    - Brenden

  • Using Data Provider

    Hi,
    I am using Data Provider.
    Below are the pararmeters I am passing to it,
    oms:dataSource <parameter>mslv/oms/oms1/internal/jdbc/DataSource</parameter> DefaultValue=Xquery
    oms:sql <parameter>select name from employee where job=?</parameter> DefaultValue=Xquery
    in:1
    Now I want to pass a dynamic value for the where clause in the Sql.
    My Order Data is,
    <OrderData>
    <Employee>
    <Name></Name>
    <Job>Engineer</Job>
    </Employee>
    </OrderData>
    Now I want to pass the "Engineer" value to the where clause. How can I define a Xpath or Xquery for the in:1 parameter?
    Please help.

    You can find documentation for the DatabaseAdapter "Data Provider" class (also known as a View Framework Adapter) in the OSM SDK Javadocs. The Javadocs for the class provide information and an example to let you do what you are trying to do. I've copy/pasted them here for your reference:
    This class implements a View Framework external instance adapter that executes a SQL statement and builds an XML document based on the result set.
    There are two mandatory parameters for this class, oms:sql and oms:dataSource.
    oms:dataSource: Refers to the jndi name of a JDBC datasource defined in WebLogic. For example 'mslv/oms/oms1/internal/jdbc/DataSource'
    oms:sql: Contains the sql that will be sent to the database. For example 'select * from scott.emp where empno=?'
    Additional optional input parameters may be supplied that will be bound to parameters defined in the oms:sql value. For example, in the above sql statement a parameter is used to define the value for 'empno' in the where clause. A value for this parameter may be specified by defining a paremter called "in:1". If there were additional input parameters defined in the sql statement, these could be passed as "in:2", "in:3" and so on.
    In all cases these input parameters will be assumed to be string values and bound to the sql statement as string values.
    The following is an example of using the DatabaseAdapter to invoke a query:
    <instance name="well_paid_salesman" xsi:type="externalInstanceType">
    <adapter>com.mslv.oms.view.rule.adapter.DatabaseAdapter</adapter> <parameter
    name="oms:dataSource">'mslv/oms/oms1/internal/jdbc/DataSource'</parameter> <parameter
    name="oms:sql">"select * from scott.emp where job='SALESMAN' and sal > ?"</parameter> <parameter
    name="in:1">1250</parameter> </instance>
    The above declaration returns the following XML instance:
    <results> <rowSet> <row> <empno>7499</empno> <ename>ALLEN</ename> <job>SALESMAN</job> <mgr>7698</mgr>
    <hiredate>1981-02-20 00:00:00.0</hiredate> <sal>1600</sal> <comm>300</comm> <deptno>30</deptno> </row> <row>
    <empno>7844</empno> <ename>TURNER</ename> <job>SALESMAN</job> <mgr>7698</mgr> <hiredate>1981-09-08
    00:00:00.0</hiredate> <sal>1500</sal> <comm>0</comm> <deptno>30</deptno> </row> </rowSet> </results>
    The DatabaseAdapter can also be used to execute SQL stored procedures.
    The DatabaseAdapter provides a stored procedure SQL escape syntax that allows stored procedures to be called in a standard way for all RDBMSs. This escape syntax is defined as part of the Java JDBC API.
    This escape syntax has one form that includes a result parameter and one that does not. If used, the result parameter must be registered as an OUT parameter. The other parameters can be used for input, output or both. Parameters are referred to sequentially, by number, with the first parameter being 1.
    {?= call [,, ...]}
    {call [,, ...]}
    Values for input parameters to the stored procedure are specified using the in:1, in:2 (etc.) parameters in the same way as they are for regular SQL queries.
    Output parameters are specified using out:1, out:2 (etc.). Keep in mind that the parameter number (1, 2, 3, etc.) are numbered sequentially from 1 ordered from left to right in the specified SQL statement including both input and output parameters.
    The value of the parameter is the parameter SQL type (see http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Types.html for a list of types).
    The following example illustrates how to call a database stored procedure that has one output parameter (the result of the stored procedure call), and one input parameter.
    <instance name="lock_count" xsi:type="externalInstanceType">
    <adapter>com.mslv.oms.view.rule.adapter.DatabaseAdapter</adapter> <parameter
    name="oms:dataSource">'mslv/oms/oms1/internal/jdbc/DataSource'</parameter> <parameter
    name="oms:sql">"{? = call om_cartridge_pkg.get_any_cartridge_id('my_cartridge',?)}"</parameter> <parameter
    name="out:1">'INTEGER'</parameter> <parameter name="in:2">'1.1'</parameter> </instance>
    The above declaration returns the following XML instance:
    <results> <outputParameter number="1">1234</outputParameter> </results>
    Hope this helps.
    Brian.

  • How to consume the webservice if it returns the data in dataset format

    Dear All,
    We have a requirement to consume webservice created in .NET platform. In that webservice they are returning data in dataset format. In this case i am not able to create a proxy. It is showing the following information.
    Cannot generate proxy (object schema mis
    WSDL, see long text)                   
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
      <s:import namespace="http://www.w3.org/2001/XMLSchema" />
    - <s:element name="getTaskEffort">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="SPRProjectId" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="getTaskEffortResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1" name="getTaskEffortResult">
    - <s:complexType>
    - <s:sequence>
      <s:element ref="s:schema" />
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:schema>
      </wsdl:types>
    - <wsdl:message name="getTaskEffortSoapIn">
      <wsdl:part name="parameters" element="tns:getTaskEffort" />
      </wsdl:message>
    - <wsdl:message name="getTaskEffortSoapOut">
      <wsdl:part name="parameters" element="tns:getTaskEffortResponse" />
      </wsdl:message>
    - <wsdl:portType name="OntimeWSSoap">
    - <wsdl:operation name="getTaskEffort">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">This method.</documentation>
      <wsdl:input message="tns:getTaskEffortSoapIn" />
      <wsdl:output message="tns:getTaskEffortSoapOut" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="OntimeWSSoap" type="tns:OntimeWSSoap">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    - <wsdl:operation name="getTaskEffort">
      <soap:operation soapAction="http://tempuri.org/getTaskEffort" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="OntimeWS">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
    - <wsdl:port name="OntimeWSSoap" binding="tns:OntimeWSSoap">
      <soap:address location="http://hts-pcs-0808/OntimeData/Ontime.asmx" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    I tried to consume webservice http://student.ohecampus.com/projects/group95/stud17/assignment7/validateEmail.asmx, which will return the data in boolean format. In this case, i am able to create a proxy and it is working fine. Can anyone help me out.
    Thanks in advance.
    Regards,
    Karthick

    Dear Raja,
    I checked with webservice owner who created the webservice. They are telling that there is no problem in XML file which they gave. The webservice they provided is consumed in many application and it is working fine. When in SAP, i tried to create a proxy it is showing the in information which i mentioned in earlier posted forum message.
    Kindly advice.
    Regards,
    Karthick

  • OracleVM and paravirtualized guest - "Boot loader didn't return any data!"

    Hi folks,
    we're having a problem here: We have installed the latest version of Oracle VM Server on a machine that does not provide hardware virtualization support (i.e., no Intel VT or similar). As a result, we will not be able to make use of hardware virtualized VMs, but according to the Oracle docs, we should be able to set up virtual machines of the paravirtualized domain type. So far, so good.
    Also according to the docs, when setting up a PVM, one cannot use an ISO image located in a storage repository in order to start the installation, but instead one would have the mount the installation ISO somewhere, make available it's contents via NFS (or HTTP / FTP), and then set up the newly created virtual machine to attempt a PXE boot, specifying the location where the contents of the ISO have been placed (i.e.: nfs:host:/path/to/mounted/iso). All of this is decribed very well in the Oracle VM Server docs (chapter 8), but somehow it still doesn't seem to work for us.
    What happens is this: When we attempt to boot our PVM via PXE, specifying the NFS location where we've made the contents of the ISO available, we always get this:
    Job Construction Phase
    begin()
    Appended operation 'Virtual Machine Start' to object '0004fb0000060000ab1b8caa045cc7a8 (VMOEL6)'.
    commit()
    Completed Step: COMMIT
    Objects and Operations
    Object (IN_USE): [VirtualMachine] 0004fb0000060000ab1b8caa045cc7a8 (VMOEL6)
    Operation: Virtual Machine Start
    Object (IN_USE): [Vnic] 0004fb0000070000797b4c17ae1154dd (00:21:f6:00:00:0a)
    Object (IN_USE): [StorageElement] 0004fb0000180000eb569988de92923e (SATA_WDC_WD5001ABYS-_WD-WCAS86231834)
    Object (IN_USE): [VirtualDisk] 0004fb0000120000cdbce172d90322c3.img (VMOEL6Disk1)
    Object (IN_USE): [VmDiskMapping] 0004fb0000130000aaa3f5eb57705a5b
    Object (IN_USE): [VmDiskMapping] 0004fb0000130000f1438eedcfee01de
    Job Running Phase at 18:11 on Fri, Oct 14, 2011
    Job Participants: [44:45:4c:4c:37:00:10:46:80:4b:b8:c0:4f:59:31:4a (ORAVM1)]
    Actioner
    Starting operation 'Virtual Machine Start' on object '0004fb0000060000ab1b8caa045cc7a8 (VMOEL6)'
    Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: ORAVM1 failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/1 start_vm 0004fb00000300001d1619c621b16838 0004fb0000060000ab1b8caa045cc7a8, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300001d1619c621b16838/VirtualMachines/0004fb0000060000ab1b8caa045cc7a8/vm.cfg'] failed (1): Error: Boot loader didn't return any data!
    We've used multiple different ISOs in order to test this, including Oracle Enterprise Linux (just like the example in the docs does), however, we never get any further than this error message.
    Any ideas what we might be doing wrong?
    Greetings,
    Nils

    Hi Avi,
    thanks for your reply! Actually, I believe I checked the NFS reachability already. Here's what I can do on the VM server:
    [root@ORAVM1 ~]# ls /mnt/test
    [root@ORAVM1 ~]# mount.nfs 10.0.0.220:/mnt/iso /mnt/test
    [root@ORAVM1 ~]# ls /mnt/test
    EFI eula.py images media.repo README-en.html RELEASE-NOTES-x86_64-en RELEASE-NOTES-x86-en.html RPM-GPG-KEY Server
    EULA GPL isolinux Packages RELEASE-NOTES-en RELEASE-NOTES-x86_64-en.html repodata RPM-GPG-KEY-oracle supportinfo
    eula.en_US HighAvailability LoadBalancer README-en RELEASE-NOTES-en.html RELEASE-NOTES-x86-en ResilientStorage ScalableFileSystem TRANS.TBL
    [root@ORAVM1 ~]#
    So, I seem to be able to mount the NFS export correctly (what we're seeing are the contents of an Oracle Enterprise Linux ISO). And when setting up the VM, I specify "nfs:10.0.0.220:/mnt/iso" as the PXE boot path. Still it doesn't seem to work. :-(
    ovs-agent.log doesn't seem to contain too many additinal information of value either. Here's a snippet of what seems to happen when I power up my VM, but I guess there's nothing really new in there:
    [2011-10-20 12:56:37 22423] ERROR (OVSServices:61) dispatch error: start_vm: <Fault 1: "exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300001d1619c621b16838/VirtualMachines/0004fb0000060000ab1b8caa045cc7a8/vm.cfg'] failed (1): Error: Boot loader didn't return any data!\n ">
    [2011-10-20 12:56:37 22423] ERROR (OVSCommons:142) catch_error: <Fault 1: "exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300001d1619c621b16838/VirtualMachines/0004fb0000060000ab1b8caa045cc7a8/vm.cfg'] failed (1): Error: Boot loader didn't return any data!\n ">
    Traceback (most recent call last):
    File "/opt/ovs-agent-3.0/OVSCommons.py", line 140, in wrapper
    return func(*args)
    File "/opt/ovs-agent-3.0/OVSServices.py", line 59, in dispatch
    return getattr(sp, func)(*args)
    File "/opt/ovs-agent-3.0/utils/xmlrpclib.py", line 1099, in __call__
    return self.__send(self.__name, args)
    File "/opt/ovs-agent-3.0/utils/xmlrpclib.py", line 1386, in __request
    verbose=self.__verbose
    File "/opt/ovs-agent-3.0/utils/xmlrpclib.py", line 1150, in request
    return self._parse_response(h.getfile(), sock)
    File "/opt/ovs-agent-3.0/utils/xmlrpclib.py", line 1289, in parseresponse
    return u.close()
    File "/opt/ovs-agent-3.0/utils/xmlrpclib.py", line 746, in close
    raise Fault(**self._stack[0])
    Fault: <Fault 1: "exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300001d1619c621b16838/VirtualMachines/0004fb0000060000ab1b8caa045cc7a8/vm.cfg'] failed (1): Error: Boot loader didn't return any data!\n ">
    So, any further ideas where to look?
    Edited by: BadForGood on 21.10.2011 04:38

  • #DATA# in Chart XML

    The #DATA# field in Chart XML takes the data from your SQL query and wraps it in XML so that AnyChart can render the chart correctly.
    Is there a way for me to customize how the XML is generated?
    Where do I find the definition for the #DATA# field?
    Thanks
    Austin

    Hi Austin,
    Firstly, what version of APEX are you using? Pre-APEX 4.0, the supported Flash charts use AnyChart 3.3 charts, however with APEX 4.0 we've integrated AnyChart 5 charts. The XML Reference differs quite alot between the two chart versions, so I'd just like to ensure that I provide you with the correct information for the version of charts you'#re using.
    The #DATA# substitution string in your chart XML is replaced at runtime with XML tags containing the resultset from your chart series query. If the chart XML does not contain the #DATA# substitution string, then we assume that you are providing your own data, and the chart series query will not be used. The generation of the XML tags for the data differs from chart type to chart type e.g. the data tags for a Pie chart are very different to that of a Gantt chart. Generally, users don't need to worry about that. They just need to provide the chart series query, and the underlying logic takes care of the rest. However, if you need to customize that XML tags for data, for whatever reason, then you essentially have two options here:
    1) Hard-code the necessary XML into the Custom XML region of your chart. This would require that you set "Use Custom XML" to Yes, on the Chart Attributes page, and in the Custom XML region, replace #DATA# with your XML e.g
    <data>
      <series name="VALUE" type="Line" color="0x1D8BD1">
        <point name="ALLEN" y="300">
        </point>
        <point name="MARTIN" y="1400">
        </point>
        <point name="TURNER" y="0">
        </point>
        <point name="WARD" y="500">
        </point>
      </series>
    </data><b>NOTE</b>: the above XML is in AnyChart 5 format, so if you're using AnyChart 3.3 charts then the XML will look very different. I can provide a sample for that if necessary. The AnyChart 3.3 XML Reference can be accessed here: http://3.anychart.com/products/docs/anychart/index.htm and the AnyChart 5 XML Reference can be accessed here: http://anychart.com/products/anychart/docs/xmlReference/index.html.
    or
    2) Generate your own data tags, via a page process for example, save the output to a hidden page item, and then reference that page item in the chart Custom XML...again, you'd be removing the #DATA# substitution string and replacing it with a reference to a hidden item e.g. &P1_DATA. I've got an example of how to do this on my Sample Application Thresholds example, here: http://apex.oracle.com/pls/apex/f?p=36648:35. Basically I've used an On-Demand process to generate the XML, which needed to be customised because the <data> tag needs to reference a threshold attribute e.g. <data threshold="salary_thresholds">, and by default the <data> tag does not reference this attribute.
    I hope the above information is helpful, and if you require any further explanation or assistance, just let me know.
    Regards,
    Hilary

  • IDOC (Source) to JDA data base(thru XML files)

    hi,
         Source structure is a IDOC. I have to pass IDOC data to Function module(Z function). it will return some hierarchy levels. (For example if it's generates 12 hierarchy levels), i have to pass each hierarchy level data to one XML file.
    According to my understand source is IDOC and target is some intermediate data type. In between i am calling user defined function. it will generates the hierarchy levels and i have to pass the hierarchy level data to intermediate data type.
    this logic is correct or not?
    if this is correct how to pass data from user defined function to intermediate data type.

    Windows app should work. Web app will  not. See
    [1218745 - Chart backgrounds are not transparent when report is viewed over the web |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Also below is copy of a reply to another forum thread I did on what I think is a similar issue:
    The limitation is specifically with viewing reports on the web. The trouble is that when you view a report in a web browser, we convert each graph on the report into a picture file, and display that picture in the HTML page. In this case, if you have one picture file on top of another, the top one will cover the bottom one. The only way to make it look transparent as it does in Crystal is to combine both charts into one picture. Unfortunately we don't have the ability to put two pictures into one file, that's simply one of our limitations. At this point the only work around is to export the report to PDF and view that instead.
    Ludek

  • Query to extract HTML tag with data

    Hi All,
    I have a string.
    '<HTML><HEAD>THIS IS HEAD.</HEAD><BODY>THIS IS BODY.<P>THIS IS P1.</P>NIMISH<P>THIS IS P2.</P></BODY></HTML>'
    I want to extract a html tag including its opening & closing tab with data as
    if i say P1
    then the output should be
    '<P>THIS IS P1.</P>'
    for P2
    then the output should be
    <P>THIS IS P2.</P>
    please help me in writing this query with regular expression
    i have tried it as following but it is not giving desired result:
    WITH T AS
    SELECT
        '<HTML><HEAD>THIS IS HEAD.</HEAD><BODY>THIS IS BODY.<P>THIS IS P1.</P>NIMISH<P>THIS IS P2.</P></BODY></HTML>' STR
    FROM   
        DUAL
    SELECT REGEXP_SUBSTR(STR, '<P>.+P2.+</P>') FROM T
    Thanks & Regards
    Nimish GargEdited by: Nimish Garg on May 7, 2012 5:49 PM

    Nimish Garg wrote:
    My requirement is to extract a <tag>data</tag> from a HTML/XML string
    where data contains any specified value.HTML is not XML.
    And that is a critical distinction to make. HTML parsing is horribly complex. XML is quite easy. For HTML you have to code your own parser in PL/SQL. XML can be parsed using the XMLTYPE class/data type in PL/SQL.
    So if you need to find a single specific tag in HTML - I would not try to treat it as XML. I may not even try to use regular expressions.
    I would do a basic substring search for the start of the tag. Read the data following the tag. Ensure that there are no nested or embedded tags in the data. Until the end tag is read. Because HTML is that much abused - and because that is an accepted norm as parsers used by browsers deals with that abuse without complaining.
    Proper HTML is mostly a myth in my experience of "screen scraping" web servers for data extraction as they do not have web services supplying the data.

Maybe you are looking for

  • Invoice Print out problem

    Hi Gurus, In my invoice there are 4 line items.only last two line items are taxable and in print out system has to display the text on  below four items.Currently its showing the text as " CA Tax-GST 5% of 7,800.00 CAD which is wrong, as its showing

  • Freight Charges

    hello Experts, There is a scenario that US client maintaining SAP R/3, and They have there Warehouse Geographically Located in Mexico which is a 3rd party and not maintaining SAP R/3, Now in Mexico Warehouse a clerk was sitting to take the Freight Ch

  • Can I set Safari to open a new window when I click on it in the dock?

    is there a way to set my safari to open a new window when i click on it in the dock i surf multiple websites at once and i dont like how i have to right clik and scroll up to pick open a new window. can i set it to just open a new window instead of o

  • Freezing/Startup issue

    I've been dealing with this all weekend and wasted my whole weekend I guess. Here's the story: It all started when I updated iTunes. Never had a problem before that. I wouldn't have even updated it because I'm usually paranoid about updates anyway fo

  • ESB SOAP Service invoke

    Hi, I would like to know how to invoke a ESB SOAP service from an external web service, which in turn need to interact with the Routing Service ? Thanks, OracleExpert