Announcement Announcement Module
Collapse
No announcement yet.
No Endpoint detected across Contexts with PayloadRootAnnotationMethodEndpointMapping Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • No Endpoint detected across Contexts with PayloadRootAnnotationMethodEndpointMapping

    Hello,

    I have a jar, which contains my POJO services(say services.jar). I have another jar, which contains my spring config (spring-config.jar). I put these in a single war along with endpoints (in WEB-INF/lib) (myapp.war).

    My context loader loads PayloadRootAnnotationMethodEndpointMapping, endpoints are detected. However, they are not detected through myapp.war (using service-servlet.xml). I have also tried with property detectEndpointsInAncestorContexts as true.

    Am i doing anything wrong?

    This is the entry for PayloadRootAnnotationMethodEndpointMapping:

    <!-- ENDPOINT MAPPINGS -->
    <bean id="payloadAnnotationEndpointMapping"
    class="org.springframework.ws.server.endpoint.mapp ing.PayloadRootAnnotationMethodEndpointMapping">
    <property name="interceptors">
    <ref bean="interceptorList" />
    </property>
    <property name="detectEndpointsInAncestorContexts" value="true" />
    </bean>

    Am i doing anything wrong here?
Working...
X