title: spring-ws: no endpoint mapping found
body: <p>I made a simple web service but when I'am trying to test it on soapui its giving this error:</p>
  
  <pre><code>WARN : [Oct-11 12:56:38,081] ws.server.EndpointNotFound - No endpoint mapping found for [SaajSoapMessage {http://www.servesy.com/api/v1/service}signupRequest]
  </code></pre>
  
  <p>I do not have any idea what should I do to make it correct, I saw many questions regarding this problem but did not find any solution.</p>
  
  <p>My spring-ws configuration are follows:
  (apart from this configuration I also tried to make simple input output example and that 
  also shows same warning)</p>
  
  <p><strong>web.xml</strong></p>
  
  <pre><code>&lt;web-app 
      &lt;context-param&gt;
          &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
          &lt;param-value&gt;
              /WEB-INF/config/servesy-config.xml
          &lt;/param-value&gt;
      &lt;/context-param&gt;
  
      &lt;listener&gt;
          &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;
      &lt;/listener&gt;
  
      &lt;servlet&gt;
          &lt;servlet-name&gt;servesyservices&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.springframework.ws.transport.http.MessageDispatcherServlet&lt;/servlet-class&gt;
          &lt;init-param&gt;
              &lt;param-name&gt;transformWsdlLocations&lt;/param-name&gt;
              &lt;param-value&gt;true&lt;/param-value&gt;
          &lt;/init-param&gt;
          &lt;init-param&gt;
              &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
              &lt;param-value&gt;&lt;/param-value&gt;
          &lt;/init-param&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;servesyservices&lt;/servlet-name&gt;
          &lt;url-pattern&gt;*.wsdl&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;servesyservices&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/endpoints/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p><strong>servesy-config.xml</strong></p>
  
  <pre><code>&lt;beans 
      &lt;context:component-scan base-package="com.servesy.webservices" /&gt;
      &lt;sws:annotation-driven /&gt;
  
  
      &lt;bean id="ServesyService" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition" lazy-init="true"&gt;
          &lt;property name="schemaCollection"&gt;
              &lt;bean class="org.springframework.xml.xsd.commons.CommonsXsdSchemaCollection"&gt;
                  &lt;property name="inline" value="true" /&gt;
  
                      &lt;property name="xsds"&gt;
                          &lt;list&gt;
                              &lt;value&gt;schemas/ServesyServices.xsd&lt;/value&gt;
                          &lt;/list&gt;
                      &lt;/property&gt;
  
              &lt;/bean&gt;
          &lt;/property&gt;
          &lt;property name="portTypeName" value="ServesyService"/&gt;
          &lt;property name="serviceName" value="ServesyServices" /&gt;
          &lt;property name="locationUri" value="/endpoints"/&gt;
      &lt;/bean&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p><strong>Endpoint</strong></p>
  
  <pre><code>@Endpoint
  public class ServesyWebServiceEndpoint {
  
          private static final String TARGET_NAMESPACE ="http://www.servesy.com/api/v1/service";
  
  
          private ServesyWebService servesyservice_i;
  
          @Autowired
          public void setServesyWebService(ServesyWebService servesyservice_p)
          {
              this.servesyservice_i = servesyservice_p;
          }
  
  
  
          @PayloadRoot(localPart="SignupRequest", namespace=TARGET_NAMESPACE)
          public @ResponsePayload SignupResponse response(SignupRequest signupRequest) {
  
              SignupResponse signupResponse = new SignupResponse();
              Signup signup = servesyservice_i.signupResponse( signupRequest.getMobileNumber(), signupRequest.getPassword(), signupRequest.getCustomerName(), signupRequest.getEmailId(), signupRequest.getPromoCode(), signupRequest.getDevice());
              signupResponse.setSignup(signup);
              return signupResponse;
          }
  
          @PayloadRoot(localPart="LoginRequest", namespace=TARGET_NAMESPACE)
          public @ResponsePayload LoginResponse response(LoginRequest loginRequest) {
  
              LoginResponse loginResponse = new LoginResponse();
              String string = servesyservice_i.signinResponse( loginRequest.getEmailID(), loginRequest.getPassword(), loginRequest.getDevice());
              loginResponse.setSessionId(string);
              return loginResponse;
          }
      }
  </code></pre>
  
  <p>and my soupui gives this type of blank output:
  <img src="https://i.stack.imgur.com/hbBVi.png" alt="enter image description here"></p>