问题描述
我使用ONVIF标准,我使用gSoap来生成许多骨架和存根文件。在阅读ONVIF应用程序员指南后,现在我想做一个伪服务器来测试从我的客户端代码调用的getCapabilities函数(也是其他),是否有任何教程指导我或任何设备,我可以用来获得我的目的?
I'm working with ONVIF standard and i have use gSoap to generate many skeleton and stub files. After reading ONVIF application programmer's guide, now I want to make a pseudo server for testing the getCapabilities function( also others) called from my client code, is there any tutorial to guide me through or any device that i can use to acquire my purpose?
推荐答案
您可以查看以下两个文件:
You can check these two documents:
- Generating ONVIF Proxy Classes using gSOAP
- Developing an ONVIF C++ Client Application
第一个显示如何将gSoap与ONVIF wsdl文件一起使用,以使用生成的类。
The first one shows you how to use gSoap with the ONVIF wsdl files, the second one shows how to use the generated classes.
这篇关于使用gSoap和ONVIF标准为getCapabilities函数创建伪服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!