[jboss-jira] [JBoss JIRA] (WFLY-3187) Can't deploy same webservice endpoint impl with different url pattern

Jim Ma (JIRA) issues at jboss.org
Fri Mar 28 05:56:12 EDT 2014


Jim Ma created WFLY-3187:
----------------------------

             Summary: Can't deploy same webservice endpoint impl with different url pattern
                 Key: WFLY-3187
                 URL: https://issues.jboss.org/browse/WFLY-3187
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Web Services
            Reporter: Jim Ma
            Assignee: Jim Ma
             Fix For: 8.0.1.Final


After WFLY-3067 change, CustomerServiceImpl can only be deployed with address http://localhost:8080/webcontext/test1. It should be started with /test2 urlPattern too.
{code:xml}
<?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>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list