FileDocCategorySizeDatePackage
AnotherFeedService.javaAPI DocExample457Tue Jan 15 11:27:40 GMT 2002javasoap.book.ch6

AnotherFeedService

public class AnotherFeedService extends Object

Fields Summary
Constructors Summary
public AnotherFeedService()

   
Methods Summary
public java.util.HashtablesendMessage(java.util.Hashtable msg)

      String stock = (String)msg.get("SYMBOL");
      String request = (String)msg.get("REQUEST");
      Hashtable res = new Hashtable();
      res.put("SYMBOL", stock);
      if (request.equals("PRICE"))
         res.put("PRICE", "123.5");
      return res;