如何在CrystalReport中调用Web服务? [英] How to call web-service in CrystalReport ?

查看:74
本文介绍了如何在CrystalReport中调用Web服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对如何在CrystalReport中使用C#调用Web服务感到非常困惑?

有人知道吗? :confused::((<

I am very confused on how to call web service using C# in CrystalReport?

Does anyone has any idea? :confused: :((

推荐答案

尝试本文:

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

通过简单的Google搜索可以得到更多的结果.
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.


根据我的经验,我想说从Crystal Reports调用Web服务将导致头痛.我没有太多运气,而且我已经读过一些问题,尤其是当您在请求中具有复杂的类型或多个参数时.

编写包装器类以调用Web服务并收集数据(简单的Web上很多示例).

将数据传递到Crystal Reports(非常简单,Crystal Reports网站上的示例).

干杯.
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.


这篇关于如何在CrystalReport中调用Web服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆