Generally you would publicize the WSDL of the service(s), and point to it from some web page that explains how to use the service. Or you'd publicize the WSDL, but send its address only to those people you want to be able to connect to it. In the latter case
you should also use some form of authentication.
It's still possible to use UDDI, of course. There are two
java libraries that implement it (jUDDI and UDDI4j).