Saturday, 15 September 2012

Java Config for Spring Web Service Marshallers -



Java Config for Spring Web Service Marshallers -

i have been trying switch xml configuration java configuration spring web services. element can't seem marshallers.

the xml line:

annotation-driven marshaller="xmlbeansmarshaller" unmarshaller="xmlbeansmarshaller"

should replaced java class annotations: @enablews @configuration, can't seem find how setup marshallers in code.

any ideas?

thanks

marshallers can registered using regular @bean definition. instance, consider this sample app configuration.

spring-ws

No comments:

Post a Comment