XFire

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

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.2.4
  • Fix Version/s: 1.2.5
  • Component/s: None
  • Labels:
    None
  • 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
  • Number of attachments :
    0

Description

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.

Activity

Hide
Tomasz Sztelak added a comment -

Fixed in svn

Show
Tomasz Sztelak added a comment - Fixed in svn

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: