Petals BC SOAP

When engaging the module Rampart, the module Addressing is automatically engaged

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 4.0.8
  • Fix Version/s: 4.1
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    When engaging the module Rampart or any other module except Adressing, the module Addressing is automatically engaged.

    See the class SoapSUManager.getModules(), svn#28969:

    private List<String> getModules(final ConfigurationExtensions extensions) {
    	final List<String> result = new ArrayList<String>();
    
    	// get modules from extension
    	final String token = extensions.get(MODULES);
    
    	if (token != null) {
    		// get individual modules values
    		final StringTokenizer st = new StringTokenizer(token, ",");
    		result.add(Constants.MODULE_ADDRESSING);
    		while (st.hasMoreTokens()) {
    			result.add(st.nextToken().trim());
    		}
    	}
    	return result;
    }

    The module WS-Addressing is engaged when the parameter of the JBI descriptor modules is set.

    Show
    When engaging the module Rampart or any other module except Adressing, the module Addressing is automatically engaged. See the class SoapSUManager.getModules(), svn#28969:
    private List<String> getModules(final ConfigurationExtensions extensions) {
    	final List<String> result = new ArrayList<String>();
    
    	// get modules from extension
    	final String token = extensions.get(MODULES);
    
    	if (token != null) {
    		// get individual modules values
    		final StringTokenizer st = new StringTokenizer(token, ",");
    		result.add(Constants.MODULE_ADDRESSING);
    		while (st.hasMoreTokens()) {
    			result.add(st.nextToken().trim());
    		}
    	}
    	return result;
    }
    The module WS-Addressing is engaged when the parameter of the JBI descriptor modules is set.
  • Environment:
    -

Activity

Christophe DENEUX made changes - Tue, 18 Oct 2011 - 13:28:39 +0200
Field Original Value New Value
Priority Blocker [ 1 ]
Description When engaging the module Rampart or any other module except Adressing, the module Addressing is automatically engaged.

See the class SoapSUManager.getModules():
{code}
private List<String> getModules(final ConfigurationExtensions extensions) {
final List<String> result = new ArrayList<String>();

// get modules from extension
final String token = extensions.get(MODULES);

if (token != null) {
// get individual modules values
final StringTokenizer st = new StringTokenizer(token, ",");
result.add(Constants.MODULE_ADDRESSING);
while (st.hasMoreTokens()) {
result.add(st.nextToken().trim());
}
}
return result;
}
{code}
The module WS-Addressing is engaged when the parameter of the JBI descriptor {{modules}} is set.
When engaging the module Rampart or any other module except Adressing, the module Addressing is automatically engaged.

See the class SoapSUManager.getModules(), svn#28969:
{code}
private List<String> getModules(final ConfigurationExtensions extensions) {
final List<String> result = new ArrayList<String>();

// get modules from extension
final String token = extensions.get(MODULES);

if (token != null) {
// get individual modules values
final StringTokenizer st = new StringTokenizer(token, ",");
result.add(Constants.MODULE_ADDRESSING);
while (st.hasMoreTokens()) {
result.add(st.nextToken().trim());
}
}
return result;
}
{code}
The module WS-Addressing is engaged when the parameter of the JBI descriptor {{modules}} is set.
Christophe DENEUX made changes - Tue, 18 Oct 2011 - 13:46:42 +0200
Priority Blocker [ 1 ] Major [ 3 ]
Adrien Ruffie made changes - Thu, 15 Dec 2011 - 14:23:34 +0100
Assignee Nicolas Oddoux [ noddoux ] Adrien Ruffie [ aruffie ]
Hide
Christophe DENEUX added a comment - Thu, 15 Dec 2011 - 16:02:03 +0100 - edited

As mentionned in PETALSBCSOAP-96:

Already fixed in the version 4.1.

The module is always engaging in Axis2 as it is only possible to engage it globally (http://axis.apache.org/axis2/java/core/docs/adv-userguide.html). Thus it is not possible to control it with the parameter modules.

But it is possible to enable/disable the WS-Addressing for a specific service with the parameter enable-wsa in the version 4.1 (By default, it is disabled).

So, the module 'addressing' must be always engaged, add should be automatically added if the module list does not contain it.

Show
Christophe DENEUX added a comment - Thu, 15 Dec 2011 - 16:02:03 +0100 - edited As mentionned in PETALSBCSOAP-96:
Already fixed in the version 4.1. The module is always engaging in Axis2 as it is only possible to engage it globally (http://axis.apache.org/axis2/java/core/docs/adv-userguide.html). Thus it is not possible to control it with the parameter modules. But it is possible to enable/disable the WS-Addressing for a specific service with the parameter enable-wsa in the version 4.1 (By default, it is disabled).
So, the module 'addressing' must be always engaged, add should be automatically added if the module list does not contain it.
Christophe DENEUX made changes - Thu, 15 Dec 2011 - 16:04:01 +0100
Assignee Adrien Ruffie [ aruffie ] Christophe DENEUX [ cdeneux ]
Christophe DENEUX made changes - Thu, 15 Dec 2011 - 16:04:57 +0100
Status New [ 10000 ] Open [ 10002 ]
Christophe DENEUX made changes - Thu, 15 Dec 2011 - 16:05:14 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Thu, 15 Dec 2011 - 16:05:53 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 4.1_4.0 [ 10269 ]
Resolution Won't Fix [ 2 ]
Sébastien Rebiere made changes - Thu, 16 Feb 2012 - 17:06:33 +0100
Fix Version/s 4.1 [ 10186 ]
Fix Version/s 4.1_4.0 [ 10269 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
58d 3h 36m
1
Christophe DENEUX
Thu, 15 Dec 2011 - 16:04:57 +0100
Open Open In Progress In Progress
17s
1
Christophe DENEUX
Thu, 15 Dec 2011 - 16:05:14 +0100
In Progress In Progress Resolved Resolved
39s
1
Christophe DENEUX
Thu, 15 Dec 2011 - 16:05:53 +0100



People

Dates

  • Created:
    Tue, 18 Oct 2011 - 13:28:00 +0200
    Updated:
    Thu, 16 Feb 2012 - 17:06:33 +0100
    Resolved:
    Thu, 15 Dec 2011 - 16:05:53 +0100