ws-discovery

gSoap实现ONVIF的设备发现(windows下)

妖精的绣舞 提交于 2020-04-24 06:54:41
一、要准备的文件: 1.ONVIF相关的WSDL文件,对于设备发现,只需要用到 RemoteDiscovery.wsdl一个即可, 2.gSoap的压缩包,找到/gsoap/bin/win32文件夹中的soapcpp2.exe以及wsdl2h.exe,以及在/gSoap目录下的typemap.dat文件,将这些文件放到一个文件夹下。 二、对typemap.bat进行修改, tds = "http://www.onvif.org/ver10/device/wsdl" tev = "http://www.onvif.org/ver10/events/wsdl" tls = "http://www.onvif.org/ver10/display/wsdl" tmd = "http://www.onvif.org/ver10/deviceIO/wsdl" timg = "http://www.onvif.org/ver20/imaging/wsdl" trt = "http://www.onvif.org/ver10/media/wsdl" tptz = "http://www.onvif.org/ver20/ptz/wsdl" trv = "http://www.onvif.org/ver10/receiver/wsdl" trc = "http://www.onvif.org

What should be used for WCF service monitoring ? WMI or WS-Discovery [closed]

泄露秘密 提交于 2019-12-11 14:05:24
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Can you tell that which is the best tool to monitor WCF services, WMI or WS-Discovery implementation. 回答1: The requirements look easy,

WCF discovery in UWP app

限于喜欢 提交于 2019-12-11 13:55:30
问题 I've created an universal app that connects to a WCF webservice at intranet, an it's working just fine, since the address of the service's host is known. The system's architecture allows to be more than one webservice running, in different hosts, for performance and security (redundancy) reasons. So I'm trying to make my app discover every service, with the given contract, that is been running on the same LAN, but I can't manage to do that. I'm trying the same approach used at a very similar

WS-Discovery for cameras on different logical network

Deadly 提交于 2019-12-11 12:03:56
问题 I have a unit running python that needs to use ws-discovery to locate onvif cameras that may be on different logical networks. Does anyone know if this is possible? (I got discovery on same logical networks working using this library: https://github.com/hlamer/python-ws-discovery/blob/master/WSDiscovery.py) After a bit of searching, I came across 'remote discovery proxies' which sounds promising, but I cant figure out what they are exactly. 回答1: ONVIF Core specification Section 7.4.2

WS-Discovery with Apache CXF. How to specify device type?

岁酱吖の 提交于 2019-12-04 18:57:06
I'm going to use Apache CXF for ONVIF-compatible ip camera service. It uses WS-Discovery to find devices and services and cxf supports it out-of-box: The cxf-services-ws-discovery-service jar will register a ServerLifecyleListener that will automatically publish the "Hello" messages. It will also respond to any Probe requests that match the services it has published. How will cxf detect device type to send in ProbeMatches response? How can i specify that my device is ip camera (i need to set concrete device type in ProbeMatches response, NetworkVideoTransmitter for example)? After looking into

How to discover onvif devices in C#

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 18:21:12
问题 I'm developing an application that will probe ONVIF devices attached on network for auto-discovery. According to ONVIF Core specification SOAP format of Probe message is : <?xml version="1.0" encoding="UTF-8"?> <e:Envelope xmlns:e="http://www.w3.org/2003/05/soap-envelope" xmlns:w="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"> <e:Header> <w:MessageID>uuid:84ede3de-7dec-11d0-c360

How to discover onvif devices in C#

不想你离开。 提交于 2019-12-03 12:06:00
I'm developing an application that will probe ONVIF devices attached on network for auto-discovery. According to ONVIF Core specification SOAP format of Probe message is : <?xml version="1.0" encoding="UTF-8"?> <e:Envelope xmlns:e="http://www.w3.org/2003/05/soap-envelope" xmlns:w="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:d="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:dn="http://www.onvif.org/ver10/network/wsdl"> <e:Header> <w:MessageID>uuid:84ede3de-7dec-11d0-c360-f01234567890</w:MessageID> <w:To e:mustUnderstand="true">urn:schemas-xmlsoap-org:ws:2005:04:discovery</w

WS-Discovery Implementations for Java [closed]

天大地大妈咪最大 提交于 2019-12-01 05:16:56
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Are there any implementations of the WS-Discovery specification for JAX-WS RI, Axis2, CXF or other toolkits? 回答1: The only Java-implementation that I know of is this one: http://code.google.com/p/java-ws-discovery/ There are JAX-WS examples in the Wiki. 回答2: At the time of the question CXF was not supporting WS

How to generate SOAP 1.2 binding for wsdl using wsdl2java?

≡放荡痞女 提交于 2019-12-01 00:30:30
问题 I brief: How can i make wsdl2java generate SOAP 1.2 binding? Detailed description: I have generated java service classes for wsdl using wsdl2java tool (apache cxf 3.0.2): MBA-Anton:bin asmirnov$ ./wsdl2java -server -catalog /tmp/wsdl/catalog -d /tmp/onvif/server http://www.onvif.org/onvif/ver10/network/wsdl/remotediscovery.wsdl Then i've created service code and run it, it's running: public static void main(String args[]) throws InterruptedException { System.out.println("Starting Server");