axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kent Tong (JIRA)" <>
Subject [jira] Created: (AXIS2-754) whitespaces are not trimmed in services.xml
Date Sat, 20 May 2006 11:04:30 GMT
whitespaces are not trimmed in services.xml

         Key: AXIS2-754
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug

  Components: deployment  
    Versions: 1.0    
    Reporter: Kent Tong

If there are whitespaces used in services.xml such as <actionMapping> like:

	<service name="FileService">
		<operation ...>

Then those whitespaces will be included as the action URI. When the client uses the URI without
whitespaces as the WSA action, it will fail to look up the service. Similar situations exist
for other elements like <parameter>.

I find that you're explicitly calling trim() at places where it's needed (eg, trimming the
ServiceClass parameter before loading the class). This is a very dangerous practice. Isn't
it possible to ignore all ignorable whitespaces? For example, something like

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message