devicemgmt.wsdl is not associated with the discovery process, the ONVIF discovery process is based on http://specs.xmlsoap.org/ws/2005/04/discovery , it uses SOAP over UDP.
If you are using apache-cxf, this can be achieved with
org.apache.cxf.ws.discovery.WSDiscoveryClient
A simple code example 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();
source share