Hubert,
I don't believe the Axis2 apis will do this for you, however the
JAX-WS 2.1 APIs will. They will be available in Axis2 1.4 which is due
real soon now.
David

On Tue, Apr 1, 2008 at 5:50 AM, Deepal jayasinghe <[EMAIL PROTECTED]> wrote:
> Hubert H Leung wrote:
>
> > I am looking for a way to get the EPR of the service programmatically.  In
> > my service class, I added the init method:
> >  public void init(ServiceContext serviceContext)
> >
> > I called serviceContext.getMyEPR() in this method, and the value is null.
> > (Note that I set the scope of my service to "application".)
> >
> > However, serviceContext.getMyEPR() returns the right value if I call it in
> > the service call in an operation method.
> >
> > When is the EPR set?
> >
>  When a message receive , i am not quit sure whether we set that at the
> server side.
>  Any way if you are running inside an application severe , you can get the
> EPR as below;
>  configurationContext.getListenerManager().getEPR(service name)
>
>  Thank you!
>  Deepal
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
David Illsley - IBM Web Services Development

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to