Skip to content

MEDIA2_PTZ-1-1-3 PTZ CONTINUOUS MOVE & STOP USING MEDIA2 PROFILE. Questions regarding the response of step 18. #132

Description

@Joshua-8351

Hi Expert,

I’m seeing two different results for this response. The only difference seems to be the final position after zooming. Despite all other statuses being identical, why is position = 0 flagged as an error while position = 2 is considered correct?

Response 1: position = 0
18
Get PTZ Status
2026-04-24T05:23:33.6895276Z
2026-04-24T05:24:03.796683Z
Get PTZ Status
POST /onvif/PTZ HTTP/1.1
Host: 192.168.31.197:8080
Content-Type: application/soap+xml; charset=utf-8
Authorization: Digest username="admin",realm="IPcam",qop="auth",algorithm=MD5,uri="/onvif/PTZ",nonce="69eafe2acb816f68f2b3",nc=00000003,cnonce="A8C7A2FF5DC361E569797C21A407C496",opaque="ecf6b57b",response="a7c0b9db977b80f1cd61c80da1e2c060"
Content-Length: 337

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetStatus xmlns="http://www.onvif.org/ver20/ptz/wsdl">
<ProfileToken>ab_profile_0</ProfileToken>
</GetStatus>
</s:Body>
</s:Envelope>
HTTP/1.1 200 OK
Server: gSOAP/2.8E
X-Frame-Options: SAMEORIGIN
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 2568
Date: Fri, 24 Apr 2026 05:23:25 GMT

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml1="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:fc="http://www.onvif.org/ver20/analytics/humanface" xmlns:bd="http://www.onvif.org/ver20/analytics/humanbody" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<tptz:GetStatusResponse>
<tptz:PTZStatus>
<tt:Position>
<tt:Zoom x="0" space="http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace">
</tt:Zoom>
</tt:Position>
<tt:MoveStatus>
<tt:Zoom>IDLE</tt:Zoom>
</tt:MoveStatus>
<tt:UtcTime>1970-01-01T00:00:00Z</tt:UtcTime>
</tptz:PTZStatus>
</tptz:GetStatusResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Passed


19
Check if GetStatus returned all supported statuses are equal to IDLE
2026-04-24T05:24:03.796683Z
2026-04-24T05:24:03.796683Z
GetStatus returned not all supported statuses are equal to IDLE
Failed

Response 2: position = 2
18
Get PTZ Status
2026-04-24T10:28:19.7677897Z
2026-04-24T10:28:19.8146279Z
Get PTZ Status
POST /onvif/PTZ HTTP/1.1
Host: 192.168.31.196:8080
Content-Type: application/soap+xml; charset=utf-8
Authorization: Digest username="admin",realm="IPcam",qop="auth",algorithm=MD5,uri="/onvif/PTZ",nonce="69eb45b9cb81da045b7d",nc=00000002,cnonce="21F10B3D31C0ABCF64FE03549FAD0C7F",opaque="759510fc",response="d94982284e3a50e09478eddb4c6c84be"
Content-Length: 337

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetStatus xmlns="http://www.onvif.org/ver20/ptz/wsdl">
<ProfileToken>ab_profile_0</ProfileToken>
</GetStatus>
</s:Body>
</s:Envelope>
HTTP/1.1 200 OK
Server: gSOAP/2.8E
X-Frame-Options: SAMEORIGIN
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 2568
Date: Fri, 24 Apr 2026 10:28:14 GMT

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml1="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:fc="http://www.onvif.org/ver20/analytics/humanface" xmlns:bd="http://www.onvif.org/ver20/analytics/humanbody" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<tptz:GetStatusResponse>
<tptz:PTZStatus>
<tt:Position>
<tt:Zoom x="2" space="http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace">
</tt:Zoom>
</tt:Position>
<tt:MoveStatus>
<tt:Zoom>IDLE</tt:Zoom>
</tt:MoveStatus>
<tt:UtcTime>1970-01-01T00:00:00Z</tt:UtcTime>
</tptz:PTZStatus>
</tptz:GetStatusResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Passed


19
Check if GetStatus returned all supported statuses are equal to IDLE
2026-04-24T10:28:19.8302494Z
2026-04-24T10:28:19.8302494Z
Check if GetStatus returned all supported statuses are equal to IDLE - OK
Passed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions