onvif

Build Soap web service client using wsdl documents in Eclipse

佐手、 提交于 2019-12-03 08:43:45
I need to create web service client in Java using Eclipse the consumes the onvif wsdl . I spent several hours without finding a how to do that, this the first time I am using soap, my experience was in REST. I tried many tutorials like this to create web service client, but when I am trying to choose the wsdl file from my local disk, eclipse shows the an error Could not retrieve the WSDL file ... , the link structure I used for the file was file:/C:/ONVIF/media.wsdl . I need to use any Java framework that support WS-Notification to implement my client. Can you please tell me how to implement

RTSP、Onvif协议安防摄像头输出RTMP、RTSP、HLS、FLV直播流网页无插件直播方案之window设备上双击EasyNVR无法启动程序

僤鯓⒐⒋嵵緔 提交于 2019-12-03 04:15:42
rtsp协议的视频流(默认是需要插件才可以播放的)经由EasyNVR处理后可以满足无插件的全平台直播。处理后会获取到RTMP、HLS视频流,这就解决了插件直播的问题,只要终端设备支持H5,就可以播放EasyNVR分发出的视频流。 window设备上双击EasyNVR无法启动程序 window设备上双击EasyNVR、EasyDSS、EasyGBS可以执行文件无法启动程序问题? 问题分析 正常情况是双击执行文件可以启动对应服务,完成对应的功能服务需求, 双击无法执行,无非就是系统对自身的保护导致的执行文件文法执行或者是对执行文件的执行权限没有满足对应的需要。 解决问题 通过远程客户现场,分析现场执行程序的对应属性发现,是由于运行软件的服务器自身的保护机制,阻止外来程序的启动,需要我们手动的信任执行文件,添加信任即可正常运行软件启动服务。 具体操作步骤: 右击执行文件->查看执行文件属性->勾选“常规”选项下“安全”栏目的勾选框。后续点击应用、确定完成设置。 来源: https://www.cnblogs.com/EasyNVR/p/11776518.html

RTSP、Onvif协议安防摄像头输出RTMP、RTSP、HLS、FLV直播流网页无插件直播方案EasyNVR摄像机无快照怎么处理?

戏子无情 提交于 2019-12-03 03:57:15
诞生背景 众所周知,EasyNVR可以将局域网/广域网上的海康/大华等网络摄像头由rtsp转换为rtmp、rtsp、hls、flv协议转换,并提供推流服务,可以将拉到的网络摄像头直接转发到流媒体服务器。 EasyNVR摄像机无快照 EasyNVR摄像机成功接入,视频广场在线可播放,无快照。 问题分析 EasyNVR功能上是拉取rtsp然后由流媒体来进行分发的功能。EasyNVR这边是通过拉取到视频流,成功截取到快照来判定该路视频是否在线。当视频成功接入取到快照,系统才判定视频在线并且可以直播。 解决问题 通过分析问题,我们可以发现,EasyNVR视频广场出现在线状态但是没有快照,才现象来看和软件的内部逻辑是不向通的。通过具体进入系统发现,由于软件运行权限不够导致的。 EasyNVR成功拉流,会接入快照出来并放到EasyNVR服务中,提供给客户端进行使用。EasyNVR在拉取到视频流成功,也可以成功生成jpeg数据,只是在将图片保存到服务端对应位置的时候,由于权限问题,无法成功的将图片成功的保存到服务端,导致,客户端无法获取到图片,但是服务又可以成功拉取视频流,从而出现了,视频在线,而没有快照的现象。 来源: https://www.cnblogs.com/EasyNVR/p/11775873.html

ONVIF Error in deserializing body of reply message for operation 'GetStatus' -> The string '1532531507' is not a valid AllXsd value

匿名 (未验证) 提交于 2019-12-03 01:41:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: CONTEXT : I'm making a c# windows form app that communicates to ONVIF cameras using the wsdls given on the onvif site. https://www.onvif.org/ver10/media/wsdl/media.wsdl and https://onvif.org/onvif/ver20/ptz/wsdl/ptz.wsdl I am able to get profiles on the camera, send PTZ action and more, but when I try to get the status of the ptzClient I created, I get the error: Error in deserializing body of reply message for operation 'GetStatus' I looked in the innerException of this error to find: The string '1532531507' is not a valid AllXsd value.

Generate Java webservice based on ONVIF wsdl (Top Down Method)

匿名 (未验证) 提交于 2019-12-03 01:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to generate server code for a device like Camera. There is a standard protocol for these device called ONVIF which publish some popular WSDL documents. So I must generate an interface and skelton from ONFIV's WSDL documents. When I use wsdl2java to generate server code from ONVIF wsdl file , it says: org.apache.axis2.AxisFault: No services found in the WSDL at https://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl with targetnamespace http://www.onvif.org/ver10/device/wsdl Is there a problem via these WSDL files? How can

Onvif Simulator For Testing Onvif web service client

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Hi i am trying to develop an android web service client consuming onvif web service , but I do not have any onvif camera in my hand. What I need is an onvif camera simulator , test tool ,(may be link of an onvif camera to try basic operations like getdeviceinformation if possible ) which is free . I googled it but I could not find any . Is there any this kind of things ? 回答1: Here is a very good, free one : http://www.happytimesoft.com/products/multi-onvif-server/index.html 回答2: You can download the emulator in the following link for free:

Onvif - Invalid SOAP message or SOAP version mismatch

匿名 (未验证) 提交于 2019-12-03 00:44:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have really been confused with Onvif Authentication. I have failed to execute onvif commands both on AXIS ans SONY cameras. Here is the code generating a request: procedure RebootDevice(dev: Device; Username, Password: string); var sdt: SystemDateTime; Created: string; Nonce: string; Nonce64: string; Password64: string; Header: Security; begin sdt := dev.GetSystemDateAndTime; Created := SystemDateTimeToStr(sdt.UTCDateTime); // yyyy-MM-ddTHH.mm.ss.000Z Nonce := '1234'; Nonce64 := Base64Encode(Nonce); Password64 := Base64Encode(HashSHA1

How to get Resulting Disgest with WS-UsernameToken?

限于喜欢 提交于 2019-12-02 12:24:27
问题 I have the following documentation from the ONVIF's Programmer Guide I'm currently trying to reproduce the Resulting Digest using the same entries given in the guide... Here's my code: private string GenerateHashedPassword(string nonce, string created, string password) { byte[] nonceBytes = Encoding.UTF8.GetBytes(nonce); byte[] createdBytes = Encoding.UTF8.GetBytes(created); byte[] passwordBytes = Encoding.UTF8.GetBytes(password); byte[] combined = new byte[createdBytes.Length + nonce.Length

How to get Resulting Disgest with WS-UsernameToken?

不问归期 提交于 2019-12-02 02:57:50
I have the following documentation from the ONVIF's Programmer Guide I'm currently trying to reproduce the Resulting Digest using the same entries given in the guide... Here's my code: private string GenerateHashedPassword(string nonce, string created, string password) { byte[] nonceBytes = Encoding.UTF8.GetBytes(nonce); byte[] createdBytes = Encoding.UTF8.GetBytes(created); byte[] passwordBytes = Encoding.UTF8.GetBytes(password); byte[] combined = new byte[createdBytes.Length + nonce.Length + passwordBytes.Length]; //N-C-P Buffer.BlockCopy(nonceBytes, 0, combined, 0, nonceBytes.Length);

How to generate GetSystemDateAndTime xml

点点圈 提交于 2019-11-28 14:47:13
I have the following bit of code that i took from this source ... public bool Initialise(string cameraAddress, string userName, string password) { bool result = false; try { var messageElement = new TextMessageEncodingBindingElement() { MessageVersion = MessageVersion.CreateVersion(EnvelopeVersion.Soap12, AddressingVersion.None) }; HttpTransportBindingElement httpBinding = new HttpTransportBindingElement() { AuthenticationScheme = AuthenticationSchemes.Digest }; CustomBinding bind = new CustomBinding(messageElement, httpBinding); mediaClient = new MediaClient(bind, new EndpointAddress($"http:/