0 Replies Latest reply on Mar 8, 2007 7:47 AM by eTJC

    HTTPService and <mx:headers> tag??

    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 for headers, <mx:headers> But I am not sure of the syntax, I get parse errors in the 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!