using Web Service as Data Source

edited 5:47AM in FastReport .NET
Hello,

I'm a new user of FastReport and I would like to use a WebSercice (WCF) as a Data Source.
I think the XML option is the right one but I can't do that.

Could any one help me ?

Stunt

Comments

  • edited 5:47AM
    I answer my own thread beacause I found a solution.

    It is possible to use a Web Service as a Data Source if it is as REST one.

    Next I would like to be able to give parameters to my WebService.

    For example I use this Data Source :
    http://localhost/MyServicesWepApp/PersonsService.svc/Persons

    It retrieves all values.

    I would like to use it like that:
    http://localhost/MyServicesWepApp/PersonsS...filter=myFilter
    where the filter will for example look for all Persons whose name contains "myFilter"

    I am able to do that by setting the Data Source directly with the filter hardcoded, but I would like to use it as a parameter of my report.

    Any idea how to do that?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.