0 Replies Latest reply on Mar 9, 2007 6:09 AM by eTJC

    mx:HTTPService tag and mx:headers tag question??

    eTJC
      I am trying to send some header information to my servlet via HTTPService.

      I have a <mx:HTTPService> tag and I see that I can have child tags to pass header information in the request, <mx:headers> But I am not sure of the syntax, I get parse errors in the Flex Builder editor. Here is what I have:

      <mx:HTTPService id="Test" method="POST" resultFormat="e4x" contentType="application/xml" url="myServlet" useProxy="false">

      <mx:headers>
      <!-- NOT SURE OF THE SYNTAX FOR THE DATA I WANT TO SEND HERE????? ->
      </mx:headers>

      </mx:HTTPService>


      Does someone have an example of the <mx:headers> section??? I want to pass a value or 2 to my servlet.

      Thanks!