spring-projects / spring-projects/spring-ws
Allow default payload namespace is be specified on endpoint class [SWS-530]
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 346
- Forks
- 323
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 7
Description
Kenny MacLeod opened SWS-530 and commented
Say I have an @Endpoint-annotated class with several @PayloadRoot-annotated methods. Each @PayloadRoot specifies the same namespace. It can start to look messy and cluttered, and is certainly adding redundant boilerplate to the code.
It would be nice if you could specify this namespace once at the class level, either on the @Endpoint annotation , or by allowing @PayloadRoot to be added at the class level, or using a new annotation altogether.
Affects: 1.5.7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by tracing how @Endpoint and @PayloadRoot are processed, then clarify which class-level namespace approach is intended; done means repeated method-level namespaces can be inherited without breaking existing behavior and the new form is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100