3 Replies Latest reply on Aug 7, 2009 1:26 PM by Gregory Lafrance

    Is this right:  HTTPService send

    Jerry62712 Level 1

      I have a Flex application.  This must write out a string to the output writer.  As Flex can't do this, I'm going to call a java servlet using HTTPService.  As I don't see any output, I'm not sure how to test this.  Starting at the beginning, here is the code I'm using to call the servlet:


           var x:String = buildPhoneResults();
           var sendXML:HTTPService = new HTTPService();
           sendXML.url = "" + x;
      Alert.show("**Testing** sendXML = '" + sendXML.url + "'");

      Elsewhere I've outputted the data from buildPhoneResults to a testing Alert box and it looks OK.  Does the above look right?