Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3479

Implement @org.jboss.ws.api.annotation.WebContext support for POJO endpoints

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Obsolete
    • Major
    • None
    • None
    • jbossws-integration
    • None

    Description

      We support @WebContext on EJB endpoints now.
      Since Servlet 3.0 spec allows web deployments
      without web.xml it is worth to support this annotation
      also on POJO WS endpoints.
      There are however two restrictions that must be ensured.
      If there are multiple WS endpoints in web archive
      all annotated with @WebContext annotation then the following
      restriction must apply:

      • contextRoot value must be the same for all @WebContext annotated endpoints
      • virtualHost value must be the same for all @WebContext annotated endpoints
      • if there's provided jboss-web.xml or jboss-webservices.xml with context root in deployment
        this DD driven context root will have higher priority than context root specified in annotations.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ropalka Richard Opalka
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: