I am trying to get wsdl from this. Getting this error
Exception occurred executing command line. Cannot run program "C:\Program Files\Java\jdk1.8.0_171\bin\javaw.exe" (in directory "C:\Users\EMUKTAT\Project1\TestMart"): CreateProcess error=206, The filename or extension is too long
Here is the code:
public class TestMartpublisher {
public static void main(String[] args) {
// TODO Auto-generated method stub
Endpoint.publish("http://localhost:58065/prod", new ProductCatalog());
}