2 Replies Latest reply on Apr 28, 2008 1:09 PM by Developer504

    Passing TextInput in parameters using HTTPService

    Developer504 Level 1
      Hi folks,

      I am working on a Flex app to integrate with an application written in Magic eDev. With some help from Mabs Corp from this forum I've managed to get Flex talking to my application, and reading data from it. I'm now trying to pass some parameters from Flex to the WS.

      I am having the user enter a parameter and press a button to manually call the service..

      <mx:Label text="Enter Parameter"/>
      <mx:TextInput id="param1"/>

      ...which I'm trying to pass to my WS in my HTTP service request.

      <mx:request>
      <appname>Application</appname>
      <prgname>Program</prgname>
      <arguments>Param1,Param2</arguments>
      <Param1>Param1</Param1>
      <Param2>Param2</Param2>
      </mx:request>

      Which seems to work, sort of.... My magic program receives parameters. What I can't figure out is how to get the value of my input field into "Param1" ? Right now all I seem to be passing is the label.