Flex 代码无法使用 WCF

发布于 2024-09-28 01:40:27 字数 538 浏览 0 评论 0原文

我有 https://mysite/myservice.asmx ,它可以与 Flashbuilder 一起使用。当我将其移植到 https://mysite/myservice.svc 并生成代理对象时,Flash 代理对象无法调用任何操作。我猜想,在Web服务调用期间,操作合同是通过 https://mysite/myservice.asmx?op= 获取的myOp,但在 WCF 中,https://mysite/myservice.svc?op=myOp 给出迪斯科文件参考。有没有做过什么事情?有人从 Flex 调用过 WCF 吗?

I have https://mysite/myservice.asmx which is consumed fine with Flashbuilder. When i ported it to https://mysite/myservice.svc, and generate proxy objects, flash proxy objects fails to call any operations. I guess, during web service call, operation contracts are got by https://mysite/myservice.asmx?op=myOp, but in WCF, https://mysite/myservice.svc?op=myOp gives disco file reference. Is there anything done it? Has anyone called WCF from Flex?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

笔芯 2024-10-05 01:40:27

这取决于您设置的 WCF 配置,如果您提供,我可能能够更好地回答,但现在尝试从 https://mysite/myservice.svc?wsdl

It depends on the WCF Config that you have setup, if you provide that I may be able to answer better, but for now try to access the WSDL from https://mysite/myservice.svc?wsdl

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文