Webservice endpoint client view

5 March 2012 By Nithya Vasudevan 1,295 views No Comment
0 Flares Twitter 0 Facebook 0 Google+ 0 0 Flares ×
  • Only Stateless session beans and Singleton session beans may have web service clients.
  • To provide a webservice endpoint interface view for the client, the business interface of the bean should be annotated with @WebService.
import javax.jws.WebService;

@WebService
public interface HelloWorld {
	String sayHello();
}

Tags: , , ,