Jaime, Thank you for your reply.
I have modified SimpleJMSListener.java (just for testing), wrap a Axis engine,deploy a service to the engine and in the onMessage method I use the invoke method of the AXIS engine to call the service, it works fine. Thanks, Kevin -----Original Message----- From: Jaime Meritt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 4:22 PM To: [EMAIL PROTECTED] Subject: RE: JMS sample Kevin, The stock sample is both a web service and a proxy to another web service. If you pass in XXX as the symbol it returns the hard coded value. If it is any other ticker symbol it goes to another web service to get the actual value. The proxy behavior is just an implementation detail. It is still a web service for all intents and purposes in that it is deployed in an AxisServer and responds to client requests. So in essence, the answer to your question is that it is possible to deploy a web service over JMS. The stock sample is an example of such a web service that happens to have some proxy behavior that the client knows nothing about. The SimpleJMSListener does have an AxisServer that it passes requests to when messages are received. No code is required on your part to get this type of behavior. Simply use SimpleJMSListener. Does that explain it a bit? Thanks, Jaime -----Original Message----- From: Kevin Wang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 10:21 AM To: [EMAIL PROTECTED] Subject: JMS sample Hi Jaime, Actually, the sample is showing a proxy instead of a webservice. Is it possible to deploy a JMS based webservices? Can I wrap an Axis engine in SimpleJMSListener or whatever jms consumer, and deploy my services to this engine, and in the OnMessage method, dispatch the request message to those services? Thanks, Kevin
