Hi! I’m trying to call the GetServices at ManagementServer/ServiceRegistrationService.svc
but I get an error back saying
“Value cannot be null. Parameter name: parameters.”
My request looks like this (I have tried some variations of it but with no success)
<?xml version="1.0" encoding="utf-8"?>
<Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body>
<GetServices xmlns="http://schemas.videoos/ServiceRegistrationService/2008/06/Vmo/01">
<Parameters />
</GetServices>
</Body>
</Envelope>
The definition of GetServices (in the WSDL) looks like this
<wsdl:operation name="GetServices">
<wsdl:input wsaw:Action="http://schemas.videoos/ServiceRegistrationService/2008/06/Vmo/01/IServiceRegistrationService/GetServices" message="tns:IServiceRegistrationService_GetServices_InputMessage"/>
<wsdl:output wsaw:Action="http://schemas.videoos/ServiceRegistrationService/2008/06/Vmo/01/IServiceRegistrationService/GetServicesResponse" message="tns:IServiceRegistrationService_GetServices_OutputMessage"/>
</wsdl:operation>
<wsdl:message name="IServiceRegistrationService_GetServices_InputMessage">
<wsdl:part name="parameters" element="tns:GetServices"/>
</wsdl:message>
<xs:element name="GetServices">
<xs:complexType>
<xs:sequence/>
</xs:complexType>
</xs:element>
I tried the tool svcutil.exe to generate some c# classes and there it looks like GetServices should have no parameters.
I’m not an expert on reading WSDL but tried to get some help from ChatGPT
and it feels like my request should be Ok… Are I’m doing something obvious wrong?
I’m using 2024 R1
Kind regards Hans