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

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jbossws-integration
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ropalka Richard Opalka
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: