Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-2773

CXF: One web service cannot be deployed under two different URLs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.1.0.ER6
    • Fix Version/s: 5.2.0 GA
    • Component/s: Documentation, JBossWS
    • Labels:
      None
    • Environment:

      SOA-P with CXF

    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      https://issues.jboss.org/browse/SOA-2773

      You cannot deploy a single web service to two different URLs. When the WAR file is deployed, the service will be accessible via only one URL. This is different to the behaviour exhibited when the system is configured to use the native web service.
      Show
      https://issues.jboss.org/browse/SOA-2773 You cannot deploy a single web service to two different URLs. When the WAR file is deployed, the service will be accessible via only one URL. This is different to the behaviour exhibited when the system is configured to use the native web service.
    • Release Notes Docs Status:
      Documented as Known Issue

      Description

      Use webservice_consumer1 test and modify war/resources/WEB-INF/web.xml. Add there
      <servlet-mapping>
      <servlet-name>HelloWorldWS</servlet-name>
      <url-pattern>/HelloWorldWS</url-pattern>
      </servlet-mapping>

      <servlet-mapping>
      <servlet-name>HelloWorldWS</servlet-name>
      <url-pattern>/aa</url-pattern>
      </servlet-mapping>

      When the war file is deployed the service is available only on /aa URL and not on /HelloWorldWS URL. This is different behaviour to configuration with native WS.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dlesage David Le Sage
                Reporter:
                jpechanec Jiri Pechanec
                Writer:
                David Le Sage
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: