onvif / testspecs

ONVIF Test Specifications
22 stars 8 forks source link

Namespace of GetRelayOutputs in deviceIO service #67

Open JayDommaschk opened 10 months ago

JayDommaschk commented 10 months ago

When trying to get relay outputs with the deviceIO service, the device test tool sends the following:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wsdl="http://www.onvif.org/ver10/device/wsdl">
   <soap:Header/>
   <soap:Body>
      <wsdl:GetRelayOutputs/>
   </soap:Body>
</soap:Envelope>

i.e. the GetRelayOutputs command is in the device namespace rather than in the deviceio namespace (http://www.onvif.org/ver10/deviceIO/wsdl).

This seems a little bit surprising to me as in my experience commands are usually in the namespace pertaining to their respective service. Meanwhile I don't claim to be expert enough to definitively say that it should never be like this. So at this point in time, I am just politely asking whether this is correct.

Note that this also concerns SetRelayOutputState, but it does not concern GetRelayOutputOptions and SetRelayOutputSettings