javaee / metro-wsit

https://javaee.github.io/metro-wsit/
Other
9 stars 24 forks source link

Create Service using updated WSDL example uses incorrect constructur #1128

Open glassfishrobot opened 15 years ago

glassfishrobot commented 15 years ago

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]

glassfishrobot commented 15 years ago

Reported by ritzmann@java.net

glassfishrobot commented 15 years ago

kumarjayanti@java.net said: started

glassfishrobot commented 15 years ago

Was assigned to snajper

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA WSIT-1128