Bug 780364 (SOA-2773)

Summary: CXF: One web service cannot be deployed under two different URLs
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Jiri Pechanec <jpechane>
Component: Documentation, JBossWSAssignee: David Le Sage <dlesage>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.ER6CC: jgraham
Target Milestone: ---   
Target Release: 5.2.0 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2773
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
SOA-P with CXF
Last Closed: 2011-11-15 08:55:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jiri Pechanec 2011-01-14 11:50:34 UTC
Affects: Release Notes
project_key: SOA

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.

Comment 1 John Graham 2011-01-14 14:11:54 UTC
Triage on 1/14: release note item

Comment 2 Anne-Louise Tangring 2011-01-18 02:26:27 UTC
Affects: Added: [Release Notes]


Comment 3 David Le Sage 2011-07-20 03:22:53 UTC
Release Notes Docs Status: Added: Documented as Known Issue
Writer: Added: dlesage


Comment 4 David Le Sage 2011-07-20 03:39:06 UTC
Release Notes Text: Added: 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.


Comment 5 David Le Sage 2011-07-20 03:39:23 UTC
Release note created.

Comment 6 Martin Vecera 2011-11-15 08:55:14 UTC
Verified.