Groups > IBM > WebSphere Studio Enterprise Developer > Re: "Promote to Remote Interface option is Disabled.




"Promote to Remote Interface option is Disabled.

"Promote to Remote Interface option is Disabled.
Tue, 13 Feb 2007 17:17:49 EST
I have session bean and I want to promote one of it's method to Remote
Interface. IN J2EE perspective , I right-click on the method -> Enterprise
Bean, all the options are disbled. I would expect that "Promote to Remote
Interface" option should be enabled. 
Is there any extra setting required?

MTEHOD:
public Boolean createDocDef() {
		System.out.println("DocFacade createDocDef ");
		try {
			Integer id = new Integer(4);
			DocDefLocal aDocDefLocal = createDocDefLocal(id);
				
			System.out.println("Documment Name: " + aDocDefLocal.getName());
		}catch(Exception e){
			System.out.println(e);
			e.printStackTrace();
			return new Boolean(false);
		
		}
		return new Boolean(true);
	
Post Reply
Re: "Promote to Remote Interface option is Disabled.
Fri, 16 Feb 2007 01:12:43 EST
Hi there,

Try to put a parameter in your function. It should trigger the feature enabled.
Once it works, it works.

Post Reply
about | contact