History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-877
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Tomasz Sztelak
Reporter: Klaus Brunner
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XFire

service names with leading/trailing whitespace/newlines in services.xml

Created: 14/Feb/07 04:47 AM   Updated: 18/Feb/07 01:57 PM
Component/s: None
Affects Version/s: 1.2.4
Fix Version/s: 1.2.5

Time Tracking:
Not Specified

Environment:
IBM Websphere Application Server 6.0.2.13
J2RE 1.4.2 IBM Windows 32 build cn142-20060421 (SR5)
Using Maven "xfire-all" dependency


 Description  « Hide
XFire should strip any leading and trailing whitespace from the service name.

The following "pretty-printed" services.xml leads to erratic behaviour at runtime (the service cannot be accessed, the services overview page exhibits strange "growing URL" effects when trying browse the WSDL). This is apparently caused by leading/trailing whitespace and/or newline characters that are not stripped from the service name element as one would normally expect.

<beans xmlns="http://xfire.codehaus.org/config/1.0">
<service>
<name>
sv-haushalt-personen
</name>
<serviceClass>
at.xyz.sv.haushalt.personen.service.Personen
</serviceClass>
...
</beans>

Note that there is no such problem with the serviceClass and implementationClass elements.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Tomasz Sztelak - 18/Feb/07 01:57 PM
Fixed in svn