Runtime components : Core components : Web services access : Accessing Web services : Accessing Web services by using the Web services connector
  
Accessing Web services by using the Web services connector
To access Web services, expose the Web services as a real service interface, as in the following example:
WSConnector connnector = (WSConnector) Service.readObject("PeopleService ");
if (null != connnector && (connnector.getProxy() instanceof PeopleServicesDelegate)) {
  PeopleServicesDelegate people = (PeopleServicesDelegate) conn.getProxy();
  List<People> list = people.getAllPeoples();
}
WSConnector has a very important interface that is getProxy(). As its name implies, it returns a proxy for the real business interface so that all of the Web services operations can be consumed like invoking a POJO.
Go up to
Accessing Web services