2 Replies Latest reply on Jun 19, 2006 12:03 AM by stealthmaker

    HTTPService POST

    stealthmaker
      im trying to send a post to an http serivce with paramters
      here is the header of my asp.net webservice:
      Public Sub AddNewKB(ByVal categ As Integer, ByVal title As String, ByVal desc As String)

      the webservice works if i call it through the browser, so the problem should be somewhere in my mxml which is this

      <mx:HTTPService id="myWS2" url=" http://localhost:1210/AspireKB/Service.asmx/AddContent" showBusyCursor="true" fault="{Alert.show(event.fault.faultstring)}" method="POST">
      <mx:request xmlns="">
      <categ>"1"</categ>
      <title>"Hello"</title>
      <desc>"hello world"</desc>
      </mx:request>
      </mx:HTTPService>

      i call the webservice from a script
      like this

      myWS2.send();

      do you see anything wrong here?!