// Make a service
LoggingFacilityService service = new LoggingFacilityServiceLocator();
// Now use the service to get a stub which implements the SEI.
LoggingFacilityLogPortType port = service.getLoggingFacilityPort();
port.logEvent(null);
GetEventsResponseType response = port.getEvents(null);
System.out.println(response);