axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: Flaw in msg parsing
Date Fri, 16 Jan 2004 18:22:53 GMT
Dug,

Can you please post some code to recreate the problem (bugzilla). i'd like to debug the problem.
Seems serious to me.

thanks,
dims

--- Doug Davis <dug@us.ibm.com> wrote:
> 
> 
> 
> 
> 
> 
> As Axis parses the incoming SOAP envelope, when it hits the Body it will
> try to determine the list of operations available on the Java class for the
> service. Now, take the case where in a global handler we ask for the first
> Body element and based on that element we reset the target service to
> something else.  By this time Axis has determined the list of available
> operations in the OLD target service's class (see onStartChild in
> BodyBuilder) which of course doesn't match the list of operations in the
> NEW target service's class - which leads to a Fault being thrown.  Does
> anyone (Dims? Glen?) know of a method that we can call after we reset the
> target service to cause this "get the list of operations" work to be
> redone?  This seems like a pretty serious flaw since up until the time the
> service is invoked any part (even the body) of the message could be
> completely rewritten by a handler, no?
> -Dug


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

Mime
View raw message