Right now, the easiest way to get this fix is to grab Apache SOAP from CVS and built
it yourself. I have fixed the source, but I am not creating any distributions until I
have updated the Apache license.
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to
Simple fix is to use string.trim() to trim any white spaces.
String s = "3957 ";
int i = Integer.parseInt(s.trim());
Hope this helps.
-Daniel
[EMAIL PROTECTED] wrote:
Hi,
Has there been any fix implemented for the bug mentioned in this
mailing list where Apache SOAP specifically does not s
pretty urgent for us.
>
> thanks in advance
>
> Malte
>
> -Ursprüngliche Nachricht-
> Von: Scott Nichol [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 14. Januar 2004 22:08
> An: [EMAIL PROTECTED]
> Betreff: Re: NumberFormatException parsing HTTP-Header
>
This is a bug in Apache SOAP. The HTTP 1.1 spec says about Message Headers
The field-content does not include any leading or trailing LWS: linear
white space occurring before the first non-whitespace character of the
field-value or after the last non-whitespace character of the field