spring ws - PayloadRootAnnotationMethodEndpointMapping not working -


i have pojo annotated @endpoint , @payloadroot , have payloadrootannotationmethodendpointmapping in spring configuration file getting error "no adapter found".

you need both endpointmapping (which tells spring-ws which endpoint invoke), , endpointhandler (which tells spring-ws how invoke it).

you have first 1 (the payloadrootannotationmethodendpointmapping), need endpointhandler, such payloadmethodendpointadapter.

from spring-ws 2.0 onwards, can declare <sws:annotation-driven/>, , it'll taken care of (see docs details).


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -