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>

Similar Messages

  • 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."

  • 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.

  • 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 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

  • Does Oracle XML Parser support double byte charset?

    Hi,
    Does Oracle XML Parser support double byte characters such as Korean or Chinese? If so, please tell me what version and how to construct xml/xsl files (...encoding="???")?
    Thanks for any help,
    Tuan

    Hi Raymond,
    Thank you for your help. It worked when I running in JDeveloper with your posted code. However, when I tried in my real application, it won't work.
    The problem is for localization purposes, my application using some texts display in browsers are saved in Unicode file. Later, application runs and depends on languages setting in browsers, with JavaServlet retrieves those texts and saves in formated xml StringBuffer. Then, using existed XSL Stylesheet file and OracleXMLParser to generate an output HTML.
    It has worked fine with English, France or others (single byte characters), but it can't
    for double bytes character such as Korean or Chinese. I also tried different charset in xml file.
    The following is one of returning errors:
    -- oracle.xml.parser.v2.XSLException: XSL-1004: Error while parsing input XML document (<Line 1, Column 552>: XML-0221: (Fatal Error) Invalid char in text.)
    I run this app in win2000/IIS with ServletExec3.0, JDK1.2.2 and OracleXMLParser v2.0.2.10
    Thank you for any helps,
    Tuan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Raymond Hayes Jr ([email protected]):
    Nothing fancy 'cause I'm half asleep but I used your xml/xsl and it seemed to work. No errors anyway. This is what I put together in JDeveloper 3.2
    package demo;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import oracle.xml.parser.v2.*;
    public class CuriosityKilledTheCat extends HttpServlet {
    * Initialize global variables
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    * Service the request
    public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    try
    XSLStylesheet xsl = new XSLStylesheet( new URL ("file:///c:\\temp\\input.xsl") , null );
    XSLProcessor xp = new XSLProcessor();
    XMLDocument xd = new XMLDocument ();
    XMLDocumentFragment xf = new XMLDocumentFragment();
    xf = xp.processXSL ( xsl , new URL ( "file:///c:\\temp\\input.xml") , null );
    System.out.println ( "here" );
    xd.appendChild( xf );
    xd.print ( response.getOutputStream() );
    catch ( Exception e )
    System.out.println ( e.getMessage() );
    * Get Servlet information
    * @return java.lang.String
    public String getServletInfo() {
    return "demo.CuriosityKilledTheCat Information";
    }<HR></BLOCKQUOTE>
    null

  • XML Publisher support for BI Beans

    Does XML publisher support all the BI Beans? I am interested in the gantt chart BI Bean and would like to know if it is supported. I know that there is support for all the different chart/graphs types from BI beans, gantt bean is not a graph type but a separate BI Bean.

    Hi Arone
    Missed your msg ...
    You can achieve this, you'll have to use some XSLFO code for now but XMLP will support it natively in a coming release.
    The height is fixed as long as you do not have too much data in which we will wrap the data and increase the height. We do not truncate data, which is what I think you are looking for. I have found a way to do this, the underlying XSLFO language of our templates has options to turn off wrapping and to hide overflow data. You can set these attributes in the cell and the text that will not fit into the cell will be hidden or truncated.
    Add the foollowing to a field in your template:
    <xsl:attribute xdofo:ctx="block" name="wrap-option">no-wrap</xsl:attribute> - this turns the wrapping off
    <xsl:attribute xdofo:ctx="block" name="overflow">hidden</xsl:attribute> - this hides the extra data, effectively truncating the data.
    Regards
    Tim

  • 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

  • PL/SQL DOM API (dbms_xmldom) -- XML-Schema support ?

    hello,
    I have a very large xml-schema, and al my data is in a relational database.
    I want to create a xml-document according the xml-schema, with a lot of data out of de relational database.
    I think I have to user this dbms_xmldom package, but is their a way to start with the schema. To Create the structure of the document ??
    I read in the oracle documentation that their is xml-schema support, but I can't find how I have to use this.
    Pieter

    pieter,
    I think you would want to use xmlview. A schema can be attached to the view definition, thereby creating a schema-based xmltype view.
    ie create view nameview of xmltype
    xmlschema "nameschema.xsd" ELEMENT "namehere"
    as
    select
    xmlelement ("....xmlforest(....(select xmlagg(xmlelement(....
    or something similar.
    see link for more information regarding xml views.
    http://www.vldb.org/conf/2003/papers/S30P02.pdf

  • Are Collections of POCOs as DataSources Supported ??

    Running the Standard Report Creation Wizard I select a POCO from under the .Net Objects node and Crystal then gives me
    the ADO.NET(XML) dialog wtih File Path, Class Name and Use DataSet from Class criteria. ???
    I want to go get a collection of POCOs and use that for a datasource rather than a Dataset object. Is this supported ?
    Thanks Doyle

    answered on another thread

  • 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

  • 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.

  • Does Oracle XML parser support scripts?

    I've tried using scripts in my XSL which I parse with Oracle XML parser v2. If the function does not exist, I get error. But if the function exists, I get nothing at all on the output! Not even simple function that only returns a string.
    I also have the same problems with <xsl:eval>.
    Thank you for reading this,
    David.

    We fully support the XSLT 1.0 Recommendation.
    <xsl:eval> and <xsl:script>
    are not features of the XSLT standard.

Maybe you are looking for