Examples of MethodEndpoint


Examples of org.springframework.ws.server.endpoint.MethodEndpoint

        expect(requestMock.getSoapAction()).andReturn("http://springframework.org/spring-ws/SoapAction2");
        WebServiceMessageFactory factoryMock = createMock(WebServiceMessageFactory.class);
        replay(requestMock, factoryMock);

      Method doItMultiple = MyEndpoint.class.getMethod("doItMultiple");
      MethodEndpoint expected = new MethodEndpoint("endpoint", applicationContext, doItMultiple);

        MessageContext context = new DefaultMessageContext(requestMock, factoryMock);
        EndpointInvocationChain chain = mapping.getEndpoint(context);
        Assert.assertNotNull("MethodEndpoint not registered", chain);
        Assert.assertEquals("Invalid endpoint registered", expected, chain.getEndpoint());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.