Perform XSLT on XML as data source?
Crystal Reports 2008 (12.0.0.549) can use XSLT when exporting an XML document.
Can the XML driver, however, be configured to perform a XSLT on an XML document that will result in a document that will be used as a data source?
When I attempted to do so, I got an error--I was using an XSL document as the data source.
Jamie-
Thanks for the response.
I'm trying to represent my résumé in XML format, then use Crystal Reports to generate a formatted, PDF document: craibuc/crystal-xmlresume · GitHub
I'm hoping to avoid too much pre-processing, hence the desire to keep the data source in XML. As such, exporting to CSV isn't an option.
If this isn't possible, it would be a nice enhancement to the XML driver.
Similar Messages
-
Help - Set XML /XSD data source at runtime(VC2003)
The VC 2003 app loads a CR 2008 report without any issue.
The CR report has an XML/XSD data source ,The spec has now changed to set XML/XSD data source at runtime.
Anyone have any information /examples on changing a CR report XML data source at runt time in VC IDE. I can not update the app to .Net or port to JAVA ,only stuck with VC 2003.
Thank you in advance.
In VC IDE, is there away to set a crystal reports data source as an xml File without to import the xml into a dataset?
Edited by: Tang Pat on Jan 12, 2009 6:45 AMduplicate - please do not post multiple times
-
Multiple XML HTTP Data sources sequentially
Hi,
We are creating a report using multiple XML HTTP Data sources sequentially.
The Report uses multiple XML HTTP Data sources sequentially; the report creation fails or delayed. We would like to join the datasources after accessing from the HTTP Server.
At the same time the same XML files when locally accessing as data sources, the report is getting created.
Is there any alternate solution for XML HTTP Data Source Access. Or in which way I can proceed with this.
Thanks,
UnniI am not able to use datasets here.
The context is as below.
I am running an HTTP server (XML-RPC program),which will generate an XML output as defined with a local XML Schema.
Here I have multiple HTTP requests ,each will generate multiple XML outputs.
I am using XML and WebServices Connection where I will provide like below,
(Please note file1,file2 are normal text files with data corresponds to xsds.)
HTTP(s) XML URL : http://localhost:8002/ReadTable?name=file1
Local Schema File : E:\Test\file1.xsd
HTTP(s) XML URL : http://localhost:8002/ReadTable?name=file2
Local Schema File : E:\Test\file2.xsd
Like this I am able to create multiple XML outputs through HTTP requests.(only file1),which means while creating reports the sequential requests are not handling properly.
My report will join say two of theese files. But at the time of report creation it will ask of only runtime parameter of first request in the join.
Here The report will generate only with data from first text(data) file.(file1)
Hope you got a clarity about the proble. -
Factory-class in data-sources.xml managed-data-source
OracleAS_1\j2ee\home\config has
data-sources.xml
Using managed-data-source.
For connection-pool, connection-factory factory-class If I use OracleDriver instead of OracleDataSource, what difference would it have? In terms of performance?
Thanks.Oops, a case issue...
class="oracle.jdbc.pool.Oracle[b]OCIConnectionPool" -
Xml as data source in Data Model
Hi All,
For testing, I am using sales.xml as a data source for creating the Data Model. There is a region field which I want to filter using the parameter. I have created the parameter, I am not able to use this parameter to filter the xml values. Is there a way to filter the xml output according to the parameter in BI publisher 11g while creating the data model
Thanks,
Virat
Edited by: 929521 on Oct 16, 2012 2:13 PMcan u please share the resolution
-
HI, experts !!
I have imported XML ("c:\xml_source.xml") as the data source.
however, I found some data are wrong in the xml_source.xml file.
then I edited the xml directly.
But I found that the data keeps previous values on the dashboard.
then I created a new xml file ("c:\xml_source_2.xml"). and change the xml url of the phyiscal table.
but on the dashboard, it shows this error.
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 64002] The table ?????????? is not found in file C:\xml_source_2.xml loaded. (HY000)
SQL Issued: SELECT ???? saw_0, ????? saw_1 FROM ???? ORDER BY saw_0, saw_1Hi Forreging,
can you please let me know how you fixed it. I have the same problem at the moment and I cannot find a way to fix it.
Please come back with an answer.
Thanks a lot! -
How to create an XQuery for an XML type data source
Hi,
1.I have data contained in an XML format.
Hence I have created a physical data source for XML type data.
2.I have created a logical view to broker data from several disparate physical data sources.I have called this as UnifiedView.
3.I have created a function called getUnifiedView() to obtain data from all the physical sources
4.Upto this point, I have not faced any problems.
5.However when i try writing a simple XQuery for the physical XML datasource such as
$Sh-data/PublicIdentifiers/MSISDN="1234567"
I get result as (For example):
<HSS>
<MSISDN> 1234567 111111 222222 </MSISDN>
</HSS>
Could you please help me getting the where clause output?
I have attached the schema and XML files used for further information.
Regards
VidyaHi mReiche,
I later on resolved the previously mentioned error and try out the XQuery as suggested by you.
for $MSISDN in ns0:Sh-data()/PublicIdentifiers/MSISDN
where $MSISDN="1234567"
return
<HSS>
<MSISDN>{data($MSISDN)}</MSISDN>
</HSS>
It works! Thanks.
Now i am trying to retrieve data from 2 XML documents and an LDAP query.
I have the following data sources:
1.LDAP queried by Java Function
2.HSS xml
3.Presence xml
I want to match the telephoneNumber of the LDAP with MSISDN in the HSS.xml.
Next i want to match the SIP_URI in the HSS.xml with Contact of the Presence.xml
Given below is the XQuery which i have written to achieve the above:
for $x0 in ns5:FindDN($str_mailId)
for $Sh-Data in ns2:Sh-Data()
where $x0 = $Sh-Data/PublicIdentifiers/MSISDN
for $presence in ns3:presence()
where $Sh-Data/Sh-IMS-Data/SCSCFName = $presence/ns4:tuple/ns4:contact
return
On executing this XQuery i am getting the following error:
java.lang.NullPointerException: null
at weblogic.xml.query.types.XQueryAtomicType.commonSuperTypeOf(XQueryAtomicType.java:150)
at weblogic.xml.query.types.XQueryType.comparisonTypeOf(XQueryType.java:324)
at weblogic.xml.query.runtime.compare.GeneralAtomicComparison.compare(GeneralAtomicComparison.java:50)
at weblogic.xml.query.runtime.compare.ComparisonIterator.fetchNext(ComparisonIterator.java:50)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
at weblogic.xml.query.runtime.logic.BoolEffValue.exec(BoolEffValue.java:51)
at weblogic.xml.query.runtime.logic.BoolEffValue.fetchNext(BoolEffValue.java:47)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
at weblogic.xml.query.runtime.core.IfThenElse.fetchNext(IfThenElse.java:79)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
at weblogic.xml.query.runtime.core.CountMapIterator.fetchNext(CountMapIterator.java:162)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
at weblogic.xml.query.runtime.core.CountMapIterator.fetchNext(CountMapIterator.java:162)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
at weblogic.xml.query.runtime.sequences.Exists.fetchNext(Exists.java:40)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
at weblogic.xml.query.runtime.core.IfThenElse.fetchNext(IfThenElse.java:79)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
at weblogic.xml.query.runtime.core.LetIterator.fetchNext(LetIterator.java:133)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
at weblogic.xml.query.runtime.core.LetIterator.fetchNext(LetIterator.java:133)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:151)
at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:161)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
at weblogic.xml.query.runtime.core.QueryIterator.fetchNext(QueryIterator.java:127)
at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
at weblogic.xml.query.xdbc.util.Serializer.serializeItems(Serializer.java:142)
at com.bea.ld.server.QueryInvocation.getResult(QueryInvocation.java:461)
at com.bea.ld.EJBRequestHandler.executeFunction(EJBRequestHandler.java:346)
at com.bea.ld.ServerBean.executeFunction(ServerBean.java:108)
Please find attached the XML documents which i am using.
Could you pls let me know how to resolve this. -
Accessing local XML as data source
Are there any instruction on how to do this. the Xcelsius 2008 user guide shows instructions for server side where a script is required. I can't imagine that this would be required for a local XML file.
thanksMartin, here is a short walkthrough I wrote:
<br>Basic Workflow
1. Enter the file path in the "XML Data URL" field (e.g. c:\documents and settings\user\desktop\xmlfile.xml)
2. Click "Enable Load"
3. Click the plus button for as many ranges as you want
3.a. Each range name must correspond to a matching variable name in the XML file (so if you name Range_0 to "Test", there must be a variable named "Test" in xmlfile.xml)
4. Bind the ranges to ranges of cells (e.g. A1 through A10)
5. In the XML file referenced in Step 1, make sure there are data values to be read
6. Set the Usage tab's refresh options or use a Connection Refresh button
7. Run the model and verify that the data loads from the XML file into the cell bindings
<br>The data that is read from the XML file into the Excel cells will be used as if it was entered manually into the embedded Excel sheets. It can be used by reference in other Excel cell formulas, by components, and in any other fashion that cell data can be used in Xcelsius 2008.
Here is the basic format required of the XML file:
<data>
<variable name="Test">
<row><column>1</column><column>2</column></row>
<row><column>10</column></row>
</variable>
</data>
<br>If the file contains 1 variable (the range) with 5 row tags, each row tag with 1 column tag and 1 data value, the data will be read into Xcelsius as...
A1 = 10
A2 = 2
A3 = 13
A4 = 4
A5 = 5
The range can be bound to any column; A1:A5 was selected arbitrarily for demonstration.
Note that the range will not conform to the Xcelsius binding. That is, if the XML file defines 5 rows with 1 column, that corresponds to a vertical listing of 5 cells; so, if you bind the XMLData connection range to 1 row and 5 columns, you will only see 1 data value. -
XML Data Source using SSRS intgrated in ShaPoint
I am trying to use an XML soap data source in my report and use the report in my SharePoint site but I get the following error: (SharePoint integration is configured as trusted site) we changed it to windows authentication but get errors on all reports.
(error below when using windows security)
An
error has occurred during report processing. (rsProcessingAborted)
Cannot
impersonate user for data source 'dsSkillsMatrix'.
(rsErrorImpersonatingUser)
This
data source is configured to use Windows integrated security. Windows integrated
security is either disabled for this report server or your report server is
using Trusted Account mode. (rsWindowsIntegratedSecurityDisabled
(error below when using no credentials) I also have unattended execution account set as well but it still asks me for credentials when running the report.
An
error has occurred during report processing. (rsProcessingAborted)
The
data extension supports Windows Integrated Security and No Credentials
(anonymous request) only. (rsXmlDataProviderError
im not sure why it tells me this im using the No credendtials option here.
I read this but I did everything they said and I still have the errors above
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/acc247b4-3257-47da-9531-fdad5bebcbd4/web-service-as-dadatource-with-basic-authentication?forum=sqlreportingservicesHi Pablo
Thats a tough one ... if you go custom with a data template you will at least get support on the data template functionality ie you have a problem when you try and build one. You will not get support on the query inside the data template as you might have gotten with the Oracle Report, well you could at least log a bug against development for a bad query.
Eventually that Oracle Report will be converted by development anyway, theres an R12 project going on right now to switch the shipped OReports to data templates. AT this point you'll be fully supported again but:
1. You have to have R12 and
2. You'll need to wait for the patch
On reflection, if you are confident enough in the query then Oracle will support you on its implementation within a data template. Going forward you may be able to swap out your DT and out in the Oracle one without too much effort.
Regards, Tim -
Loading Matrix using XML Data Source
Hi Experts,
I'm working on an addon where i need to fill up matrix with a set of data,
i'm doing that using 'for loop'. my question is can v fill matrix using XML File i.e, using XML as Data Source.
Thanks in Advance
JaideepHi Jaideep !!!!
here is the sample code which could help u n solve ur problem.
if u got ny problem then please tell me ....
Public Sub CreateLoad()
Try
''' Load form
Dim xml As Xml.XmlDocument
xml = New Xml.XmlDocument
xml.Load("C:\Temp\update data to the base table\Allowance\Abacus.srf")
SBO_Application1.LoadBatchActions(xml.InnerXml)
Catch ex As Exception
SBO_Application1.MessageBox(ex.Message)
End Try
AddDataSourcetoform()
BindataSource()
GetDatafromDB()
End Sub
Public Sub AddDataSourcetoform()
Try
oForm = SBO_Application1.Forms.Item("Allowance")
DBtable = oForm.DataSources.DataTables.Add("Supplier")
SQL = "SELECT [@Supplier].* FROM [@Supplier] ORDER BY Cast( [@Supplier].Code AS INT)"
DBtable.ExecuteQuery(SQL)
'oDBDataSource = oForm.DataSources.DBDataSources.Item("@Supplier")
Catch ex As Exception
SBO_Application1.MessageBox(ex.Message)
'System.Windows.Forms.MessageBox.Show("Not Added Data Source to the Form")
End Try
End Sub
Private Sub BindataSource()
Try
oForm = SBO_Application1.Forms.Item("Allowance")
MatrixBind()
Catch ex As Exception
SBO_Application1.MessageBox(ex.Message)
End Try
End Sub
Private Sub MatrixBind()
Try
'Dim txt As SAPbouiCOM.EditText
o_Matrix = oForm.Items.Item("MatAllow").Specific
oColumns = o_Matrix.Columns
oColumn = oColumns.Item("ColCode")
oColumn.DataBind.Bind("Supplier", "Code")
oColumn = oColumns.Item("ColName")
oColumn.DataBind.Bind("Supplier", "Name")
Catch ex As Exception
SBO_Application1.MessageBox(ex.Message)
End Try
End Sub
Public Sub GetDatafromDB()
Try
oForm = SBO_Application1.Forms.Item("Allowance")
o_Matrix = oForm.Items.Item("MatAllow").Specific
Dim Code As String = 1
o_Matrix.Clear()
o_Matrix.LoadFromDataSource()
Catch ex As Exception
SBO_Application1.MessageBox(ex.Message)
End Try
End Sub -
Data Source Disappearing randomly
Hi,
I am having a peculiar problem with Creator. Please go through steps
Step 1: Created a datasource with following attributes
<dataSources majVer="1" minVer="0">
<dataSource name="sardb"
driverClassName="com.sun.sql.jdbc.oracle.OracleDriver"
url="jdbc:sun:oracle://localhost:1521;SID=XE"
validationQuery="select * from SARDB.TEST_TABLE"
username="sardb"
password="7AA120080B5C8900"
/>
</dataSources>
data source is added successfully and able to view data
Step 2: Included this datasource into my project
Step 3: Build and Run. Problem is some times (randomly*)* Build-Run is failing with following server log
INFORMATIONAL *********** Exception occurred ************ at 1:10 PM on May 28, 2008
An error occured while trying to copy the needed DB driver jar files.
[catch] at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:139)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
INFORMATIONAL *********** Exception occurred ************ at 1:10 PM on May 28, 2008
An error occured while trying to copy the needed DB driver jar files.
[catch] at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:139)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
I am able to see the data source in server window... but not able to view data
when i see in XML file .Creator\2_1\context.xml, this data source is present in that file
Main concern is this random behaviour and cant predict when this datasource will disappear
My first question will be
"Is my application code responsible for this random behaviour?"
Its a very simple data access application.
Please help me through this. Thanks in advanceHi!
From error log You can see that problem is that for some reason necessary DB drivers can't be copied to the server's directory with libraries ("An error occured while trying to copy the needed DB driver jar files.") and therefore You have this problem. The reason can be write permission or something else, but not your application code.
Thanks,
Roman. -
Creation of data sources by Ant
Hi all
Please help me..
when i create data source by ant(copying data-sources.xml already stored in my hard disk with all valid entries.)and then deploy my EAR file and get the following error:
10g-deploy:
[exec] ADMN-300075
[exec] Nested exception
[exec] Resolution:
[exec] Base Exception:
[exec] javax.naming.NamingException
[exec] Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
[exec] javax.naming.AuthenticationException: RMIConnection Disconnected
[exec] javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
[exec] javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected]
[exec] at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
[exec] at oracle.ias.sysmgmt.utility.Oc4jUtil.getOC4JApplicationServerAdministrator(Unknown Source)
[exec] at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.getOC4JApplicationServerAdministrator(Unknown Source)
[exec] at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingleInstance(Unknown Source)
[exec] at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(Unknown Source)
[exec] at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(Unknown Source)
[exec] at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvaluateDeploy(Unknown Source)
[exec] at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate(Unknown Source)
[exec] at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
[exec] at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
[exec] at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
[exec] at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
[exec] Caused by: javax.naming.AuthenticationException: RMIConnection Disconnected
[exec] at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2523)
[exec] at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2339)
[exec] at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1781)
[exec] at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:721)
[exec] at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
[exec] ... 11 more
BUILD SUCCESSFUL
Total time: 4 minutes 58 seconds
But when i crete data source using Oracle enterprise manager,I m able to deploy my EAR file successfully.
Can nebody please tell me how can i create data source manually by ant script ant then deploy my appln. successfully
The entries done by me in data-sources.xml are:
<data-source class="com.evermind.sql.orionCMTDataSource" location="jdbc/los" connection-driver="oracle.jdbc.driver.OracleDriver" username="dbprod_test" password="dbprod_test" url="jdbc:oracle:thin:@//10.0.52.160:1521/orcl" name="jdbc/los"><description>LOSDB</description></data-source
Thanks in advance..user534925,
Do you want to create a global datasource or one for a specific J2EE application?
For a global datasource, you can use the "admin.jar" file.
Type the following command for more details:
java -jar admin.jar -helpOne of the options is "-installDataSource".
You should be able to launch "admin.jar" from an "ant" script (I think -- I don't use "ant").
Sorry, I don't remember how to set up a datasource for a specific application.
(And I'm too lazy to search for it for you, now :-)
Good Luck,
Avi. -
Use XML as data input for Crystal Report for Eclipse
Hi,
I am completely new to crystal report and please kindly forgive me if I ask some stupid questions.
Actually, I have searched the forum for the topic and found some related threads, but I still want to
have some responses from crystal report experts on this issue.
Our developer tool is IBM RAD 7.0 and it has crystal reports tools installed in it. I want to use
crystal report to solve one of our business solutions. I have the following questions about the
feasbility of this solution:
(1). I need to specify data at runtime during report generation. I think using fixed data source
(for example, SQL query or Stored Procedure) may not fit our needs. I think if crystal report
can accept XML as input to generate reports at runtime, then it will be perfect. Can CR
use XML as data source as input?
(2). Actually, one of our business requirements is to generate a letter. Can CR do a report
layout such that a letter format can be achieved? If yes, would you let me know the
report layout name?
(3). We need to export the report into PDF format, I know CR can do PDF output. But can
CR be controlled to export this into bytes stream? Or the PDF must be saved into a
physical file?
(4) If I need to learn more about CR, which book will you recommend?
Thanks in advance for your advice,
RaymondThanks for the help Ted
Works like a charm now.
Or atleast my very very simple XML report works.
Now I just need to play around and see what I can do and what I cant.
I just want to make sure I understand how this works.
1) I start of with a XML file (or URL or other data source as explained in your BLOG)
2) I then have to create blank report which will have its data source set to my XML file.
This report (rpt file) will always have its data source set to the original XML location
Can this be dynamically changed, or does a new rpt file need to be created each time
(or atleast I will have to re-run "CreateXMLInlineSchemaReport" from your BLOG)
3) I can now use this rpt file as I would any other rpt file but its data source will be the original XML file
- If I update or change the XML file, the report will dynamically reflect these changes.
4) To change the data source, I need to recreate a new rpt file as per point 2. Which will now be blank.
5) Filtering.... if I want to filter the XML data do I use normal parameters. If I want to filter the data before
I pull it do I need to change anything. In otherwords if I have a XML file with 1000 records, but I only want say
5 of them, how do I only pull those 5 without first pulling the whole 1000 records. Hope that makes sense.
As I said I am very new to this so some things still fly over my head, but I do play around abit so hopefully
will find what I am looking for.
Cheers
Darren
PS any other links to info on creating and running reports of XML data sources would be greatly appriciated -
Hello,
We have requirement to use the REST web service as the Data source of SSRS. Tried with XML as Data Source, but unfortunately I could not succeed because the query expects SOAPAction which is not available in REST Service.
Do we have any option to use REST Service, if so please provide some basic example, so that I can try out some options.
If not, do we have any alternate solutions to handle these situations?
Thanks!
VinayHi Vinay.
After looking on it for some time, I am afraid currently there is no document to talk on how to use the REST web service as a data source.
You can use the link
http://technet.microsoft.com/en-US/library/aa964129(v=SQL.90).aspx for a renference.
From a support perspective currently this is really beyond what we can do here in the forums. If you cannot determine your answer here or on your own, consider opening a
support case with us. Visit this link to see the various support options that are available to better meet your needs: http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
Thanks, -
How to define pool size of a data source
In OC4J,How do I configure the behaviour of connection pools such as maxStatements, initialPoolSize,minPoolSize,maxPoolSize,maxIdleTime,propertyCycle which is defined in the JDBC specification?
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by wang haitao ([email protected]):
Thanks.From the example,I have known how to configure the minPoolSize and MaxPoolSize.
But,where can I find a example include all the datasource properties?
When I configure a property, I want to know the XML tag for the property.
IS this what you are looking for: http://www.orionserver.com/docs/data-sources.xml.html
<data-sources>
This file contains the configuration for the installed DataSources of an application-server.
<data-source ...>
An installed DataSource. The installed DataSources are bound to the JNDI-paths specified by the location attribute.
class - The classname of the DataSource. The core classes are com.evermind.sql.DriverManagerDataSource, com.evermind.sql.DriverManagerXADataSource, com.evermind.sql.DriverManagerConnectionPoolDataSource, com.evermind.sql.OrionPooledDataSource, com.evermind.sql.OrionCMTDataSource. There is also a special name; com.evermind.sql.AliasDataSource, which copies the data-source at the source-location to the specified location. See the API docs for further info on the other types.
connection-driver - The JDBC-driver classname for this DataSource, needed by some DataSources that deal with java.sql.Connections.
connection-retry-interval - How long to wait before retrying in seconds if a connection attempt fails. The default is 1.
ejb-location - The JNDI-path to bind an EJB-aware and pooled version of this DataSource to. (only applies to ConnectionDataSources). This version of the datasoruce will automatically take part in container-managed transactions and is the type of source that should be used from within EJBs and similar (if you use a "clean" datasource you loose the container-managed transactions support).
inactivity-timeout - Time to cache unused connections before closing them (seconds).
location - The JNDI-path to bind this DataSource to.
max-connect-attempts - How many times to retry making a Connection. This is useful when the network isnt stable or the environment is unstable for any other reason that will make connection attempts fail at times. The default is 3.
max-connections - The maximum number of open connections for pooling DataSources.
min-connections - The minimum number of open connections for pooling DataSources. The default is zero.
name - The displayed name of the DataSource.
password - The password to user when logging in using the DataSource, optional.
pooled-location - The JNDI-path to bind a pooled version of this DataSource to. (only applies to ConnectionDataSources).
schema - The relative/absolute path to a database-schema for this database connection.
source-location - The underlying DataSource of this specialized DataSource.
url - The JDBC URL for this DataSource, needed by some DataSources that deal with java.sql.Connections.
username - The username to log in as when using the DataSource, optional.
wait-timeout - The number of seconds to wait for a free connection if the pool is used up (ie reached max-connections used). The default is 60.
xa-location - The JNDI-path to bind a transactional version of this DataSource to. (only applies to ConnectionDataSources). XA-datasources are automatically pooled internally.
xa-source-location - The underlying XADataSource of this specialized DataSource (used by OrionCMTDataSource).
<description>The description</description>
A short description.
<property name="theName" value="theValue" />
A property to set when using a custom/3rd-party DataSource.
name - The name of the property.
value - The property value.
<HR></BLOCKQUOTE>
null
Maybe you are looking for
-
Can I have multiple iTunes accounts all billed from one credit card?
Hi everyone. I work for a business that needs to use iTunes from a number of different locations. Can I set up a different account for each location, each paid for from a single credit card? Thanks in advance. Doctor Stu.
-
Why Are Many iPhoto Files Now Thumbnails?
Greetings All: I've searched the forums for answers to my question, and there is a partially useful solution which dates back to 2006 about shrinking photos in iPhoto. All one needed to do to get around this problem was to go to ~Library/Pictures and
-
I want to install .net framework but i keep getting the same error code. How do i fix it? I've also tried it by the windows feature on and off, same thing, How do i fix this? Need some help....
-
hi all, I have one Form, 3 frames(A, B, C) and 3 buttons(A, B, C) on a jsp page. I like data to be display to frameA when I click on buttonA, or B to B, or C to C. How do I do that? thanks all
-
Error in news xml form external link
hi when i click on news form external link instead of opening page its giving Advertisement Blocked what could be reason