Example code - EnterWorks_Process_Exchange_(EPX) - 10.6

EnterWorks EPX Programmers Reference

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks > EnterWorks Process Exchange (EPX)
Version
10.6
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks EPX Programmers Reference
Topic type
Programming Reference
Reference
First publish date
2007

Collection serverCollection =

securityFacade_.getServerProfiles();

Iterator serverIter = serverCollection.iterator();

int i = 0;

while (serverIter.hasNext())

{

serverProfile_ = (ServerProfile)serverIter.next();

String vargs[] = { String.valueOf(i),

serverProfile_.getDisplayLabel(),

serverProfile_.getUID() };

System.out.println(getMessage("login.profile",vargs));

// if no server profile requested to program

// parameters, select the first one

if ( serverUID_ == null )

break;

// otherwise check to see if the server profile

// matches the one passed

if (serverProfile_.getUID().equalsIgnoreCase(serverUID_))

break;

// set to null if not found

serverProfile_ = null;

i++;