1 Reply Latest reply on Aug 6, 2007 8:50 AM by rotoole

    WSDL Webservices connection

    vkr
      Hello!
      I have walked thru the following live doc tutorial on Web services connection

      http://livedocs.adobe.com/flex/201/html/Part3_Tutorials_015_1.html

      in this tutorial we use only one operation - getMostPopularPosts
      I wonder how to use multiple operations like currency converter using this wsdl
      http://trial.serviceobjects.com/ce/CurrencyExchange.asmx?WSDL

      can you help me please
      thanks
      krs
        • 1. WSDL Webservices connection
          rotoole Level 1
          in your webservice, have multiple operations calling each function within the same webservice.


          <mx:WebService
          id="myService"
          wsdl=" http://trial.serviceobjects.com/ce/CurrencyExchange.asmx?WSDL "
          showBusyCursor="true"
          concurrency="multiple"
          fault="handleFaults(event)">

          <mx:operation name="getMostPopularPosts" result="handlePopularResults(event)" resultFormat="object" fault="faultEvent(event)" >

          </mx:operation>
          <mx:operation name="ConvertCurrency" result="handleCurrencyResults(event)" resultFormat="object" fault="faultEvent(event)" >
          <mx:request>
          </mx:request>
          </mx:operation>