3 Replies Latest reply on Sep 9, 2010 6:24 AM by flexbondili

    I want code in vb.net

    flexbondili Level 1

      Hi All,

       

         I am developing a conversion project in vb.net from adobe flex. While converting flex code to .net, i am facing a problem at webservices calls into vb.net. This webservice path wont show any input parameters, and no invoke button is visible for me. But in adobe flex code they are giving input, the same way iam also doing in vb.net, but i am not getting any values into my dataset.

       

      Code in Adobe flex:

      public function get_upholstery_items():void {

      PopUpManager.removePopUp(model.pop_up);

       

       

      if (model.prevue_session_id.length > 0) {

      app_commander.trace_log(

      "get_upholstery_items", "GetItems");

       

      var ws : WebService = new mx.rpc.soap.WebService();

       

      ws.loadWSDL(model_locator.APPLICATION_PREVUE_WEB_SERVICE_URL);

      ws.makeObjectsBindable =

      false;

      ws.useProxy =

      false;

       

      ws.GetItems.resultFormat =

      "e4x";

      ws.GetItems.addEventListener(ResultEvent.RESULT, get_items_result);

      ws.GetItems.addEventListener(FaultEvent.FAULT, app_commander.web_service_fault);

      ws.GetItems.arguments.sessionKey = model.prevue_session_id;

      ws.GetItems();

       

       

       

       

       

      My code is vb.net is:

       

      dsexam as new dataset

      stringxml=http://some path/webservice name/Qty= +input parameter

      dsexam.ReadXml(stringxml)

      Here in this case my dataset dsexam is always empty, if i check with any input parameter

       

      Is there any other method to call the webservice other than this.

       

      Would any one help me to write the code in vb.net.

       

      Thanks! In advance.