axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal jayasinghe <>
Subject Re: Getting service EPR programmatically
Date Tue, 01 Apr 2008 04:50:43 GMT
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!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message