eclipse-ee4j / eclipse-ee4j/metro-wsit
Create Service using updated WSDL example uses incorrect constructur
- Dominant language
- Java
- Stars
- 6
- Forks
- 21
- Avg merge
- 10h 2m
- Merged PRs (30d)
- 1
Description
This section:
[https://metro.dev.java.net/guide/](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]
Source: [https://github.com/javaee/metro-wsit/issues/1128](https://github.com/javaee/metro-wsit/issues/1128)
Author: glassfishrobot
Contributor guide
Research direction
Open the Metro guide at the linked “Create Service using updated WSDL” section and inspect the example constructor call. Update the documentation to use the URL-first constructor form shown in the issue, then verify the example matches the JAX-WS-generated service API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100