Thank you very much. This is exactly what I was looking for :)

Thanks again,

Jeff Scudder 

-----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]

Reply via email to