Creating a SOAP Request Using ASP.Net 2.0

I am accessing a technical contact on a server website that expects me to use Visual Studio while I just want to write a script. See below the SOAP request I need to create. (I replaced the actual URL with the dummy). I am new to ASP and SOAP, as you might have guessed, and I tried the google example script.

POST /PropertySearchService.asmx HTTP/1.1
Host: portal.someurl.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetBranches xmlns="http://portal.someurl.com">
      <strClientID>string</strClientID>
    </GetBranches>
  </soap12:Body>
</soap12:Envelope>
+3
source share
1 answer

I am talking with a technical contact to the server website that expects me to use Visual Studio while I just want to write a script

You must overcome this. You do not work with classic ASP here.

Google. SOAP, .NET . " -" URL-, , , . -, .

. -. 100%, , , .

+6

Source: https://habr.com/ru/post/1712657/