Apache cxf 把 onvif wsdl 转为java代码
wsdl2java -server -d . media.wsdl
[Fatal Error] soap-envelope:1:50: 在 publicId 和 systemId 之间需要有空格。
WSDLToJava Error: org.apache.cxf.wsdl11.WSDLRuntimeException: Fail to create wsdl definition file: xxxxxx media.wsdl: WSDLException (at wsdl:definitions wsdl:types.xs:schema.xs:schema): faultCode=PARSER_ERROR: Problem parsing 'http:。www.w3.org.2003.05.soap-envelope'.: org.xml.sax.SAXParseException: 在 publicId 和 systemId 之间需要有空格。
用Apache cxf 转 自己写的web service 是可以的 但是用它转 onvif的就会报这个错误
生成我所需要的java代码