I'm afraid I have a couple of new questions. I appreciate your patience and all the help you've given so far. I'm trying to perform the last two steps you listed, invoke using operation context, and get the response from the operation client. I'm afraid I'm at a loss. I don't see a way to invoke the service using the operation context or the operation client. How do I make the client call once I have created to outgoing request envelope?
Thank you, Jeff -----Original Message----- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 10:55 PM To: [email protected] Subject: Re: How do I get SOAP Header contents while using Axis2's ServiceClient yes you have , but you need to use operationClient not the service client. You have to do the following steps in order to do that; - First create a ServiceClient - Then create an operation client using the created service client - Create Message context - Create SOAPEnvelop by your self - Add that to message context - invoke the service using operation context - using operation client you can get the response message context and response SOAP envelop too. Scudder, Jeffrey W wrote: >Hi All, > >I am using Axis2 server side to host web services and using Rampart to >add outflow security. The client software uses the Axis2 bundled >libraries but does not run Tomcat. When I use a ServiceClient object to >make my request, I get the contents of the SOAP Body, is there a way to >retrieve the Header from the incoming Envelope as well? > >Thank you, > >Jeff Scudder > >--------------------------------------------------------------------- >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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
