This section:
https://metro.dev.java.net/guide/
How_to_invoke_and_endpoint_by_overriding_endpoint_address_in_the_WSDL.html#Create_Service_using_updated_WSDL
Has this example:
HelloService service = new HelloService(serviceName, "http://new/
endpointaddress?wsdl");
However JAX-WS does not generate a constructor that takes these parameters in
this order. It should say instead:
This section: https://metro.dev.java.net/guide/ How_to_invoke_and_endpoint_by_overriding_endpoint_address_in_the_WSDL.html#Create_Service_using_updated_WSDL
Has this example:
HelloService service = new HelloService(serviceName, "http://new/ endpointaddress?wsdl");
However JAX-WS does not generate a constructor that takes these parameters in this order. It should say instead:
HelloService service = new HelloService(new URL("http://new/endpointaddress? wsdl"), serviceName);
Environment
Operating System: All Platform: All
Affected Versions
[current]