Perhaps I misunderstand what you are trying to do. 1) You have a handler on the service side that gets the SOAPMessage as a Document and writes it to disk on the service side.
2) You want to do the same thing on the client side, with the out going message. What I recommended was to put another separate though similar Handler on the client side. Or to add to my first post call MessageContext in a static way from your client - the FAQ explains how. If that's wrong try to clarify and maybe I can help. Robert http://www.braziloutsource.com/ Em Sexta 17 Março 2006 17:02, o Jordan Lee escreveu: > Hi Robert, > > I'm not too sure what you mean by this. My 'client' does the following: > > MyServiceSoapHTTPBindingStub binding = (MyServiceSoapHTTPBindingStub) new > MyServiceServiceLocator() .getMyService("target web service url"); > > binding.someMethod(axisMessage); > > i'm trying to get the underlying XML representation of the 'axisMessage' > object. > > ----- Original Message ----- > From: robert <[EMAIL PROTECTED]> > Date: Friday, March 17, 2006 11:47 am > Subject: Re: Writing SOAP messages to disk > > > Have you considered a client side handler ? Same concept, but you > > use: > > > > Service.getHandlerRegistry().getHandlerChain(portQN) > > > > instead of WSDD to configure it. > > > > This would allow you to write the file on the client side, if I > > understand you > > right. > > > > HTH, > > Robert > > http://www.braziloutsource.com/ > > > > Em Sexta 17 Março 2006 16:35, o Jordan Lee escreveu: > > > Hi all, > > > > > > I've figured out how to get my web service to write incoming > > > > SOAP xml to > > > > > disk (using the response\request flows of the wsdd and Handler > > > > classes).> > > > > > However - if I'm accessing an Axis web service as a client - > > > > creating a > > > > > binding, calling the method with a n Axis defined class as a > > > > parameter, etc > > > > > - how abouts would I write the outgoing XML to disk? > > > > > > thanks, > > > Jordan. > > > > -- --
