Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am very confused on how to call web service using C# in CrystalReport?

Does anyone has any idea? :confused: :((
Posted
Updated 11-Feb-11 4:00am
v2

Try this article:

http://neverknewthat.wordpress.com/2009/05/19/cr-webservice/[^]

There are many more results that come up with a simple Google search.
 
Share this answer
 
From my experience I would say that calling a web service from Crystal Reports is going to lead to headaches. I've not had much luck, and I've read of problems, especially when you have complex types or multiple parameters in the request.

Write a wrapper class to call the web service and collect the data (easy, lots of examples on the web).

Pass the data into Crystal Reports (fairly straightforward, examples on Crystal Reports web site).

Cheers.
 
Share this answer
 
Comments
Dylan Morley 11-Feb-11 10:35am    
5 - This is what I was going to suggest

It helps break down into steps, so you'll know (and can easily debug) any problems with a call to the web service.
thatraja 11-Feb-11 12:01pm    
Ditto to Dylan Morley
5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900