Chris, 

Thanks,

At what point should I try to force the marshalling ? Can this be done in
the handler ?

The reason I need to call the handler after the marshalling is that server
context map which is used for the duration of a request needs to be
unmapped, however if I unmap before the marshalling their could be problems
(we use custom serialisers which perform work other than a straight java to
XML map).

Thanks,

Brian.

-----Original Message-----
From: chris [mailto:[EMAIL PROTECTED]
Sent: 18 February 2004 22:08
To: [EMAIL PROTECTED]
Subject: RE: Handlers and Marshalling


Brian - 

Does forcing the marshalling work for you? 

HttpServletResponse res;
org.apache.axis.Message responseMsg = msgContext.getResponseMessage();
responseMsg.writeTo(res.getOutputStream());

What exactly are you trying to perform?  You can always modify the
SOAPParts on the fly to build another message.......

/Chris

-----Original Message-----
From: Brian Dillon (ext. 944) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 18, 2004 5:46 AM
To: '[EMAIL PROTECTED]'
Subject: Handlers and Marshalling

Hi,

I had aked this question before but received no answer, So thought I
would
try again.

Is there some way of having a ResponseFlow handler called after all the
marshalling has been completed ?

Thanks,

Brian

-----Original Message-----
From: Brian Dillon (ext. 944) [mailto:[EMAIL PROTECTED]
Sent: 13 February 2004 11:16
To: '[EMAIL PROTECTED]'
Subject: Handlers and Marshalling


Hi,

I am trying to get a SOAP Handler to be invoked after the marshalling
has
taken place. I have tried using the transport description in the
server-config.wsdd like;

 <transport name="http">
  <requestFlow>
   <handler type="URLMapper"/>
   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
  </requestFlow>
  <responseFlow>
   <handler type="java:com.fineos.ta.services.soap.ServantHelper">
    <parameter name="WhichHandler" value="Post"/>
   </handler>
  </responseFlow>
 </transport>


This handler must be invoked after the marshalling as it unmaps contexts
etc from the server (however the information in these maps are required
during the marshalling).

Is there a way to set the ordering of the handler ?

Any help would be appreciated,

Thanks,

Brian


**********************************************************************
The information contained in this e-mail is confidential, may be
privileged
and is intended only for the user of the recipient named above.  If you
are
not the intended recipient or a representative of the intended
recipient,
you have received this e-mail in error and must not copy, use or
disclose
the contents of this e-mail to anybody else.  If you have received this
e-mail in error, please notify the sender immediately by return e-mail
and
permanently delete the copy you received.  This e-mail has been swept
for
computer viruses.  However, you should carry out your own virus checks. 
Registered in Ireland, No. 205721.  http://www.FINEOS.com
**********************************************************************

Reply via email to