@ws.apache.org
Subject: Re: communication between the Handler and the Service
It did not make any difference. or I don't how when
and where to call it. I called saveChanges() after
the modifications to the body but the Service still
printed the old body xml.
jeff
--- Jeff Saremi [EMAIL
, April 25, 2005 8:47 PM
To: axis-user@ws.apache.org
Subject: Re: communication between the Handler and
the Service
It did not make any difference. or I don't how when
and where to call it. I called saveChanges() after
the modifications to the body but the Service still
printed the old body xml
,
Ashutosh
-Original Message-
From: Jeff Saremi [mailto:[EMAIL PROTECTED]
Sent: Monday, April 25, 2005 8:47 PM
To: axis-user@ws.apache.org
Subject: Re: communication between the Handler and
the Service
It did not make any difference. or I don't how
when
and where to call
So i played more with this and here's what i found
out:
- In the handler, the changes to the message, envelope
and body will all get saved and passed to the Service
afterwards
- Any chnages to the nodes inside the body are allowed
to be made and displayed while in the handler but
beyond that none
Have you noticed the method saveChanges on SOAPMessage?
Jeff
Jeff Saremi wrote:
So i played more with this and here's what i found
out:
- In the handler, the changes to the message, envelope
and body will all get saved and passed to the Service
afterwards
- Any chnages to the nodes inside the body
I think I used that one too. But let me give it
another try and get back to you.
jeff
--- Jeff Greif [EMAIL PROTECTED] wrote:
Have you noticed the method saveChanges on
SOAPMessage?
Jeff
Jeff Saremi wrote:
So i played more with this and here's what i found
out:
- In the handler,
It did not make any difference. or I don't how when
and where to call it. I called saveChanges() after
the modifications to the body but the Service still
printed the old body xml.
jeff
--- Jeff Saremi [EMAIL PROTECTED] wrote:
I think I used that one too. But let me give it
another try
I should have explained more about what i'm doing. I
don't know where this processRequest() method is. It
looks like there are two or more Handler concepts
within Axis. The Handler that i'm talking about are
the ones you specify in the requestFlow or
responseFlow chains:
service name=MyService
Either there is something i'm not getting or my whole
code/configuration is wrong.
I'd like to intercept a request using a handler,
change something in that request and then let my
service deal with these changes. However, I cannot
this simple, intuitive concept to work! I have spent
over two