0 Replies Latest reply on May 10, 2007 9:07 AM by BlackDhalia

    Best Method Of Consuming A Web Service In Flex

      I have a webservice that can be consumed via either the WSDL or via a Java wrapper class in Flex. As a developer that is new to Flex I have been trying to work out the best way of consuming the webservice.

      So far I have determined that you can consume a webservice:

      a) directly in MXML via the appropriate tags, however as the WSDL needs to be almost completely mapped here it seems impractical when you have large WSDL definitions to map to.
      b) via actionscript, which to be honest I have not been able to get working as of yet.
      c) using remote objects with the Java wrapper I mentioned previously.

      Aside from which I have just stated what would be the pros/cons of each method?

      Many thanks in advance.