0 Replies Latest reply on Sep 23, 2016 12:14 AM by Balav483

    How to get the response from web api

    Balav483 Level 1

      Hi

           How to get response from web api using soap.connect

       

      I used:

      var myProxy = SOAP.connect("http://localhost:64825/api/FileUploadResponce/");

      var result = myProxy;

      console.println(result);

       

      output returned as

      [object SOAPService]

      true

       

      Web page reponse is like:

      This XML file does not appear to have any style information associated with it. The document tree is shown below.

       

      <ArrayOfFileUploadResponce xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OPSAPI.Models">

       

       

      <FileUploadResponce>

       

       

      <ResponseResult>Files Uploaded Successfully</ResponseResult>

       

      </FileUploadResponce>

      </ArrayOfFileUploadResponce>

       

       

      Thanks

      Bala