Hi.

just posted a question of the same kind and got a response.
in your WS you can get the soap message using 
org.apache.axis.MessageContext.getCurrentContext() which gives you an
object of type MessageContext. that you can use just like in your
handlers, so just retrieve user and pwd again in the WS
implementation.

hope that helps.

Rob


On Thu, 17 Mar 2005 17:58:43 -0500, Timour Mouratov <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> Each SOAP request that comes to my web service contains user
> credentials (name and password) within SOAP header. I'm using it to
> authenticate a request and after user is authenticated I drop  the
> header. Now  web service itself needs these parameters (user name and
> password) for it is own business logic  but I don't want to
> expose/introduce them in WSDL.
> 
> Is there a possibility to pass simple objects from handler to service
> within the same request/response flaw ?
> 
> Thanks in advance.
>

Reply via email to