Flex 代码无法使用 WCF
我有 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这取决于您设置的 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