I have a requirement to consume and display records from webservice in ssrs. From webserice I am able to access and display the records when I was returned as list. but I would like to return the dataset from webservice and consume the columns in ssrs dataset. So I would help to not to create class in webserivce.
Attached is the web service method screen shot and XML query written in ssrs report.
SSRS REPORT XML QUERY:
Webservice method:
Related
I've been having trouble accomplishing the following task and was looking for input from the community on how I might go about solving it; if this is the wrong place to post this, please let me know and I will move it.
Using a SSIS package I am trying to:
Read values from an XML document.
Pass those values to a web service.
Record the return value in a new XML document (or a flat-file for simplicity sake).
For reference, let's take a simple example. I want to pass a series of currency types to this web service:
http://www.webservicex.net/ConvertTemperature.asmx
So far I have:
Added HTTP Connection Manager - Configured to access the WSDL file at http://www.webservicex.net/CurrencyConvertor.asmx?wsdl
Created a Web Service Task using the HTTP Connection, made and referenced the WSDL file.
The input fields can be selected manually, for example, CAD to USD.
The output can be easily saved to a specified output.
I have two main problems; the first would be passing the columns from the XML source to the web service and the second is I'm not sure how to handle the datatypes of the web service. In the example web service, the datatype for the currency is "Currency" but that is not a defined datatype within BIDS.
Any advice on this matter would be greatly appreciated.
emphasized textcheck out this link which passes data from a flat file source to a web service.
http://www.vsteamsystemcentral.com/cs/blogs/applied_team_system/archive/2007/01/10/247.aspx
I am new bee in crystal report. I have to call a WCF service which will return some data in entity list, Now i have to bind this data in a report within a asp.net page. I am not able to find how to do it with crystal report.
All the example i have found, they are using static connection with database. Is there any way to accomplish it.Any kind of suggestion, guide or help will be appreciated.
Call your service
Take the returned list from your service and fill it into a DataSet
Put your DataSet into the Reportdocument using the ReportDocument.SetDataSource(yourDataSet) method http://msdn.microsoft.com/en-us/library/ms226127(v=vs.80).aspx
I have made a crystal report in which I pass the database name into querystring. I want to bind that database into crystal report Command. So how is it possible because the report shows the data from multiple database as per selection of user.
I make a webform and use crystal report viewer. I send the database name into querystring.
I will suggest that you should used data table as data source and used a stored procedure or a query where you will decided which database the data will come from.
check this link that will help
http://www.codeproject.com/Articles/28899/Crystal-Report-with-DataSet-and-DataTable-using-C
I'm new to reporting services and ask for the possibily of using custom object as datasource? i'm using asp.net, visual web developer 2008 express edition and c#, if yes can you give an example. thanks for help
You can't use POCO as a data source directly in reporting services. There are a few ways to do this.
The simplest it to save your data to a database and query the database.
You could serialize the object to XML and query that by either including the XML directly into your query in an <XmlData> element, or calling a web service to retrieve the XML.
Create an XML Data Source for a Web Service
In your report project, right click on the Shared Data Sources folder.
Select Add New Data Source.
Set the Name to use.
Set the Type to XML.
Set the connection string to http://MyWebServer/MyWebServiceEndpoint.asmx.
Go to the Credentials page.
Configure the authentication.
Click OK.
You'll need to examine the WSDL for the web service and see the following references to help you build the query:
Reporting Services: Using XML and Web Service Data Sources
XML Query Syntax for XML Report Data (SSRS)
Element Path Syntax for XML Report Data (SSRS)
Here's a list of supported data sources from msdn: Data Sources
You would simply add a shared data source to your project (example: MyDataSource.rds) and choose from the available types. There, you would simply supply the appropriate credentials. Each of your reports would use the data source.
EDIT
Here's a simple tutorial on adding a data source: Creating a Shared Data Source in Reporting Services
Im having some trouble. I have a document library that contains a custom column ("Category"), this is just a lookup from the "Category" List.
I am able to upload the document successfully, however i sould like to set that category list aswell.
I am uploading to the document library using the SharePoint web services located here : [sharepointurl]/_vti_bin/copy.asmx
Regards
Jean
Once you have uploaded the document you can use "UpdateListItems" in lists.asmx to update the column you want for the new item.