Using Web Services in the Flex Mate Framework

I am currently trying to use the Mate "Invocation" tags to call my web services and delegate WS responses to my error / result handlers. I want to use the generated proxies provided by Flex Builder, not regular tags <WebService>or <WebServiceInvoker>.

In fact, I did not use several methods:

  • <WebServiceInvoker> does not work with created proxies.
  • <AsyncMethodInvoker>It requires some kind of complex type successType, which I could not work with WS-calls. And the definition of events seems redundant to me. I want it to be simple and easy to read, the code will be affected by other people than me!
  • <MethodInvoker> cannot use instances, and also cannot process proxies AsyncToken
  • <DelegateInvoker>At first I looked good. It calls the service, but does not fire the actual events of the result (infinite loadable cursor). Although I can successfully bind to the XYZ_lastResultWS-Proxy and WS-call results in reliable data from the WS-backend, <faultHandlers>and <resulthandlers>are not satisfied. There is some solution for DelegateInvoker that changes the code in the generated proxies, which I definitely do not want to do!

So here is my question: Is there a simple (!) Way to use the default Flexbuilder proxies with Mate Invocation tags?

+3
source share

Source: https://habr.com/ru/post/1721504/


All Articles