ONVIF can not open某个文件时 解决方法
2017-03-20 18:29
375 查看
root@dtop:/home/openwrt/onvif-mips#wsdl2h -o onvif.h -c -s -t ./typemap.dat ./onvif.xsd
./devicemgmt.wsdl
Saving onvif.h
** The gSOAP WSDL/WADL/XSD processor for C and C++, wsdl2h release 2.8.43
** Copyright (C) 2000-2017 Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", withoutany warranty.
** The wsdl2h tool and its generated software are released under the GPL.
** ----------------------------------------------------------------------------
**
Acommercial use license is available from Genivia Inc., contact@genivia.com
** ----------------------------------------------------------------------------
Reading type definitions from type map"./typemap.dat"
Reading './onvif.xsd'...
Connecting to 'http://docs.oasis-open.org/wsn/b-2.xsd' to retrieveschema... connected,
receiving...
Connecting to 'http://docs.oasis-open.org/wsrf/bf-2.xsd' to retrieveschema... connected,
receiving...
Done reading 'http://docs.oasis-open.org/wsrf/bf-2.xsd'
Connecting to 'http://docs.oasis-open.org/wsn/t-1.xsd' to retrieveschema... connected,
receiving...
Done reading 'http://docs.oasis-open.org/wsn/t-1.xsd'
Done reading 'http://docs.oasis-open.org/wsn/b-2.xsd'
Done reading './onvif.xsd'
Reading './devicemgmt.wsdl'...
Cannot open'../../../ver10/schema/onvif.xsd' to retrieve schema
解决方法:打开wsdl文件,将网络地址改为当前下载的后地址(即是你已经下载下来的文件,随便你放,但路径要对)
vi devicemgmt.wsdl
<xs:schematargetNamespace="http://www.onvif.org/ver10/device/wsdl"xmlns:tt="http://www.onvif.org/ver10/schema"xmlns:tds="http://www.onvif.org/ver10/device/wsdl"
elementFormDefault="qualified"version="16.06">
<!--
<xs:importnamespace="http://www.onvif.org/ver10/schema"schemaLocation="../../../ver10/schema/onvif.xsd"/>-->
<xs:importnamespace="http://www.onvif.org/ver10/schema"schemaLocation="./onvif.xsd"/>
root@dtop:/home/openwrt/onvif-mips#wsdl2h -o onvif.h -c -s -t ./typemap.dat ./onvif.xsd
./devicemgmt.wsdl
Saving onvif.h
** The gSOAP WSDL/WADL/XSD processor for C and C++, wsdl2h release 2.8.43
** Copyright (C) 2000-2017 Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", withoutany warranty.
** The wsdl2h tool and its generated software are released under the GPL.
** ----------------------------------------------------------------------------
**
Acommercial use license is available from Genivia Inc., contact@genivia.com
** ----------------------------------------------------------------------------
Reading type definitions from type map"./typemap.dat"
Reading './onvif.xsd'...
Connecting to 'http://docs.oasis-open.org/wsn/b-2.xsd' to retrieveschema... connected,
receiving...
Connecting to 'http://docs.oasis-open.org/wsrf/bf-2.xsd' to retrieveschema... connected,
receiving...
Done reading 'http://docs.oasis-open.org/wsrf/bf-2.xsd'
Connecting to 'http://docs.oasis-open.org/wsn/t-1.xsd' to retrieveschema... connected,
receiving...
Done reading 'http://docs.oasis-open.org/wsn/t-1.xsd'
Done reading 'http://docs.oasis-open.org/wsn/b-2.xsd'
Done reading './onvif.xsd'
Reading './devicemgmt.wsdl'...
Cannot open'../../../ver10/schema/onvif.xsd' to retrieve schema
解决方法:打开wsdl文件,将网络地址改为当前下载的后地址(即是你已经下载下来的文件,随便你放,但路径要对)
vi devicemgmt.wsdl
<xs:schematargetNamespace="http://www.onvif.org/ver10/device/wsdl"xmlns:tt="http://www.onvif.org/ver10/schema"xmlns:tds="http://www.onvif.org/ver10/device/wsdl"
elementFormDefault="qualified"version="16.06">
<!--
<xs:importnamespace="http://www.onvif.org/ver10/schema"schemaLocation="../../../ver10/schema/onvif.xsd"/>-->
<xs:importnamespace="http://www.onvif.org/ver10/schema"schemaLocation="./onvif.xsd"/>
相关文章推荐
- dnw下载文件时can not open /dev/secbulk0的解决方法
- 关于Can not update .ICEauthority文件解决方法
- C#操作Lotus notes .nsf文件时弹出“notes error: can not open the id file”的解决办法
- 关于Can not update .ICEauthority文件解决方法
- 关于写入文件缓存时报"java.io.FileNotFoundException open failed (is a director)"错误的解决方法
- 关于Can not update .ICEauthority文件解决方法
- greenplum集群发生了某个节点报“could not open relation 1663/16384/32749972: 无此文件或目录”后再无法启动后的一个解决方法-唐成
- 关于PC机Linux (我的是红帽6.3)下使用dnw进行USB下载出现:can not open /dev/secbulk0解决方法
- 关于 can not find hdf5.h(hdf5:没有那个文件或目录)的解决方法
- 关于Can not update .ICEauthority文件解决方法
- 华硕笔记本激活WIN7时出现Can not open file C:/ Recovery.dat解决方法
- 关于Can not update .ICEauthority文件解决方法
- Could not open ServletContext resource [/WEB-INF/applicationContext.xml]解决方法
- Visual Studio 2010 安装“deffactory.dat can not open” 的解决办法
- Error: could not open `C:/Program Files/Java/jre6/lib/i386/jvm.cfg'之解决方法
- ASM 实例 ORA-15063 ORA-15186 ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted] 解决方法
- 错误提示:/usr/bin/ld:can not find -lqte 的解决方法
- ASM 实例 ORA-15063 ORA-15186 ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted] 解决方法
- 【转】Could not open ServletContext resource [/WEB-INF/applicationContext.xml]解决方法
- ASM 实例 ORA-15063 ORA-15186 ASMLIB error function = [asm_open], error = [1], mesg = [Operation not permitted] 解决方法