axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaliya Ekanayake (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-2668) CLONE -whitespaces are not trimmed in services.xml
Date Mon, 11 Jun 2007 18:45:26 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jaliya Ekanayake updated AXIS2-2668:
------------------------------------

    Priority: Blocker  (was: Major)

> CLONE -whitespaces are not trimmed in services.xml
> --------------------------------------------------
>
>                 Key: AXIS2-2668
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2668
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.0
>            Reporter: Antoni Jakubiak
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message