我想使用 FLEX 4.5 检索类似于 wsdl 链接(WCF 服务 URL)的服务器内容。我还没有在 FLEX 上使用过 Web 服务。我曾使用 httpservices 进行 xml 数据检索,其中我有本地 xml 数据。现在,我正在尝试检索服务器内容。我已经提供了服务链接、方法名称和 xml 标签。 (看起来像参数)..由于这是我第一次尝试服务器内容,我需要一些帮助。非常感谢您的帮助..提前致谢...如果我能得到一个关于网络服务的示例项目那就更好了。
这就是我正在尝试的。服务链接如下。
http://mfsapi.blisslogix.net/RSS_FEEDS_SERVICE.svc
当我点击此链接时,我会收到以下链接。
http://mfsapi.blisslogix.net/RSS_FEEDS_SERVICE.svc?wsdl
我可以在哪里看到很多标签。
我正在使用 HTTPSERVICES 和 WEBSERVICES 来解决这个问题,但我没有获取 xml 数据。我想我在传递参数时犯了一些错误。请引导我完成如何使用此链接传递方法和参数的步骤。
I want to retrieve server content which is like wsdl link(WCF service URL)using FLEX 4.5.. I haven't worked with webservices on FLEX. I have worked with xml data retrieval using httpservices where I had a local xml datas. Right now, i am trying to retrieve a server content. I have provided with the service link, method name and xml tags. (seems like parameters).. Since this is the first time im trying the server content, I need some help. Your help is highly appreciated.. thanks in advance... Would be better if i can get a sample project on webservices.
This is what I'm trying. The service link is below.
http://mfsapi.blisslogix.net/RSS_FEEDS_SERVICE.svc
When I click on this link, i'm getting the below link.
http://mfsapi.blisslogix.net/RSS_FEEDS_SERVICE.svc?wsdl
where I can see a lot of tags.
I am using HTTPSERVICES and WEBSERVICES to work on this issue and i'm not getting the xml data. I guess I did some mistake on passing the parameters. Please walk me through the steps how can I pass the method and parameters with this link..
发布评论
评论(1)
首先,您需要创建一个
WebService
标记。或者使用 ActionScript 类型的WebService
对象。然后您需要指定 WSDL 文档位置并加载它。
然后您可以简单地调用
WebService
标记中指定的操作。这是一个链接”。
First you need to create a
WebService
tag. Or use ActionScript an object of typeWebService
.Then you need to specify the WSDL document location and load it.
Then you can simply call the operations specified in the
WebService
tag.Here is a link on how to communicate with web services using MXML and AS.