1 Reply Latest reply on Jun 18, 2009 5:48 PM by Joe ... Ward

    Call SOAP method without WSDL file




      I need to call some SOAP methods from my server but I don't have WSDL files generated for SOAP on the server side. I tried with something like this but it doesnt work.


      var sendVars:URLVariables = new URLVariables();
      sendVars.action = "getImages";

      var request:URLRequest = new URLRequest();
      request.data = sendVars;
      request.url = tbxServer.text + ":" + tbxPort.text + "/DeviceValue.py";
      request.method = URLRequestMethod.POST;

      var loader:URLLoader = new URLLoader();
      loader.addEventListener(Event.COMPLETE, onComplete);
      loader.addEventListener(IOErrorEvent.IO_ERROR, onIOError);


      I went looking in the docs and found mx.rpc.soap.mxml but is requires WSDL file. I would like to access method on my server http://ip:8888/DeviceValue/ in it there are methods getDeviceValue and setDevice. Parameter accepted by those two methods are parameterID, deviceID.


      Thnx guys