zza*_*per 3 asp.net soap request
我正在与服务器网站上的技术联系人交谈,他希望我使用Visual Studio,而我只想手写脚本.请参阅下面的我需要生成的SOAP请求.(我用虚拟的URL替换了实际的URL).我对ASP和SOAP很陌生,你可能已经猜到了,我试过谷歌一个示例脚本.
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>
Run Code Online (Sandbox Code Playgroud)