I am attempting to make protocol integration from non-Windows (Ubuntu) environment. Given that we must login via a valid basic user which in turn requires SSL/TLS, find the HTTP request below:
POST /ManagementServer/ServerCommandService.svc HTTP/1.1
Host: desktop-2ki5ve8
Content-Type: text/xml
Authorization: Basic YXZpZGJlYW06YXZpZGJlYW0=
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:SOAP-ENV=“http://www.w3.org/2003/05/soap-envelope”
xmlns:SOAP-ENC=“http://www.w3.org/2003/05/soap-encoding”
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
xmlns:xsd=“http://www.w3.org/2001/XMLSchema”
xmlns:ns5=“http://schemas.microsoft.com/2003/10/Serialization/Arrays”
xmlns:ns7=“http://schemas.datacontract.org/2004/07/System.Collections”
xmlns:ns4=“http://schemas.microsoft.com/2003/10/Serialization/”
xmlns:ns6=“http://schemas.datacontract.org/2004/07/VideoOS.Common.Proxy.Server”
xmlns:ns1=“http://tempuri.org/”
xmlns:ns3=“http://videoos.net/2/XProtectCSServerCommand”
xmlns:c14n=“http://www.w3.org/2001/10/xml-exc-c14n#”
xmlns:wsu=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd”
xmlns:xenc=“http://www.w3.org/2001/04/xmlenc#”
xmlns:wsc=“http://schemas.xmlsoap.org/ws/2005/02/sc”
xmlns:ds=“http://www.w3.org/2000/09/xmldsig#”
xmlns:wsse=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd”
xmlns:ns8=“urn:videoos:management:server:servercommandservice”>
</SOAP-ENV:Header>
ns3:instanceId38a6d513-92c2-4a6f-801a-213f66d55bc1</ns3:instanceId>
ns3:currentToken</ns3:currentToken>
</ns3:Login>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Any idea why I am getting the 400 bad request?