Atitit webservice的发现机制 discover机制
来源:互联网 发布:远程软件哪个好用mac 编辑:程序博客网 时间:2024/05/16 03:19
Atitit webservice的发现机制discover机制
1.1.Ws disconvert 的组播地址和端口就是37021
1.2.Ws disconvert的发现机制建立在udp组播基础上2
1.1. Ws disconvert 的组播地址和端口就是3702
关于cxf报:Cannot create URL for this address soap.udp://239.255.255.250:3702的原因
the ONVIF discovery process is based onhttp://specs.xmlsoap.org/ws/2005/04/discovery it use SOAP over UDP.
If you are using apache-cxf, this can be achieve using
org.apache.cxf.ws.discovery.WSDiscoveryClient
A simple sample code could be :
import java.util.List;
import javax.xml.ws.EndpointReference;
import org.apache.cxf.ws.discovery.WSDiscoveryClient;
public class Main
{
public static void main(String[] args)
{
WSDiscoveryClient client = new WSDiscoveryClient();
client.setVersion10(); // use WS-discovery 1.0
client.setDefaultProbeTimeout(1000); // timeout 1s
System.out.println("Probe:" + client.getAddress());
List<EndpointReference> references = client.probe();
System.out.println("Nb answsers:" + references.size());
for (EndpointReference ref : references)
{
System.out.println(ref.toString());
}
}
}
Probe is :soap.udp://239.255.255.250:3702
Nb answsers:1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><EndpointReference xmlns="http://www.w3.org/2005/08/addressing"><Address>http://192.168.31.144:10080/onvif/device_service</Address><ReferenceParameters/></EndpointReference>
1.2. Ws disconvert的发现机制建立在udp组播基础上
作者:: 绰号:老哇的爪子claw of Eagle 偶像破坏者Iconoclast image-smasher
捕鸟王"Bird Catcher 王中之王King of Kings 虔诚者Pious 宗教信仰捍卫者 Defender of the Faith. 卡拉卡拉红斗篷 Caracalla red cloak
简称:: EmirAttilax Akbar 埃米尔 阿提拉克斯 阿克巴
全名::EmirAttilax Akbar binMahmud bin attila binSolomon bin adam Al Rapanui
埃米尔阿提拉克斯 阿克巴 本马哈茂德 本 阿提拉本 所罗门 本亚当 阿尔 拉帕努伊
常用名:艾提拉(艾龙), EMAIL:1466519819@qq.com
头衔:uke总部o2o负责人,全球网格化项目创始人,uke宗教与文化融合事务部部长,Uke部落首席大酋长,uke制度与重大会议委员会委员长,uke保安部首席大队长,uke制度检查委员会副会长,奶牛科技cto,uke波利尼西亚区大区连锁负责人,克尔格伦群岛区连锁负责人,莱恩群岛区连锁负责人,uke汤加王国区域负责人。布维岛和南乔治亚和南桑威奇群岛大区连锁负责人
转载请注明来源:attilax的专栏 http://blog.csdn.net/attilax
--Atiend
- Atitit webservice的发现机制 discover机制
- Atitit webservice发现机制 WS-Discovery标准的规范attilax总结
- WebService的缓存机制
- WebService 的缓存机制
- WebService 的缓存机制
- Atitit.异常机制的设计原理
- Atitit.事件机制 与 消息机制的联系与区别
- Atitit View事件分发机制
- Atitit xml命名空间机制
- atitit...触发器机制 ltrigger mechanism sumup .的总结O8f
- Atitit 异常机制与异常处理的原理与概论
- Atitit 异常机制与异常处理的原理与概论
- windows消息机制的有趣发现
- Feature Pack 3 的发现(Discover )能力
- webservice的安全机制1---users.lst
- webservice的安全机制2---handler实现
- webservice的安全机制3---Filter
- 讨论WebService安全机制的几篇博文
- Elixir 将bitstring或list转为整型数
- android基础-界面代码
- java关于发送邮件的一些常见问题分享
- 汇编语言:课程设计1
- 响应式和自适应的区别(转)
- Atitit webservice的发现机制 discover机制
- TCP三次握手四次挥手过程分析
- spring+mybatis+quart2定时发送邮件
- Spring MVC + Redis 使用Maven
- ADB - adb push/pull 真机和PC的数据传输
- Unity ios下播放视频文件
- 对AngularJs指令的初步认识
- UE4的C++代码中的class关键字起什么作用?
- 用户注册和登录案例