SOAP request 400 Error

Hey guys I’m currently trying to reach this endpoint here https://url:port/ManagementServer/ServerCommandServiceOAuth.svc however anytime I send a request I get a 400 error back with no error message at all.

I can use https://url:port/ServerAPI/ServerCommandService.asmx perfectly fine and the .NET sample programs can login fine. It just seems to be anything to do with this endpoint and https://url:port/ManagementServer/ServerCommandService.svc that wont work.

my specs are the following:

XProtect R3 2022

Windows server 2019

Has anyone else had this issue and managed to get past it?

When you switch from .ASMX to .SVC client try to autogenerate a new client from the .SVC service.

To do this, use visual studio and a add a service reference to the .SVC service. This will generate a new client you can access from your code.