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 Davanum Srinivas <di...@yahoo.com> on 2002/10/28 13:54:58 UTC

Re: HTTPSender

Forwarding this to axis-dev mailing list.

Thanks,
dims

--- Paul Hunnisett <de...@lombok.org.uk> wrote:
> I have recently been examining the source code for Apache Axis and I
> have come across some code that has confused me.  In HTTPSender
> readFromSocket() method, some parsing is done of a String which is
> retrieved as a constant value returning a default character encoding. 
> This results in some integers being generating that are then wrapped in
> Integer objects.  I have been attempting to write  a server which will
> run Axis, but have always had a NumberFormatException thrown at this
> point.  Looking at the code, I struggle to see how it is possible to not
> get a NumberFormatException, but Axis on Tomcat does not seem to have
> the same problems that I have been having.  Are you able to shed some
> light on what this code should result in.  Does it use any of the
> servlet spec implementation of the underlying server?
> 
> Any help that you can provide would be gratefully received.
> 
> Regards
> 
> Paul Hunnisett
> www.lombok.org.uk
> 
> 
> 
> 


=====
Davanum Srinivas - http://xml.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

RE: HTTPSender

Posted by Manoj Sharma <sh...@rogers.com>.
Thanks. Ill give it a try.

-----Original Message-----
From: Steve Loughran [mailto:steve_l@iseran.com]
Sent: Monday, October 28, 2002 12:40 PM
To: axis-dev@xml.apache.org
Subject: Re: HTTPSender



----- Original Message -----
From: "Manoj Sharma" <sh...@rogers.com>
To: <ax...@xml.apache.org>; <di...@yahoo.com>
Sent: Monday, October 28, 2002 6:27 AM
Subject: RE: HTTPSender


> In the same vein as the earlier query is Axis tied to a WebServer which
> supports the Servlet spec or can it be run on a WebServer which is not
tied
> to the Sun specification? In other words are there any dependencies of the
> code on the Servlet API?

well, the source is there for you to look at and see for yourself, I
recommend a grep for javax.servlet to see what crops up.

-steve



Re: HTTPSender

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Manoj Sharma" <sh...@rogers.com>
To: <ax...@xml.apache.org>; <di...@yahoo.com>
Sent: Monday, October 28, 2002 6:27 AM
Subject: RE: HTTPSender


> In the same vein as the earlier query is Axis tied to a WebServer which
> supports the Servlet spec or can it be run on a WebServer which is not
tied
> to the Sun specification? In other words are there any dependencies of the
> code on the Servlet API?

well, the source is there for you to look at and see for yourself, I
recommend a grep for javax.servlet to see what crops up.

-steve


RE: HTTPSender

Posted by Manoj Sharma <sh...@rogers.com>.
In the same vein as the earlier query is Axis tied to a WebServer which
supports the Servlet spec or can it be run on a WebServer which is not tied
to the Sun specification? In other words are there any dependencies of the
code on the Servlet API?

Thanks,
Manoj.
http://members.tripod.com/manoj_sharma0

-----Original Message-----
From: Davanum Srinivas [mailto:dims@yahoo.com]
Sent: Monday, October 28, 2002 7:55 AM
To: Paul Hunnisett; dug@us.ibm.com
Cc: axis-dev@xml.apache.org
Subject: Re: HTTPSender


Forwarding this to axis-dev mailing list.

Thanks,
dims

--- Paul Hunnisett <de...@lombok.org.uk> wrote:
> I have recently been examining the source code for Apache Axis and I
> have come across some code that has confused me.  In HTTPSender
> readFromSocket() method, some parsing is done of a String which is
> retrieved as a constant value returning a default character encoding.
> This results in some integers being generating that are then wrapped in
> Integer objects.  I have been attempting to write  a server which will
> run Axis, but have always had a NumberFormatException thrown at this
> point.  Looking at the code, I struggle to see how it is possible to not
> get a NumberFormatException, but Axis on Tomcat does not seem to have
> the same problems that I have been having.  Are you able to shed some
> light on what this code should result in.  Does it use any of the
> servlet spec implementation of the underlying server?
>
> Any help that you can provide would be gratefully received.
>
> Regards
>
> Paul Hunnisett
> www.lombok.org.uk
>
>
>
>


=====
Davanum Srinivas - http://xml.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/