XML datasource in OBIEE

We are trying to setup a dashboard to show data from some webservice. The webservice returns data in xml format which does not meet the requirements of the obiee xml gateway component. So we created a cgi app that preprocesses the xml file returned by the webservice before import it into the physical model obiee. The cgi app looks like this http://someserver/test.cgi.
The cgi app returns the data in a html page which contains serveral xml islands (<XML id="123">...</XML>). The Admin Tool is able to import the physical layer schema from it and create one table for each xml island found in the result. It appears to me that we don't have control over the names of the table generated and they are default to the name of the cgi page plus some index number, in this case, the tables names are "test_0", "test_1", etc. Any change to the table name will cause the presentation layer widget to report errors like "couldn't find table <sometablename> in http://someserver/test.cgi loaded".
We can settle with default table name generated. But we need to be able to pass some parameters to the cgi app to generated data dynamically which obiee seems to have problem. Whenever we use a url like "http://someserver/test.cgi?target=data" to import the schema (the data returned by this url is exactly the same as the previous url without the target param), the Admin Tool will report something like "Some objects are not imported because of Invalid names".
I saw from the obiee documentation that the xml gateway adapter supports dynamic xml/html generated from a url which can have parameters containing even session or repository variables. But I even couldn't get it to work with a constant parameter. Can someone tell me what I have been doing wrong? Or pointing me to some examples that take dynamically generated xml data as data source?
BTW, we have obiee server running on a linux rehl5 server and we use the admin tool from a windows machine to manage all the metadata.
Thanks.

You can't use XML data sources for Init Blocks, it's not supported. I wish it was because I had a need for this the other day.
Paul

Similar Messages

  • MarkLogic Server as a datasource in OBIEE

    Does anyone know if its possible to connect MarkLogic as an XML datasource into OBIEE?
    I've looked on both the Oracle and MarkLogic sites, and searched the net, but their doesn't seem to be an awful lot of info.

    hi,
    i suppose you are new in oracle bi...
    you omly have to drag and drop your star schema in the presentation area in the administrator at the left.
    you hava 3 sections.
    physical,there you imported your tables from sql server.(right one)
    bussiness,there you drag and drop the desired tables from the physical and you make your star schema(middle)
    presentation,there you drag and drop the desired tables you want to be appeared to the user in the reports from the bussiness.(left)
    hope i helped...
    http://greekoraclebi.blogspot.com/

  • SSRS Designer - XML Datasource - Parameter passing XML gets encoded, causes error on WS Request

    Hello,
    I am attempting to query a List from SharePoint using the XML Datasource. I am forced to use this datasource as our infrastructure team will not be upgrading our SSRS 2008 farm to SSRS 2008 R2 anytime soon. 2008 R2 has Native SharePoint
    List Datasources ( which works great FYI ). I already completed the report using the Native SP List DS, only to find out that my timing was not so great as 2008 R2 was not in production yet... /sigh, communication... anyways...
    I have successfully queried the List using the XML Datasource. It is only when I try to use the CAML query in the query parameter that it fails. So, here is my Query:
    <Query>
    <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
    <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems">
    <Parameters>
    <Parameter Name="listName">
    <DefaultValue>{DD3DE881-1F9D-4016-AD73-F7E1D9340880}</DefaultValue>
    </Parameter>
    <Parameter Name="query">
    <DefaultValue>
    <Query>
    <Where>
    <Gt>
    <FieldRef Name="Modified" />
    <Value Type="DateTime">2011-03-01</Value>
    </Gt>
    </Where>
    </Query>
    </DefaultValue>
    </Parameter>
    </Parameters>
    </Method>
    <ElementPath IgnoreNamespaces="True">*</ElementPath>
    </Query>
    I will be replacing that hard date with something like =DateAdd("d",-7,Now()) later, but focusing on the task at hand...
    Here is the error ( trimmed so you don't need to read the whole stack ):
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.</faultstring>
    <detail>
    <errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">Element &lt;Query&gt; of parameter query is missing or invalid.</errorstring>
    <errorcode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x82000000</errorcode>
    </detail>
    </soap:Fault>
    </soap:Body>
    The key to that error is:  Element &lt;Query&gt; of parameter query is missing or invalid.
    So I see that it is being encoded, so I decided to capture the actual Webservice request with Fiddler:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
    <query>
    &lt;Query&gt;
    &lt;Where&gt;
    &lt;Gt&gt;
    &lt;FieldRef Name="Modified" /&gt;
    &lt;Value Type="DateTime"&gt;2011-03-01&lt;/Value&gt;
    &lt;/Gt&gt;
    &lt;/Where&gt;
    &lt;/Query&gt;
    </query>
    <listName>{DD3DE881-1F9D-4016-AD73-F7E1D9340880}</listName>
    </GetListItems>
    </soap:Body>
    </soap:Envelope>
    So now that we know that somehow the XML parameter of "query" is being encoded. How do I tell the SSRS designer that for this XML datasource's dataset query, I do not wish to encode that parameter?  I have searched all day today and came up with
    very little. I found a few posts with a simliar question, but no solution was ever mentioned.
    The closest to a likely solution was this Post :
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/8a9ba2fc-26cd-423e-bbbf-a16b5c9722f5/
    in particular this phrase interested me:
    "Query parameters of type Msxml2.DOMDocument30 are passed as XML. Parameters of type String which happen to contain XML are passed as strings and are XML encoded in the SOAP message. The function CXml(String) converts a string
    into an Msxml2.DOMDocument30 and can be used in query parameter expressions."
    Similar to the poster of that question, I also cannot find a way to define the parameter as an XML type or the use of this mysterious CXML() function in the expression builder...
    I'm looking for a Microsoft resource to tell me whats going on here, but if anyone else has a workaround or an idea, I would be happy to try it out.
    Regards,
    -Ryan, Solution Architect

    Hi Ryan,
    Thanks for your question, from your statement, it seems that you want to give a default value for the parameter named query, right? If so I would recommend you achieve this requirement in report level, please follow these:
    1. Create a parameter named Date, select Date/Time as data type.
    2. Move to Default values tab, then click Add button ->type in  =DateAdd("d",-7,Now())  as defult value's expression.
    3. Right-cilck the dataset, and then select DataSet properties.
    4. Move to Filters tab, click add button to add a filter.
    5. In the drop-down list of Expression, select Modified datefield with Date/Time datatype.
    6. Type in =Parameters!Date.Value in value's textbox.
    Similar thread, please get a reference from this
    http://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/24d30b00-139e-4487-9fb1-02f460b432f9
    If you have any question, please feel free to ask.
    Thanks,
    Challen Fu 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How to retrieve data from xml file into obiee reports

    Hi all,
    I've got a situation here. A xml file is stored as blob in oracle database table. Now i need to retrieve data/info from that xml file into obiee reports. How am i supposed to proceed with this ?

    I will go for a table function:
    http://gerardnico.com/wiki/database/oracle/table_function
    In two words, you can create a function that behave as a table. Then you create a function to pick up your xml, you parse it and you send back the rows.
    I know that Oracle has also a library for XML files but I never use it until now.
    Success
    Nico

  • Error in jbosscmp-jdbc.xml : datasource-mapping Pointbase not found

    Hi I'm having problems deploying my EJBs using the Pointbase Database.
    This is what I'm working with:
    standardjbosscmp-jdbc.xml:
    <jbosscmp-jdbc>
       <defaults>
          <datasource>java:/PointbaseDS</datasource>
          <datasource-mapping>Pointbase</datasource-mapping>pointbase-ds.xml:
    <datasources>
         <local-tx-datasource>
              <jndi-name>PointbaseDS</jndi-name>
    <connection-url>jdbc:pointbase:server://localhost:19092/sample</connection-url>
              <driver-class>com.pointbase.jdbc.jdbcUniversalDriver</driver-class>
              <user-name>jboss</user-name>
              <password>password</password>
         </local-tx-datasource>
    </datasources>jbosscmp-jdbc.xml:
    <jbosscmp-jdbc>
         <defaults>
              <datasource>java:/PointbaseDS</datasource>
              <datasource-mapping>Pointbase</datasource-mapping>
         </defaults>I keep getting the error message:
    org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping Pointbase not found
    Any ideas why?
    Thanks.

    By the way I'm using JBoss server.

  • XML DataSource delivers no mare data after upgrade from 7.01 to 7.31

    Dear all,
    we have an XML DataSource (BW DataSource with SOAP Connection) that worked fine till our upgrade from BW 7.01 to 7.31.
    Now the delta infopackage is (still) succesfull but doesn't deliver any data.
    In our XI system there is this error:
    28.05.2014 08:01:05.399
    Information
    SOAP: call completed
    28.05.2014 08:01:05.400
    Information
    The message was successfully retrieved from the send queue.
    28.05.2014 08:01:05.402
    Information
    Executing request mapping "http://XXXXXXX/kam03/kampagne/reporting/visitorhistory/pi/CampaignVHOB2BWCampaignVHIB" (SWCV a2b526801e5111e0858eea100a375191)
    28.05.2014 08:01:05.402
    Information
    The message status was set to DLNG.
    28.05.2014 08:01:06.092
    Information
    Delivering to channel: SOAP_XI_RCV
    28.05.2014 08:01:06.092
    Information
    MP: entering1
    28.05.2014 08:01:06.092
    Information
    MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    28.05.2014 08:01:06.092
    Information
    SOAP: request message entering the adapter with user J2EE_GUEST
    28.05.2014 08:01:06.470
    Fehler
    SOAP: call failed: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageHeader.getMessageId() of an object loaded from local variable messageHeader
    28.05.2014 08:01:06.472
    Fehler
    Adapter Framework caught exception: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageHeader.getMessageId() of an object loaded from local variable 'messageHeader'
    28.05.2014 08:01:06.472
    Fehler
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageHeader.getMessageId() of an object loaded from local variable 'messageHeader'
    28.05.2014 08:01:06.472
    Fehler
    SOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageHeader.getMessageId() of an object loaded from local variable messageHeader
    28.05.2014 08:01:06.472
    Information
    SOAP: sending a delivery error ack ...
    28.05.2014 08:01:06.472
    Information
    SOAP: sent a delivery error ack
    28.05.2014 08:01:06.476
    Fehler
    Transmitting the message to endpoint <local> using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageHeader.getMessageId() of an object loaded from local variable 'messageHeader'.
    28.05.2014 08:01:06.493
    Information
    The asynchronous message was successfully scheduled to be delivered at Wed May 28 08:06:06 CEST 2014.
    28.05.2014 08:01:06.493
    Information
    The message status was set to WAIT.
    28.05.2014 08:06:06.482
    Information
    The message status was set to TBDL.
    28.05.2014 08:06:06.783
    Information
    The message was successfully retrieved from the send queue.
    28.05.2014 08:06:06.783
    Information
    Retrying to send message. Retry: 1
    Does anybody have a clue and know what's wrong?
    Thanks in advance.
    Best regards,
    Nicole

    Hi Nicole,
    First of all I am afraid that I am not an expert in this area. My impression is that the HTTP destination type is created on the receiver side (i.e. BW). If that is the case, then I think t/code SM59 is the right place where you can also create other connection types than ABAP (please refer to paragraph 4.1 of the document which was mentioned in the other discussion).
    However, I suggest to involve a basis/system administrator and if possible also an XI consultant to come to a solution. My gut feeling says that it's a connection problem which has to be solved in either the BW system, XI system or in both systems.
    Best regards,
    Sander

  • How to render XML data in OBIEE

    Hi
    I have requirement where XML data need to be rendered and parsed in OBIEE reports.I need some help regarding the below questions
    1)How can we call the XML data in OBIEE and can we parse XML file in Text or Table formats
    2)Another requirement is we need to compare two XML file(May be Stored in @ columns) and then display the Message as 'Difference' or 'NO Difference'.
    Thanks in Advance

    hi
    i m having same problem.
    we cant pass XML in Answers but i think (not sure) we can pass in publisher..
    thanks

  • Developer's need to know things: Essbase as datasource for OBIEE

    I am in a project where Essbase is the datasource. I know nothing about Essbase but I an experienced OBIEE prof. Can anyone tell me the things I need to know about integrating Essbase with OBIEE, using Essbase cubes in obiee. I looking for some basic fundamentals of Essbase so I could successfully use Essbase cubes with OBIEE.
    I find lot of materials online but not sure what I need to know for using Essbase as datasource for OBIEE. Any insight / links would be of lot of help. Thanks a million

    Glenn, Thanks for your reply. Yes I follow his blog and venkat's blog about Essbase and OBIEE. I am looking for a comprehensive information on what I need to know to work with Essbase Cubes in OBIEE. Please let me know if there is anyother resource you can point me to.

  • XML data in obiee 10g/11g

    Hi all,
    how to view the data in XML datasource from Admin tool. I think it is not possible. for database tables we can view by right click on the table and view data.. But it is not working for XML data.. Is there any work arounds for that.. .thanks in advance...

    No, you can't. No workarnd.

  • Dynamic xml datasource

    Post Author: ililal
    CA Forum: Data Connectivity and SQL
    This is a java web application  using:jdk 1.4.12crystal reports xi r2sun application server  8.2Here's the problem:I would like to generate a dynamic XML document as the datasource. (This XML datasource is a result set from a query.  I've completed and tested the XML file; it works.) Using this new XML datasource as the driver for the Crystal Report, my reports should display in a web environment.BTW, I created the Crystal Report rpt file by first selecting XML.  Created a second report with the Database  files option.  They both worked with in the Crystal report view section; however, they didn't work in the application.this is the error:com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: No database connector has been specified.---- Error code :-2147467259 Error code name:failedI've searched the net with no luck.Hereu2019s my source code:ReportClientDocument reportClientDoc = new ReportClientDocument();reportClientDoc.open("Report1.rpt", 0);             IXMLDataSet xmlDS = new XMLDataSet(new ByteArray(bytesFromFile(XMLFileLocation)), new ByteArray(bytesFromFile(XMLFileLocation)));// Change the XML datasource to the new XML datasource reportClientDoc.getDatabaseController().setDataSource(xmlDS, "", "");

    Post Author: ililal
    CA Forum: Data Connectivity and SQL
    I spoke directly with Business Objects. They said,"Sun Application Server 8.2 is not supported."

  • How to filter XML Datasource bound to Dropdown list?

    Dear All,
    I quiet new to LiveCycle designer ES from past couple of weeks I am working on this.
    Right Now I have issue with filering XML Datasource bound with dropdown list.
    I have XML file which has the data to the States and City. I have bound one of my dropdown list to State. My requirement is once I select the 'State' the corresponding City Names has to be listed in the second dropdown list.
    I searched in the net and got couple of samples on that. But I failed to make my form work as requirement. Even though I have generated the XML file as given structure in the examples.
    Please check the attached xml file which I have created.
    I have struckup right now. So, help me this.
    Very much thanks in advance.
    Regards,
    Sree Harshavardhana.

    Dear BR,
    Thanks for the quick reply and most useful example. I'll try to apply the same in to my form and look in to it.
    But, I would like to know is what was the corrections you have made in the javascript. I am not wrong the code which you have written in the example pdf the same I had written, but it did not work for me! Please check the code below which I had written.
    StatesAndCities.#subform[0].StateName::change - (JavaScript, client)
    var stateDataNode = xfa.resolveNode("StatesAndCities.States.(StateID.value == " + this.boundItem(xfa.event.change) + ")");
    CityName.clearItems();
    for (var i=0; i<stateDataNode.City.all.length; i++)
        xfa.host.messageBox(stateDataNode.Cities.all.item(i).Code.value);
        CityName.addItem(staffDataNode.City.all.item(i).Code.value);
    I'll look forward by highlighting my mistakes, so that I can go by my own.
    Regards,
    Sree Harshavardhana.

  • XML Datasource

    Hello:
    I am trying to change a datasource at runtime using java.  The datasource is an XML file located on the local machine.  The original and new XML datasource are the same format from a tag perspective.
    I convert the XML file and pass it to the setDatasource() method of the dbcontroller.
    The following exception is then thrown:
    Exception caught: com.crystaldecisions.sdk.occa.report.lib.ReportSDKLogonException: Logon failed.
    Error in File C:\WINDOWS\TEMP\TRW_Test {6BA2425C-D38F-43BA-B394-0382CA1AF83F}.rpt:
    Unable to connect: incorrect log on parameters.---- Error code:-2147217393 Error code name:dbLogonFailed
    It appears the RAS is trying to logon to this temporary report or datasource.  I'm not sure.
    What do I need to do to get around this?
    I'm assuming I need to logon into something.
    Many thanks
    TRW

    Hi Praveen,
               I found this following procedure in the sap library. They r also said that 'Choose Delta Process Initialization mode on the Update tab page and select Initialization without Data Transfer'
              Thatz why I asked..I am confused now...please help.
    Procedure
    To activate data transfer to the delta queue, create an InfoPackage for your XML DataSource in order to initialize without a data request.
           1.      In the Modeling InfoSource tree of the Administrator Workbench , choose InfoSources ®Your Application Component ® Your InfoSource for Requesting XML Data ® myself BW System ® Create InfoPackage
           2.      Enter a description for your InfoPackage in the following dialog box. Select the XML DataSource and confirm your entries.
           3.      Edit the tab pages for the InfoPackage. Choose Delta Process Initialization mode on the Update tab page and select Initialization without Data Transfer.
           4.      Schedule the InfoPackage.
    Regards,
    Vithul

  • XML Datasource Supported?

    I was wondering if Crystal Reports for Eclipse supports an XML Datasource?  If so how do you use it?

    <p>This is really a yes and no answer (much like the Stored Procedures and JDBC-ODBC questions I have been getting on the forum). Our full blown Crystal Reports Designer does support connecting to and designing reports off of XML and Web Service data sources. Our Java engine also supports reporting off of these data sources, which means you will have no problem editing or previewing an existing report that has the XML data source already added. The problem with CR4E specifically lies around the connection wizards we supply with the product. We did not want to "re-invent the wheel" when it came to defining how users will connect to data sources. Instead we used the existing Eclipse view which Developers are already using to handle their data source needs. Unfortunately, the Database Explorer does not currently provide all of the data source options our designer supports so we are forced to have a parity gap between what the engine can support at runtime and what the user is able to design against. Potentially, the possibility exists for a user to write their own data source connection wizard and create a drop-handler for the CR4E designer which may eliminate some of these issues. However, I have to look into this option a little more. I think there may be a way to write a simple class to add the XML file at runtime. Once the file has been added the report could be saved and opened in the editor. The key point that is missing today is that there is no UI available in CR4E to connect to XML. Once the XML data source gets in the report we should have no problem editing it. Anyway, let me look into this and get back to you on some possible work-arounds. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

  • One datagrid, numerous (xml) datasources

    i have a prospective application with the following setup:
    one datagrid, with numerous buttons elsewhere in the
    application
    desired procedure:
    upon clicking one of the buttons -
    the datagrid is unloaded of any datasource previously loaded
    (is this necessary?);
    the datagrid is populated with a specific, different xml
    datasource (xml file) assigned to a specific button(while showing
    busyCursor, and upon completion of data load, normal cursor is
    returned).
    any help would be appreciated.

    This article sounds like what you are doing:
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=4041&produ ctId=2&loc=en_US

  • Populating the tree based on the XML datasource

    We have a XML document that contains the required information regarding tree hierarchy.
    We would like to use this XML document as a datasource for the ADF tree/treeTable component.
    Can you please provide pointers for achieveing the same?
    Thanks in Advance,
    Navaneeth

    Two options are the URL Data Control: http://www.oracle.com/technetwork/developer-tools/jdev/urldatacontrol-099677.html
    or using JAXB with TopLink/EclipseLink to create Java objects that map to the XML and then exposing those as data controls.

Maybe you are looking for