Bug 780364 (SOA-2773) - CXF: One web service cannot be deployed under two different URLs
Summary: CXF: One web service cannot be deployed under two different URLs
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2773
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: Documentation, JBossWS
Version: 5.1.0.ER6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.2.0 GA
Assignee: David Le Sage
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-14 11:50 UTC by Jiri Pechanec
Modified: 2011-11-15 08:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
SOA-P with CXF
Last Closed: 2011-11-15 08:55:14 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2773 0 Major Closed CXF: One web service cannot be deployed under two different URLs 2014-07-25 18:19:00 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.