You are on page 1of 20

WCS SOAP Based North Bound Application

Program Interfaces (APIs) for Guest User


Administration
Introduction
The goal of this document is to describe the Cisco Wireless Control System (WCS) interface and how
client systems can use it.
The intended audience for this document is application developers, system integrators, or customers
looking to develop solutions using this technology.
This document details the APIs exposed by WCS for the creation, deletion, and administration of guest
users on wireless LAN controllers using WCS.

System High Level, page 2

Zip File Contents, page 2

Requirements for Use of Zip File Programs, page 3

Configuration APIs, page 4

WCS Notifications, page 8

Appendix, page 10

Americas Headquarters:
Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA

2007 Cisco Systems, Inc. All rights reserved.

System High Level

System High Level


As shown below, the third party applications interact with the WCS server by way of SOAP/XML over
HTTP/S. The WCS server performs operations including the creation or deletion of guest users by
interacting with the wireless LAN controllers.
Figure 1

Third Party Applications Interact with WCS Server

Third party applications

SOAP/XML

SOAP/XML

WCS Server

LWAPP
W

Note

N
S

SNMP

LWAPP

N
S

LWAPP
W

N
S

LWAPP
W

N
S

270299

SNMP

A zip file is provided to access the availabe north bound APIs.

Zip File Contents


A zip file provides all of the files needed to use the North Bound Interface APIs. This zip file contains
the following:

Note

Client Side Jar file for SOAP APIs

Java Test Program to use the APIs

JavaDoc for the APIs

Sample scripts to compile and run the sample test program

Extract the zip file onto the machine from which you want to access the APIs.

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration

OL-15531-01

Requirements for Use of Zip File Programs

Requirements for Use of Zip File Programs


The following actions are required to use the zip file programs:

Note

Install Java 1.5.x and ensure that the JAVA_HOME variable is set correctly. Modify the sampleRun
script to point to the java location.

Create a user which has the required permissions to access "North Bound APIs" in WCS using WCS
GUI.

Compile and run the sample test program. The sampleCompile and sampleRun scripts are provided.

For UNIX platforms, the sampleCompile and sampleRun scripts can be run directly after
'ConfigTemplateTest' is changed to 'GuestUserTest'.
The sample test program provides a command line option that can be used to exercise each of the above
APIs.
To run the test program, include the following path:
c:\>java GuestUserTest <Service URL> <NBAPI username> <NBAPI password>
For example:
c:\>java GuestUserTest https://72.163.180.220/webacs/services wsuser wcs.1234
This process opens a connection to WCS and enable you to perform operations such as creating or
deleting guest users using the command line options provided by the sample test program.
Once the sample program (included in the zip file) is compiled and run, you can perform the following
guest-user-related operations:

List existing guest user templates

Create new guest templates

Delete existing guest templates

Update existing guest templates

Apply guest templates to controllers

List guest users on controllers

Show details of a guest user

List controllers with profiles

List logged in guest users on controllers

List user roles on controllers

Note

The sample test program code is also included in the Appendix and can be used as a reference by other
application developers.

Note

A guest user name can be up to 24 characters long and the name is case sensitive.

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration
OL-15531-01

Configuration APIs

Configuration APIs
Before accessing the north bound APIs from a third party application, the administrator needs to create
a user on WCS who has the permissions to access north bound APIs.
The following WCS Soap based APIs are provided for the north bound functionality.

Note

See API Usage Sequence to determine in which order the APIs should be called to create or remove
guest users.

Note

createGuestUserTemplateThis API creates a Guest User Account Template in the WCS database.

Creating a guest user template object in the WCS database is the first step towards creating a
guest user on the WLC.
void createGuestUserTemplate(GuestUserTemplateWs
guestusertemplatews)
throws java.rmi.RemoteException,
com.cisco.ws.api.WSException

Note

This API does not automatically create the guest user on the controller. This API creates the
template that is stored in the WCS database. To create the guest user on a controller, use the
applyGuestUserTemplateToControllers.
Parameters:
guestusertemplatewsTemplate Object containing parameters (described below after the API

signatures).
Throws:
WSExceptionIf the template already exists or if the input parameters are null.
java.rmi.RemoteExceptionFor all other conditions.

Note

updateGuestUserTemplateThis API updates a guest user template object present in the WCS
database.

The modified template must be applied to the controller for the changes to take effect.
void updateGuestUserTemplate(GuestUserTemplateWs
guestusertemplatews)
throws java.rmi.RemoteException,
com.cisco.ws.api.WSException

Note

This can be used to modify the lifetime, password, user role, or description for the guest user.
Once the template is modified, you can apply it to the guest user.
Parameters:

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration

OL-15531-01

Configuration APIs

guestusertemplatewsTemplate Object containing parameters.

Throws:
WSExceptionIf the template is not found or if the input parameters are null.
java.rmi.RemoteExceptionFor all other conditions.

deleteGuestUserTemplateThis API deletes the guest user from the WLC and also removes the
guest user template object from the WCS database.
void deleteGuestUserTemplate(java.lang.String
throws java.rmi.RemoteException,
com.cisco.ws.api.WSException

templateName)

Parameters:
templateNameName of the template that needs to be deleted

Throws:
WSExceptionIf the template is not found or if the input parameter is null.
java.rmi.RemoteExceptionFor all other conditions.

getGuestUserTemplatesThis API returns all of the guest user template objects stored in the WCS
database.
GuestUserTemplateWs[] getGuestUserTemplates()
throws java.rmi.RemoteException,
com.cisco.ws.api.WSException
Throws:
java.rmi.RemoteExceptionFor all other conditions.

com.cisco.ws.api.WSException

applyGuestUserTemplateToControllersThis API applies a guest user template to the list of


specified controllers. For example, it creates the given guest user on the list of specified controllers.

Note

If no controller IP is provided, the Guest User Template is applied to all controllers currently
being managed by the WCS.

Note

Prior to using this API, create the template in the WCS database by using the
createGuestUserTemplate API.

void applyGuestUserTemplateToControllers(java.lang.String
templateName, java.lang. String[] controllers)
throws java.rmi.RemoteException,
com.cisco.ws.api.WSException
Parameters:
templateNameName of the template which needs to be applied to controllers.

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration
OL-15531-01

Configuration APIs

controllersString array containing IP addresses of the controllers to which the template needs

to be applied.
Throws:
WSExceptionIf the template is not found, if the controller with IP is not found, or if the input

parameters are null.


java.rmi.RemoteExceptionFor all other conditions.

listGuestUsersOnControllerThis API returns a list of all guest users that exist on a controller.
String[] listGuestUsersOnController(String controller)
throws java.rmi.RemoteException,
com.cisco.ws.api.WSException
Parameters:
controllersString containing the IP address of the controller from which the guest users are

to be retrieved.
Throws:
WSExceptionIf the controller with IP is not found or if the input parameter is null.
java.rmi.RemoteExceptionFor all other conditions.

listLoggedInGuestUsersOnControllerThis API returns a list of currently logged in guest users


on a controller.
String[] listLoggedInGuestUsersOnController(String controller)
throws java.rmi.RemoteException,
com.cisco.ws.api.WSException
Parameters:
controllersString containing the IP address of the controller from which the logged in guest

users are to be retrieved.


Throws:
WSExceptionIf the controller with IP is not found or if the input parameter is null.
java.rmi.RemoteExceptionFor all other conditions.

getGuestUserDetailsThis API provides the details of a created guest user given the username and
the controller IP on which the user was created.
Map getGuestUserDetails(java.lang.String userName, java.lang.String
controllers)
throws java.rmi.RemoteException,
com.cisco.ws.api.WSException
Map<String,String> contains the following name value pairs:
user name
password
lifetime

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration

OL-15531-01

Configuration APIs

description
User role
Profile name
WLAN ID
Remaining Lifetime

Parameters:
userNameName of the user whose details are sought.
controllerString containing the IP address of the controller from where the guest user details

are to be retrieved.
Throws:
WSExceptionIf the user name is not found, if the controller with IP is not found, or if the

input parameters are null.


java.rmi.RemoteExceptionFor all other conditions.

getControllerWithProfileThis API provides a list of controllers which have the wlan profile
name configured.

This API can be used by third party applications to get the list of controllers known to WCS
on which a given profile name exists.

Note

String[] controllers getControllersWithProfile(java.lang.String


profileName)
throws java.rmi.RemoteException,
com.cisco.ws.api.WSException
Returns
controllersA list of all controllers IP addresses on which the given profile name exists.

Parameters:
profileNameName of the profile to be checked.

Throws:
WSExceptionIf the user name is not found, if the controller with IP is not found, or if the

input parameters are null.


java.rmi.RemoteExceptionFor all other conditions.

getUserRolesOnControllerThis API lists all of the user roles that have been configured on the
controller. User roles are bandwidth contract templates provisioned on the device. The default user role
is default.
String[] getUserRolesOnCntroller (java.lang.String Controllerip)
throws java.rmi.RemoteException,
com.cisco.ws.api.WSException
Parameters:
controllersString containing IP addresses of the controller from which the user roles are to be

fetched.

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration
OL-15531-01

WCS Notifications

Throws:
WSExceptionIf the controller with IP is not found or if the input parameter is null.
java.rmi.RemoteExceptionFor all other conditions.

GuestUserTemplateWs object contains the following:


Template name (same as Guest user name)
Profile id (wlan on the controller)
Guest User Password
Guest User Lifetime
Description for Guest User
Remaining lifetime of guest user
User role

In addition to the above APIs, two additional APIs are provided for third party applications to
programmatically log into WCS prior to using the above APIs and log out of WCS.
These APIs are detailed below:
String login(String in0, String in1) throws java.rmi.RemoteException,
com.cisco.ws.api.WSException; returns http session id.
boolean logout() throws java.rmi.RemoteException; true if successfully
logged out, false otherwise.
Refer to the sample test program in the Appendix for more details on their usage.

API Usage Sequence


To create a guest user, follow these steps:
Step 1

Create the Guest User template by providing all input parameters.

Step 2

Apply the template to the desired WCS-managed controller.

To remove a guest user created from WCS and the controller, use the Delete Guest User Template API.
To modify a guest users parameters, follow these steps:
Step 1

Update the template object.

Step 2

Apply the template to the desired controller.

WCS Notifications
WCS can also send guest-user-related notifications to a north bound system. WCS currently supports
notification through an SNMP trap for north bound notifications.

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration

OL-15531-01

WCS Notifications

WCS acts as a trap generator to send guest user related traps to third party applications. To receive
notifications from WCS, the third party application needs to be added as a notification receiver to WCS.
This screen is accessible from Adminsitration > Settings > Notification Receivers and is shown below.
Figure 2

Notification Receivers Screen

In the following conditions, north bound SNMP traps from WCS are provided:

guestUserLoggedInWhen WCS receives the trap cLWAGuestUserLoggedIn from a wireless


LAN controller, it sends a trap north bound.

guestUserLoggedOutWhen WCS receives the trap cLWAGuestUserLoggedOut from a wireless


LAN controller, it sends a trap north bound.

guestUserAddedWhen WCS receives a trap from a wireless LAN controller notifying that a guest
user has been added, it sends a trap north bound.

guestUserRemovedWhen WCS receives a trap from a wireless LAN controller notifying that a
guest user has been removed from the controller, it sends a trap north bound.

Cisco Device Exeption Reporting


The Cisco Device Exception Reporting defines a notification that is used by WCS to send the traps to a
third party.
This notification is described below:

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration
OL-15531-01

Appendix

cderMonitoredExceptionEvent NOTIFICATION-TYPE
OBJECTS {
cderExcepId,
cderExcepHostAddressType,
cderExcepHostAddress,
cderExcepPriorityDescription,
cderExcepTime,
cderExcepData,
cderExcepReportedBy
}
STATUS current
DESCRIPTION
"This notification is sent when an exception
is detected on the managed device. "
::= { cderMIBNotifications 1 }
This notification is defined as a part of the Cisco mib:
CISCO-DEVICE-EXCEPTION-REPORTING-MIB
In all of the above conditions, the generated trap is the same but the cderExcepData defines what type
of event has taken place.
For example, when a guest user is added, the data field resembles the following:
Guest user 'g45' created on the Controller '10.76.109.84'

Appendix
The following sample test program code can be used as a reference by other application developers.
Sample test program:
/**
*
*/
package com.cisco.ws.test;
import java.io.IOException;
import java.net.URL;
import java.rmi.RemoteException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Set;
import java.util.StringTokenizer;
import com.cisco.ws.api.ClientApi;
import com.cisco.ws.api.ClientApiServiceLocator;
import com.cisco.ws.api.ConfigTemplateApi;

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration

10

OL-15531-01

Appendix

import com.cisco.ws.api.ConfigTemplateApiServiceLocator;
import com.cisco.ws.api.ConfigTemplateApiStub;
import com.cisco.ws.api.GuestUserTemplateWs;
import com.cisco.ws.api.WSException;
import com.cisco.ws.api.ClientApiStub;
public class GuestUserTest {
public static void main(String[] args) throws Exception{
System.out.println("Please make sure that user is precreated on WCS and has
NorthBoundAPI group assigned to it");
if (args.length != 3) {
printUsage();
System.exit(0);
}
System.out.println("WCS IP: " + args[0]);
System.out.println("User Name: " + args[1]);
System.out.println("Password: " + args[2]);
String choice = "1";
ConfigTemplateApi configApi = null;
ConfigTemplateApiServiceLocator serviceLocator = new ConfigTemplateApiServiceLocator();
ClientApiServiceLocator clientserviceLocator = new ClientApiServiceLocator();
URL serviceURL = new URL(args[0] + "/ConfigTemplateApi");
URL clientserviceURL = new URL(args[0] + "/ClientApi");
ClientApi clientApi = null;
configApi = serviceLocator.getConfigTemplateApi(serviceURL);
clientApi = clientserviceLocator.getClientApi(clientserviceURL);
if (configApi == null )
return;
((ConfigTemplateApiStub) configApi).setMaintainSession(true);
configApi.login(args[1], args[2]);
System.out.println("\nUser " + args[1] + " successfully logged in ");
while ( !choice.equals("0")) {
System.out.println("\nYou have the following options\n\n" +
"1. List Existing Guest User templates\n" +
"2. Create NEW Guest Template\n" +
"3. Delete existing Guest template\n"+
"4. Update existing Guest template\n" +
"5. Apply Guest template to controllers\n" +
"6. List Guest Users on controller\n" +
"7. Show details of a guest user\n" +
"8. List controllers with profile\n" +
"9. List Logged in Guest Users on controller\n" +
"a. List User Roles on controller\n" +

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration
OL-15531-01

11

Appendix

"0. Exit program\n\n" +


"Enter your choice [0-9]-> ");
choice = readInputString();
System.out.println("Choice is: " + choice);
try {
char [] cho= choice.toCharArray();
switch (cho[0]) {
//LIST
case '1':
listGuestUsers(configApi);
break;
//CREATE
case '2':
createGuestUser(configApi);
break;
case '3':
//DELETE
deleteGuestUser(configApi);
break;
//UPDATE
case '4':
updateGuestUser(configApi);
break;
//APPLY TO CONTRLR
case '5':
applyGuestUser(configApi);
break;
//LIST USERS ON CONTROLLER
case '6':
((ClientApiStub) clientApi).setMaintainSession(true);
clientApi.login(args[1], args[2]);
System.out.println("-Enter the IP address of the controller-");
String controllerIp = readInputString();
String[] gUsers = clientApi.listGuestUsersOnController(controllerIp);
if(gUsers.length == 0){
System.out.println("Thre are no Guest users on controller "+controllerIp);
}
else{
System.out.println("The controller "+controllerIp+ " has the following Guest
Users-");
for(int i=0; i<gUsers.length; i++){
System.out.println(gUsers[i]);

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration

12

OL-15531-01

Appendix

}
}
clientApi.logout();
break;
//SHOW GUEST DETAILS
case '7':
((ClientApiStub) clientApi).setMaintainSession(true);
clientApi.login(args[1], args[2]);
System.out.println("-Enter Guest User name-");
String gUser1 = readInputString();
System.out.println("-Enter the IP address of the controller-");
String controllerIp1 = readInputString();
HashMap detailsHashmap = clientApi.getGuestUserDetails(gUser1, controllerIp1);
if(!detailsHashmap.isEmpty()){
Set properties = detailsHashmap.keySet();
Iterator It = properties.iterator();
while (It.hasNext()) {
String property = (String)(It.next());
System.out.println(property + " - " + detailsHashmap.get(property));
}
}
else {
System.out.println("Error in getting properties!");
}
clientApi.logout();
break;
//GET CONTROLLERS WITH PROFILE
case '8':
((ClientApiStub) clientApi).setMaintainSession(true);
clientApi.login(args[1], args[2]);
System.out.println("-Enter Profile name-");
String profile = readInputString();
String [] controllerIps =clientApi.getControllersWithProfile(profile);
if(controllerIps.length == 0){
System.out.println("Thre are no controllers with profile-> "+profile);
}
else{
System.out.println("The following cotrollers have the profile \""+profile+"\"
configured ");
for(int i=0; i<controllerIps.length; i++){
System.out.println(controllerIps[i]);
}
}
clientApi.logout();
break;
//GET LOGGED IN GUESTS
case '9' :

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration
OL-15531-01

13

Appendix

((ClientApiStub) clientApi).setMaintainSession(true);
clientApi.login(args[1], args[2]);
System.out.println("-Enter controller IP-");
String controIp = readInputString();
String[] loggedGuests = clientApi.listLoggedInGuestUsersOnController(controIp);
if(loggedGuests.length == 0){
System.out.println("Thre are no Guest users Logged into controller "+controIp);
}
else{
System.out.println("The controller "+controIp+ " has the following Guest
Users-");
for(int i=0; i<loggedGuests.length; i++){
System.out.println(loggedGuests[i]);
}
}
clientApi.logout();
break;
//GET USER ROLES
case 'a' :
((ClientApiStub) clientApi).setMaintainSession(true);
clientApi.login(args[1], args[2]);
System.out.println("-Enter controller IP-");
String switchIP = readInputString();
String[] userRoles = clientApi.getUserRolesOnController(switchIP);
if(userRoles.length == 0){
System.out.println("Thre are no Guest users Logged into controller "+switchIP);
}
else{
System.out.println("The controller "+switchIP+ " has the following User
Roles-");
for(int i=0; i<userRoles.length; i++){
System.out.println(userRoles[i]);
}
}
clientApi.logout();
break;
default : break;
}
} catch (WSException e) {
System.out.println("Error " + e.getMessage());
}
}
configApi.logout();
System.out.println("User " + args[1] + " successfully logged out");
}

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration

14

OL-15531-01

Appendix

private static void applyGuestUser(ConfigTemplateApi configApi) throws WSException,


RemoteException {
System.out.println("Enter Guest User name");
String gUser = readInputString();
System.out.println("Guest User name is: " + gUser);
System.out.println("Enter comma separated Controller IP addresses..Default is all
controllers");
String ip = readInputString();
System.out.println("-- applying Guest User template to controllers -- ");
StringTokenizer st = new StringTokenizer(ip, ",");
String[] controllers = new String[st.countTokens()];
int i = 0;
while (st.hasMoreTokens()) {
controllers[i++] = (String) st.nextToken();
}
if (ip.equalsIgnoreCase("")) {
configApi.applyGuestUserTemplateToControllers(gUser);
} else {
configApi.applyGuestUserTemplateToControllers(gUser, controllers);
}
}
private static void updateGuestUser(ConfigTemplateApi configApi) throws WSException,
RemoteException {
System.out.println("-Steps to Update an existing guest user-");
GuestUserTemplateWs guestUserTemplateWs = new GuestUserTemplateWs();
System.out.println("-Enter Guest User Name, you would like to update-");
String gUName = readInputString();
guestUserTemplateWs.setTemplateName(gUName);
guestUserTemplateWs.setGuestUserName(gUName);
guestUserTemplateWs.setIsGuestUser(true);
System.out.println("-Enter Guest User password-");
String passwd = readInputString();
guestUserTemplateWs.setUserPassword(passwd);
System.out.println("-Enter Profile to connect-");
String profile = readInputString();
guestUserTemplateWs.setProfile(profile);
System.out.println("-Enter Guest User Description-");
String desc = readInputString();
guestUserTemplateWs.setDescription(desc);
System.out.println("-Enter Guest Lifetime in timeticks(100th of a sec)-");

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration
OL-15531-01

15

Appendix

String lifeTimeStr = readInputString();


guestUserTemplateWs.setLifeTime(Integer.valueOf(lifeTimeStr));
System.out.println("-Enter Guest Role; Default role is 'default'-");
String roleStr = readInputString();
guestUserTemplateWs.setUserRole(roleStr);
System.out.println("-- Updating Guest User template -- ");
configApi.updateGuestUserTemplate(guestUserTemplateWs);
System.out.println("\nSuccessfully updated Guest User Template ");
}
private static void deleteGuestUser(ConfigTemplateApi configApi) throws WSException,
RemoteException {
System.out.println("--Enter the name of the guest template you wish to delete --");
String deleteTemplate = readInputString();
configApi.deleteGuestUserTemplate(deleteTemplate);
System.out.println("Guest Template deleted successfully!");
}
private static void listGuestUsers(ConfigTemplateApi configApi) throws WSException,
RemoteException {
System.out.println("-- Listing Guest user templates -- ");
GuestUserTemplateWs[] guestUserArray = configApi.getGuestUserTemplates();
if (guestUserArray != null && guestUserArray.length > 0) {
for (int i = 0; i < guestUserArray.length; i++) {
GuestUserTemplateWs guestUser = (GuestUserTemplateWs) guestUserArray[i];
System.out.println("\nGuest User Template Name -> " + guestUser.getTemplateName());
}
} else {
System.out.println("No Guest User config templates found.");
}
}

private static void createGuestUser(ConfigTemplateApi configApi) throws WSException,


RemoteException {
System.out.println("-Steps to create new guest user-");
GuestUserTemplateWs guestUserTemplateWs = new GuestUserTemplateWs();
System.out.println("-Enter Guest User Name-");
String gUName = readInputString();
guestUserTemplateWs.setTemplateName(gUName);
guestUserTemplateWs.setGuestUserName(gUName);
guestUserTemplateWs.setIsGuestUser(true);
System.out.println("-Enter Guest User password-");
String passwd = readInputString();

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration

16

OL-15531-01

Appendix

guestUserTemplateWs.setUserPassword(passwd);
System.out.println("-Enter Profile to connect-");
String profile = readInputString();
guestUserTemplateWs.setProfile(profile);
System.out.println("-Enter Guest User Description-");
String desc = readInputString();
guestUserTemplateWs.setDescription(desc);
System.out.println("-Enter Guest Lifetime in timeticks(100th of a sec)-");
String lifeTimeStr = readInputString();
guestUserTemplateWs.setLifeTime(Integer.valueOf(lifeTimeStr));
System.out.println("-Enter Guest Role; Default role is 'default'-");
String roleStr = readInputString();
guestUserTemplateWs.setUserRole(roleStr);
guestUserTemplateWs.setEmailID("");
guestUserTemplateWs.setBuilding("");
guestUserTemplateWs.setCampus("");
guestUserTemplateWs.setConfigGroup("");
guestUserTemplateWs.setOutdoorArea("");
guestUserTemplateWs.setFloorArea("");
System.out.println("-- Creating Guest User template -- ");
configApi.createGuestUserTemplate(guestUserTemplateWs);
System.out.println("\nSuccessfully created Guest User Template ");
}

public static String readInputString() {


String inputString = "";
while (true) {
try {
int tmp = System.in.read();
if (tmp == -1 || tmp == 10)
return inputString.trim();
char c = (char) tmp;
inputString = inputString + c;
} catch (IOException e) {
}
}
}

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration
OL-15531-01

17

Appendix

public static void printUsage() {


System.out.println("Usage: Guest user <IP-address of WCS Host> <User Name> <Password>");
}
}

CCVP, the Cisco logo, and Welcome to the Human Network are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and
Learn is a service mark of Cisco Systems, Inc.; and Access Registrar, Aironet, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco,
the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity,
Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient,
IOS, iPhone, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, iQuick Study, LightStream, Linksys, MeetingPlace, MGX, Networkers,
Networking Academy, Network Registrar, PIX, ProConnect, ScriptShare, SMARTnet, StackWise, The Fastest Way to Increase Your Internet
Quotient, and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply
a partnership relationship between Cisco and any other company. (0711R)

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration

18

OL-15531-01

Appendix

2007 Cisco Systems, Inc. All rights reserved.

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration
OL-15531-01

19

Appendix

WCS SOAP Based North Bound Application Program Interfaces (APIs) for Guest User Administration

20

OL-15531-01

You might also like