Announcement Announcement Module
Collapse
No announcement yet.
xpath mapping Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • xpath mapping

    hi,
    i'm trying to use the xpath mapping to invoke endpoints but when i try to test i have this error
    Code:
     org.springframework.web.servlet.DispatcherServlet
    java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
    my servlet.xml looks loke this
    Code:
    <bean id="xpathPayloadMapping"
    		class="org.springframework.ws.server.endpoint.mapping.XPathPayloadEndpointMapping">
    		<property name="namespaces">
    			<props>
    				<prop key="http://www.exemple.com/ws">tns</prop>
    			</props>
    		</property>
    		<property name="expression" value="/exempleServiceRequest/id/text()" />
    		
    		<property name="mappings" >
    			<props>
    				<prop key="alpha">
    					alphaEndpoint
    				</prop>
    <!--				
    			</props>
    		</property>
    
    	</bean>
    
    
    	<bean (id and class of my endpoint class)/>

  • #2
    XPath is a language for addressing parts of an XML document, designed to be used by both XSLT and XPointer.

    Comment

    Working...
    X