all groups > sql server reporting services > june 2005 >
You're in the

sql server reporting services

group:

XML datasource type in new report


XML datasource type in new report Alexander Bolotnov
6/3/2005 3:06:27 PM
sql server reporting services: hello,

I am trying to create a report and use an XML file as a datasource for it
with msrs that comes with msSQL 9.0.1116. when I get to the screen to setup
datasource name, type and connection string I choose XML as a datasource
type and then the edit button next to connection string field disables and I
can't find any information on what I shall be putting into the connection
string field.

I tried filepath, XMLFILEPATH=... etc but these don't seem to work. msdn
search did not help.

any ideas? thanks.

Alexander.

RE: XML datasource type in new report Mike Elings
6/15/2005 9:47:20 AM
I have same problem. I can't find any info on the connection string for a
xml data source.

[quoted text, click to view]
Re: XML datasource type in new report Alexander Bolotnov
6/16/2005 12:00:00 AM
someone posted this to me, so I don't know the source of the text

Connecting to an XML data source

To retrieve XML data in a report, create a dataset that specifies a URL to
the XML document. The following example illustrates the connection string
syntax. Enclosing the URL in quotes is optional. Note that the file://
protocol is not supported.



Copy Code

URL="http://adventure-works.com/results.aspx"





To retrieve an XML document from a Web Service, you must specify the
SOAPAction property. The property value is the SOAP method you want to use.
If the method has parameters, you must specify them as parameters on the
dataset (Report Designer includes a Parameters tab on the DataSet dialog
where you can specify query parameters):



Copy Code

URL=<url>; SOAPAction=<method-uri>[#|/]<method-name>





The URL is the location of the Web service SOAP endpoint. Note that the
delimiter between the method URI and the method name depends on the Web
service you are using. The following example illustrates the syntax:



Copy Code

URL=http://localhost/reportserver/reportservice2005.asmx;
SOAPAction="http://schemas.microsoft.com/sqlserver/2004/05/reporting/reportservices/ListChildren"





[quoted text, click to view]

AddThis Social Bookmark Button