Note that the we specify the location to the WSDL for our webservice. We then map mx:operation to the method name of our web service. To send a request to the web service we use mx:request and within that the parameter name and what data we will send (in this case the textinput contents). To trigger the web service we use
which is tied to the button click event (it must have an event in order to trigger). The result can then be obtained using
Note that everything is case senstive so watch how you declare and make use of things within Flex. One of the interesting things I found was that if you get the case wrong when using mx:operation some odd things start happening. For example if you use.
The web service method fires but the mx:request is not passed.