| Summary: | WCF web service as a datasource to a BIRT Report | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Athadu <yalamarti> | ||||
| Component: | BIRT | Assignee: | Birt-Data-inbox <Birt-Data-inbox> | ||||
| Status: | NEW --- | QA Contact: | Xiaoying Gu <bluesoldier> | ||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | bluesoldier, yalamarti | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Athadu
Created attachment 187340 [details] A Visual Studio 2008 Solution file containing the Test WCF Service and Service Host programs The attached zip file contails the Visual Studio 2008 Solution file for the test WCF Service. 1. The file in Debug\TestBirtServiceHost.exe is the WCF Service Host. 2. The file in Debug\TestBirtServiceClientApp.exe is a WinForms client app that you an use to test the webservice calls outside of Eclipse/BIRT. 3. The file in Debug\TestBirtWCFService.dll is the actual WCF Service implementation. To reproduce the bug run the Debug\TestBirtServiceHost.exe and use the URL to the Service - typically "http://localhost:9000/?wsdl". The port number in the URL can be modified in the .exe.config file(s) in the same folder. As a workaround, we had to 'flatten' the WSDL returned by the WCF web service. To flatten the WSDL, we adapted the code from http://blogs.msdn.com/b/dotnetinterop/archive/2008/09/23/flatten-your-wsdl-with-this-custom-servicehost-for-wcf.aspx I guess, BIRT should recognize the web service without the user having to flatten the WSDL. |