Sample Demo Steps
Procedure
- Navigate to
http://localhost:8080/ws-legacy/webservices/WSContext/Main.jsp(Forlocalhost:8080, substitute the location of your WorldServer system.) - Click the Method link:
loginUser(String, String) - Enter Parameter values:
- To execute the method, click Invoke. (To see the Invoke button you may need to move the bottom border of the Parameters frame downward.)
- In the Result frame, to get to the WorldServer Services page click the WSContext link in the Object column.
- Click the link: TmManager Service.
- Click the Method link:
getAllTms(). Invoke this method. (There are no parameters, but to see the Invoke button you may need to move the bottom border of the Parameters frame downward.) - In the Result frame, locate the TM that you identified in the demo Preparation instructions. For this TM, click the link:
tm.WSTm. - Click this Method link:
lookupSubstring(String, linguistic.WSLanguage, linguistic.WSLanguage, double) - Enter Parameter values:
- Invoke this method. In the Result frame, WorldServer displays TM hits for standard lookup of the specified search text.
- Enter different Parameter values from those that you entered in Step 10.
- Invoke this method again. In the Result frame, WorldServer displays TM hits for standard lookup of the specified search text.
- Click this Method link:
searchFreeform(String, linguistic.WSLanguage, linguistic.WSLanguage, int) - Enter Parameters:
- Invoke this method. In the Result frame, WorldServer displays TM hits for the freeform SQL wildcard query.
- Return to the WorldServer Services page by clicking the
Serviceslink in the top right corner of the Parameters frame. - Click the link:
TdManager Service. - Click the Method link:
getTds(). Invoke this method. - In the Result frame, click the link:
td.WSTdManager. - In the Result frame, locate the TD that you identified in the demo Preparation instructions. For this TD, click the link:
td.WSTd. - Click this Method link:
lookupWithWildcards2(String, linguistic.WSLanguage, linguistic.WSLanguage) - Enter Parameter values. (Note that the search term is preceded and followed by asterisks (*). For example, *mark*:
- Invoke this method. In the Result frame, WorldServer displays all TD hits that contain your search term.