Hi Bret; If you use serviceClinet you can not access SOAPEnevelop for that you need to use operationClient. In this case since you are using stub you dont have access to message context , in fact you dont know the messageID so there is no way that you can access the SOAP message.
So only possible way is to change Axis2 to provide a way to access mesageContext , so why dont you create a JIRA ... Thanks Deepal Bret Kumler wrote: >I'm really close to getting the SOAPEnvelope. > >I noticed you can get it from the Stub. > >stub._getServiceClient().getServiceContext().getConfigurationContext().g >etOperationContext(String messageId).getMessageContext(String >messageLabel).getEnvelope(); > >I can't figure out what messageId and messageLabel are. > >messageId = >configContext.getOperationContext(msgContext.getRelatesTo().getValue())i >s this a url the end point? Saw this in > >AxisOperation.findForExistingOperationContext(MessageContext msgContext) >line 257 > >messageLabel = MessageContext.TRANSPORT_IN ? > > >-----Original Message----- >From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] >Sent: Wednesday, August 02, 2006 11:37 PM >To: [email protected] >Subject: Re: one more question > >pls have a look at following article , that may solve your problems > >http://www.developer.com/open/article.php/3557741 > >Bret Kumler wrote: > > > >>If I create a Handler to access the SOAP info, like the one in the >> >> >users > > >>guide (LogHandler), does it have to be deployed in a server? >> >>I'm only use the client to invoke a remote server, which isn't an axis2 >>server. >> >>I'm not clear on it; I know I need to create a Module class and Handler >>class. >> >>Place it in module.xml >> >>Does the module.xml go in the classpath? >> >>And if I do create this handler, how do I access the data in the >>handler? >> >>Sorry, I'm very new to this. >> >>Thanks for ur help >> >> >>This e-mail message and any attachments may contain private, >> >> >confidential, proprietary or privileged material of GoldenGate Software, >Inc. that is for the sole use of the intended recipient(s) of this >e-mail message. Any review, copying or distribution or other use of >this e-mail message or any attachments hereto by anyone other than the >intended recipient(s) is strictly prohibited. If you are not the >intended recipient(s) of this e-mail message, please contact GoldenGate >Software, Inc. (415-777-0200) immediately and permanently delete the >original e-mail message and any copies of this e-mail message and all >attachments, if any. > > >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> >> >> > > > -- Thanks, Deepal ................................................................ ~Future is Open~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
