wsimport for Onvif wsdl - no service definition
问题 There are several questions along similar line but none answers this definitively. I'm using wsimport to generate code from a .wsdl file (Onvif's wsdl files). Running wsimport -keep https://www.onvif.org/ver10/device/wsdl/devicemgmt.wsdl -extension -Xnocompile outputs At least one WSDL with at least one service definition needs to be provided. Based on this SO answer I added this service declaration, locally downloaded the onvif.xsd , and common.xsd , modified the path specified for these