天天看点

JAVA实现onvif的ptz控制,onvif ptz解决思路

onvif ptz

大家好。我正在使用onvif测试工具,发送GetConfigurations命令,如下:

xmlns:s="http://www.w3.org/2003/05/soap-envelope"

xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl">

返回的响应是:

HTTP/1.1 500 Internal Server Error

Server: gSOAP/2.7

Content-Type: application/soap+xml; charset=utf-8

Content-Length: 2316

Connection: close

SOAP-ENV:Receiver

ter:Action

Action failed

The requested SOAP action failed

我发送GetNodes命令,得到的结果也是一样。但是发送其它命令,如AddPTZConfiguration、GetProfiles可以得到正确的结果。请问为什么发送GetConfigurations、GetNodes命令这些命令失败呢?请大家探讨一下。谢谢!

------解决方案--------------------

发错论坛了,这个坛子估计很少有人回答你的问题

------解决方案--------------------

有专门讨论onvif开发的论坛吗?