Re: Two questions: How a handler can get the property in a stub and How to get the parameters set in the wsdd file?

2005-11-18 Thread Dacheng

> > 2): I set some parameters in the service-deploy.wsdd file, how can I
> get
> > them in the service?
>
> Are you talking about service parameters or handler parameters ?
>
> > Hope I can get your kindly help.
> > Thanks a lot
>
>
I mean the parameters pre-defined in the service-deploy.wsdd file, How can I
retrieve the values of these paramters in the service?

Cheers

Dacheng



RE: Two questions: How a handler can get the property in a stub and How to get the parameters set in the wsdd file?

2005-11-18 Thread zze-ELSOKHON Tony RD-BIZZ-ISS

> Hi, I am new to use axis and trying to use a stub to invoke a service.
I
> also deploy a handler at the client side. So there are two questions.

Hi,

> 1): I use  _setProperty(java.lang.String name, java.lang.Object value)
to
> set some property to the stub, how can I get the property I set within
the
> Handler?

When the client makes a request, all the stub's properties are passed to
the instance of MessageContext being manipulated by the handlers on the
client's request chain.

For more explanation, check this older message on the Axis mailing list:
http://marc.theaimsgroup.com/?l=axis-user&m=112953519731682&w=2

> 2): I set some parameters in the service-deploy.wsdd file, how can I
get
> them in the service?

Are you talking about service parameters or handler parameters ?

> Hope I can get your kindly help.
> Thanks a lot