[SWS-557] Make XPathParamAnnotationMethodEndpointAdapter more extendable Created: 26/Aug/09  Updated: 04/May/12  Resolved: 04/Jan/11

Status: Closed
Project: Spring Web Services
Component/s: Core
Affects Version/s: None
Fix Version/s: 2.0 GA

Type: Improvement Priority: Minor
Reporter: Eivind Tagseth Assignee: Arjen Poutsma
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File looserxpathparams.patch    


The supported datatypes for XPathParamAnnotationMethodEndpointAdapter are a bit limiting. Adding support for custom datatypes by extending the class shouldn't be very hard, but some of the key methods and fields are private, making it almost impossible to extend it.

The attached patch turns a few fields and methods from private to protected.

See my other issue for an example extension.


Comment by Eivind Tagseth [ 26/Aug/09 ]

Patch making private fields and methods protected. Patch is created against 1.5.7 but seems to apply cleanly to trunk as well

Comment by Arjen Poutsma [ 04/Jan/11 ]

As of Spring-WS 2.0, the @XPathParam-annotated datatypes can now be converted into any type by using a Spring 3.0 ConversionService.

Comment by Arjen Poutsma [ 04/May/12 ]

Closing old issues

Generated at Wed Oct 17 20:36:42 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.