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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -