开发者

Adobe Air with WCF service

开发者 https://www.devze.com 2023-01-07 06:04 出处:网络
I want to communicate with Adobe Air with a开发者_如何学C WCF Client. I have created the WCF service.

I want to communicate with Adobe Air with a开发者_如何学C WCF Client. I have created the WCF service.

I have Flex Builder 3.0, but how do I communicate the WCF service using Adobe Air? Please guide me.


To generate the proxy, click File > Import > Flex Builder > WSDL and select the WSDL url for your WCF service ("http://tempuri.org/v1/MyService.svc?wsdl").

A few things to be aware of:

  • Give the proxy a unique package, like org.tempuri.myService_v1. The importer will generate classes like Boolean that will conflict if you import several services into the same package.
  • The generated code has real problems with enumerations and Guids, so avoid both if you can. This may not be an issue with WCF 4 since it did significant updates in WSDL compatibility, but I have not tested it.
0

精彩评论

暂无评论...
验证码 换一张
取 消