GetUserInfo request fails

When I send a GetUserInfo request to the management server I get a response saying it failed to execute.

I use php’s soapClient to send the command, but I have also tried sending the xml directly.

This is the soap request I send.

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://videoos.net/2/XProtectCSServerCommand">
<SOAP-ENV:Body>
<GetUserInfo/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

I have tried with and without Token.

I dont think its caused by the NTLM verification or the location I send the command too since I am able to send other commands like GetConfiguration.

Does anyone know what could be cause this?

Can you please try with token? Otherwise it will fail..

Thank you for your response.

I did try that.

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://videoos.net/2/XProtectCSServerCommand">
<SOAP-ENV:Body>
<GetUserInfo>
<token>
TOKEN#cf969a0b-68b4-41c3-8714-ef14d34c76c5#desktop-9tidmpq//ServerConnector#</token>
</GetUserInfo>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Also in the wsdl file from the 2019 R3 install it says the token param is not needed.

      <s:element name="GetUserInfo">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="token" type="s:string" />

It turned out I was sending the token of the previous session instat of the current one. It works fine now. Still not sure why the token parameter has a minimal occurrence of 0 though.