There is a task to get information from URl http://calc.motorwert.ru/soapsvc using Powershell via SOAP requests. But I can not go. The first request must be for identification. I give a clipping from the instructions (It is not written for PS)
"StartSession request - used to authorize and start a session
Required request. No other SOAP service operations are possible without authorization and session start.
1.1. Request parameters startSessionRequest - request name login - user name password - password type - (optional field) connection type
Request example:
<soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ xmlns:wac="ā¦."> <soapenv:Header/> <soapenv:Body> <wac:startSessionRequest> <login>wacuser</login> <password>SeCREtPaSS</password> </wac:startSessionRequest> </soapenv:Body> </soapenv:Envelope> I tried
$URI = "http://calc.motorwert.ru/soapsvc" $Proxy = New-WebserviceProxy $URI but I do not receive a response. And to write the correct invoke-webrequest with the POST method does not work. Tell me the direction in which to look for an answer, but Iām treading on the spot ..