axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoni Jakubiak (JIRA)" <>
Subject [jira] Commented: (AXIS2-2668) CLONE -whitespaces are not trimmed in services.xml
Date Tue, 15 May 2007 09:17:16 GMT


Antoni Jakubiak commented on AXIS2-2668:

I have the same problem with version 1.2 (axis2) - services.xml

<parameter name="modifyUserWSDLPortAddress" locked="false">


<parameter name="modifyUserWSDLPortAddress" 

> CLONE -whitespaces are not trimmed in services.xml
> --------------------------------------------------
>                 Key: AXIS2-2668
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.0
>            Reporter: Antoni Jakubiak
>         Assigned To: Deepal Jayasinghe
> If there are whitespaces used in services.xml such as <actionMapping> like:
> 	<service name="FileService">
>                  ...
> 		<operation ...>
> 			<actionMapping>
>                         </actionMapping>
> 		</operation>
> 	</service>
> 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.
You can reply to this email to add a comment to the issue online.

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

View raw message