I have to create a web service for one of my clients. The requirement is such that the client will access my web services to do some processing and get the result back.
I am building the architecture. My requirement is to get and xml from the client. convert the xml children into xml list and process each child individually. by processing i mean i have to do some work with the information of the child nodes. After the processing for a particular child is complete i want to send a result back to the client asynchronously.
Now i have no idea how to send messages asynchronously from server to client. I have used JMS with MDB before. But it was when both the producer and the consumer were in the same JVM.
But in this case, the producer will be residing on the server and consumer would be the client from some entirely different JVM.
Can you please tell me if it is possible in web services.
Which Messaging server you are using? It is possible for the client to retrieve messages from the queue even if the client is not running in the same JVM. If you are using IBM MQ, then the dependent MQ realated libraries the client should use in its classpath and can retrieve messages. Pushing messages to the queue is not a big deal but it is about retrieving. Please follow the messaging server specifications/notes/tutorials in the installation folder, you may get a clue.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Asynchronous message from server to client