Details on SOAP RecorderCommandService Method PTZMoveStart

Hi all,

We are connecting to xProtect Corporate 2014 server using Protocol integration.

The method PTZMoveHome is working but we are having problems with method PTZMoveStart. It is giving us a good response but the camera is not moving.

We are using SOAPui app to test.

Sample request:

<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xpr=“http://videoos.net/2/XProtectCSRecorderCommand”>

soapenv:Header/

soapenv:Body

xpr:PTZMoveStart

 <xpr:token>XXXXXXXX</xpr:token>

 <xpr:deviceId>XXXXXXXXX</xpr:deviceId>

 <xpr:ptzArgs>

  <xpr:movement>

    <xpr:name>pan</xpr:name>

    <xpr:value>0.5</xpr:value>

  </xpr:movement>

  <xpr:speed>

    <xpr:name>pan</xpr:name>

    <xpr:value>0.5</xpr:value>

  </xpr:speed>

  <xpr:Normalized></xpr:Normalized>

 </xpr:ptzArgs>

</xpr:PTZMoveStart>

</soapenv:Body>

</soapenv:Envelope>

Sample response:

<soap:Envelope xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/”>

soap:Body

</soap:Body>

</soap:Envelope>

We can’t find any parameter value that has an effect on the camera.

Can anyone please confirm the right values we should use?

Are we doing any other thing wrongly?

Thanks in advance

Please see if you can move the camera in the expected manner using the PTZandPresets sample, it would be good in that way to rule out camera or system issues before debugging your coding.

If the sample works I would like you to do the next step in doing a network communication trace (Wireshark or similar) and compare the protocol communication there with what you have in your integration.

I have a hunch that there might be an issue with “PTZMoveStartCommandData” and “PTZMoveStartCommandData2” two different formats. I believe you will be able to see if you do the trace as I have suggested.

Many thanks, it was very useful, now I am able to move the cameras

Anyway, my mistake was to test from SOAPui app because it is not working for this command (I don’t know why). I have tested from my app and it is working (sending the same parameters that I could see with Wireshark testing with the PTZandPresets sample).

Many thanks again!