Raritan Computer CC-WSAPI-0B-v5.1.0-E Marine Radio User Manual


 
Appendix B: Web Services Development in Java
36
System.err.println("Could not read input.");
return null;
}
if( name.equals("") )
return null;
return name;
}
public static void main (String[] args)
{
String user = "gregor";
String password = "pass123";
String session = "";
String current_name, new_name;
CCSGAuthenticationAndAuthorizationService service
= new CCSGAuthenticationAndAuthorizationService();
AuthenticationAndAuthorizationService port =
service.getAuthenticationAndAuthorizationServic
ePort();
set_service_end_point( service,
(BindingProvider)port );
CCSGNodeManagementService node_service = new
CCSGNodeManagementService();
NodeManagementService node_service_port =
node_service.getNodeManagementServicePort();
set_service_end_point( node_service,
(BindingProvider)node_service_port );
try