spring-ws
spring-ws copied to clipboard
XmlRootElementPayloadMethodProcessor supports requests annotated with XmlType, but not responses annotated with XmlType [SWS-953]
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