You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2006/06/07 09:01:31 UTC

[jira] Resolved: (AXIS2-754) whitespaces are not trimmed in services.xml

     [ http://issues.apache.org/jira/browse/AXIS2-754?page=all ]
     
Deepal Jayasinghe resolved AXIS2-754:
-------------------------------------

    Resolution: Fixed

fixed in current SVN

> whitespaces are not trimmed in services.xml
> -------------------------------------------
>
>          Key: AXIS2-754
>          URL: http://issues.apache.org/jira/browse/AXIS2-754
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: deployment
>     Versions: 1.0
>     Reporter: Kent Tong
>     Assignee: Deepal Jayasinghe

>
> If there are whitespaces used in services.xml such as <actionMapping> like:
> 	<service name="FileService">
>                  ...
> 		<operation ...>
> 			<actionMapping>
>                                  http://foo.com/FileService/upload
>                         </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 http://www.jdom.org/pipermail/jdom-interest/2004-December/014464.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org