mam tresc zadania:
"You will want your custom service to implement custom methods that can be
called by other applications. To do this, define a custom method in the generated
interface. For example:
public String getValue(String key);
When you define this method in the interface, you will need to provide the
implementation for this method in your Java class. This implementation will be
executed when the client applications call this service.
Here is an example of the implementation of this method:
public String getValue(String key) {
return "Hello World";
}
8. You can now export the EAR file for the application and deploy as before. After
the successful deployment, the service is available in the PRT."

Zrobiłem Deploy ale nie mogę wywala mi błąd

import com.sapportals.portal.prt.service.IServiceContext;

  public class TestService implements ITestService{

  private IServiceContext mm_serviceContext;

  /**
  * Generic init method of the service. Will be called by the portal runtime.
  * @param serviceContext
  */
  public void init(IServiceContext serviceContext)
  {
    mm_serviceContext = serviceContext;

   
    
  }

  /**
  * This method is called after all services in the portal runtime
  * have already been initialized.
  */
  public void afterInit()
  {
  }

  /**
  * configure the service
  * @param configuration
  * @deprecated
  */
  public void configure(com.sapportals.portal.prt.service.IServiceConfiguration configuration)
  {
  }

  /**
  * This method is called by the portal runtime
  * when the service is destroyed.
  */
  public void destroy()
  {
  }

  /**
  * This method is called by the portal runtime
  * when the service is released.
  * @deprecated
  */
  public void release()
  {
  }

  /**
  * @return the context of the service, which was previously set
  * by the portal runtime
  */
  public IServiceContext getContext()
  {
    return mm_serviceContext;
  }

  /**
  * This method should return a string that is unique to this service amongst all
  * other services deployed in the portal runtime.
  * @return a unique key of the service
  */
  public String getKey()
  {
    return KEY;
  }

@Override
public String getValue(String key) {
	// TODO Auto-generated method stub
	return "Hello World Service";
}

}

błąd w logach:
Error occurred on server <server node="node" id="id"> during startApp <application name="name">: com.sap.engine.services.deploy.exceptions.ServerDeploymentException:
Application <application name="name"> cannot be started.
Reason: it has hard reference to resource <jms resource="resource" name="name"> with type <jms resource="resource" class="class"> which is not active on the server.