spring-ws icon indicating copy to clipboard operation
spring-ws copied to clipboard

XmlRootElementPayloadMethodProcessor supports requests annotated with XmlType, but not responses annotated with XmlType [SWS-953]

Open gregturn opened this issue 9 years ago • 0 comments

Alex Hutnik opened SWS-953 and commented

In XmlRootElementPayloadMethodProcessor, supportsRequestPayloadParameter() supports both XmlRootElement-annotated classes and XmlType-annotated classes. However, supportsResponsePayloadReturnType supports only XmlRootElement-annotated classes.

My XSD's types are all named (that is, no anonymous types in my XSD), so their generated-class equivalents are annotated with XmlType, not XmlRootElement. This bug is preventing me from using my return types.


Affects: 2.2.3

gregturn avatar Mar 25 '16 18:03 gregturn