Documentation Center

Sample Demo Steps

Procedure

  1. Navigate to http://localhost:8080/ws-legacy/webservices/WSContext/Main.jsp (For localhost:8080, substitute the location of your WorldServer system.)
  2. Click the Method link: loginUser(String, String)
  3. Enter Parameter values:
  4. To execute the method, click Invoke. (To see the Invoke button you may need to move the bottom border of the Parameters frame downward.)
  5. In the Result frame, to get to the WorldServer Services page click the WSContext link in the Object column.
  6. Click the link: TmManager Service.
  7. 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.)
  8. In the Result frame, locate the TM that you identified in the demo Preparation instructions. For this TM, click the link: tm.WSTm.
  9. Click this Method link: lookupSubstring(String, linguistic.WSLanguage, linguistic.WSLanguage, double)
  10. Enter Parameter values:
  11. Invoke this method. In the Result frame, WorldServer displays TM hits for standard lookup of the specified search text.
  12. Enter different Parameter values from those that you entered in Step 10.
  13. Invoke this method again. In the Result frame, WorldServer displays TM hits for standard lookup of the specified search text.
  14. Click this Method link: searchFreeform(String, linguistic.WSLanguage, linguistic.WSLanguage, int)
  15. Enter Parameters:
  16. Invoke this method. In the Result frame, WorldServer displays TM hits for the freeform SQL wildcard query.
  17. Return to the WorldServer Services page by clicking the Services link in the top right corner of the Parameters frame.
  18. Click the link: TdManager Service.
  19. Click the Method link: getTds(). Invoke this method.
  20. In the Result frame, click the link: td.WSTdManager.
  21. In the Result frame, locate the TD that you identified in the demo Preparation instructions. For this TD, click the link: td.WSTd.
  22. Click this Method link: lookupWithWildcards2(String, linguistic.WSLanguage, linguistic.WSLanguage)
  23. Enter Parameter values. (Note that the search term is preceded and followed by asterisks (*). For example, *mark*:
  24. Invoke this method. In the Result frame, WorldServer displays all TD hits that contain your search term.