Why do you need a message bean to process your message? If you need a way to invoke your
webservice in an asynchronous way, take a look at this
http://jbws.dyndns.org/mediawiki/index.php?title=User_Guide#Asynchronous_... and
at the org.jboss.test.ws.jaxws.samples.asynchronous test cases you can find in the
binaries.
If you don't want to perform an asynch invocation but you need to use the message
driven bean on the server side for other application specific reasons, consider
synchronizing your foo method somewhow with the MDB. For example you could wait for
responses on a temporary queue created by foo. When test mdb finish processing the
message, it replies on that queue it found the reference in the request message from foo.
Of course this is a pattern not directly related to the WS...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106917#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...