Skip to main content
Balav483
Known Participant
September 23, 2016
Question

How to get the response from web api

  • September 23, 2016
  • 0 replies
  • 284 views

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

This topic has been closed for replies.