1. Web service client puts a message into queue. The message has string/byte body and two header id fields.
2. Web service server receives the message from the queue. The message is received based on the ids provided, if no id is provided, simply the first message from the queue will be received.
3. Web service server receives the message from the queue but does not delete the message from the queue, web service only peeks the queue and get message content. Some comment from field services: One of our prospective customers (ING) uses certain MQ queues as datastores (not something IBM recommends, but I’ve seen other companies do the same). They have services and clients, and the clients determine the relevant service queue by browsing (non-destructively) the datastore queue for a row with the service name they are interested in, when they find this row, one of the columns is the name of the queue used to invoke the service.