Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3187

Can't deploy same webservice endpoint impl with different url patterns

XMLWordPrintable

      After WFLY-3067 change, CustomerServiceImpl can only be deployed with address http://localhost:8080/webcontext/test1. It should be started with /test2 urlPattern too.

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
        version="2.4">
        <servlet>
          <servlet-name>TestService</servlet-name>
          <servlet-class>org.jboss.test.ws.jaxws.samples.webresult.CustomerServiceImpl</servlet-class>
        </servlet>
        <servlet-mapping>
          <servlet-name>TestService</servlet-name>
          <url-pattern>/test1/*</url-pattern>
        </servlet-mapping>
        <servlet>
          <servlet-name>TestService2</servlet-name>
          <servlet-class>org.jboss.test.ws.jaxws.samples.webresult.CustomerServiceImpl</servlet-class>
        </servlet>
        <servlet-mapping>
          <servlet-name>TestService2</servlet-name>
          <url-pattern>/test2/*</url-pattern>
        </servlet-mapping>
      </web-app>
      

              rhn-engineering-ema Jim Ma
              rhn-engineering-ema Jim Ma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: