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]

Reply via email to