Thanks Jeff. Using an asynch transport, like a JMS provider or SOAP Provider on top of JMS is a possible approach to async invocation, but IMO it's rather a far leass advantageous approach than having async invocation in the WSIF itself, regardless of the synch trasport protocol, like HTTP you're running on top of. See an excellent ref on the subject: http://www.voelter.de/data/articles/ijwr04.pdf. I thought and hoped that WSIF.executeRequestResponseAsync() is just that, an async invocation in WSIF, and in my view if it doesn't work it will undermine considerably the value of WSIF.
Greg -----Original Message----- From: Jeff Greif [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 29, 2004 11:33 AM To: [email protected] Subject: Re: Async invocation in WSIF This answer is not definitive, but may be helpful nonetheless. I believe, but am not certain, that you need to have a JMS implementation backing asynchronous calls in WSIF. This means you need to build Axis with a JMS implementation (such as OpenJMS) in the class path and similarly make that implementation available in your classpath when WSIF is used. In earlier incarnations of WSIF, there was some documentation of what was necessary, but I have not looked recently to see if it's still there. Jeff ----- Original Message ----- From: "Gregory Prokter" <[EMAIL PROTECTED]> To: <[email protected]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, December 29, 2004 9:14 AM Subject: Async invocation in WSIF > Hello WSIF experts! > > Happy New 2005 Year to all! > > Recently, I discovered WSIF and it looks awesome! Have run some examples > with it. Not everything works smoothly and I will have to dive into the > code myself, which I will do very reluctantly, since I'd rather concentrate > on my project rather than WSIF code, but this is the nature of the open > code. > > Now to my question. When I ran an example involving asynch invocation, i.e. > > ok = operation.executeRequestResponseAsync(input, responseHandler); > /* there is a definition of: public class AsyncResponseHandler implements > WSIFResponseHandler {} */ > > I got this cute Exception: > > org.apache.wsif.WSIFException: asynchronous operations not available > [java] at > org.apache.wsif.providers.soap.apacheaxis.WSIFOperation_ApacheAxis.executeRe > questResponseAsync(Unknown Source) > [java] at > com.edrient.manager.samples.wsif.DynamicInvoker.invokeMethod(DynamicInvoker. > java:291) > [java] at > com.edrient.manager.samples.wsif.DynamicInvoker.main(DynamicInvoker.java:105 > ) > [java] Exception in thread "main" > [java] Java Result: 1 > > So, is WSIFOperation.executeRequestResponseAsync() avail or not? What > versions support it? I got the lattest stable (downloaded around mid > December 04). > > Need you help ASAP! > > Thanks a lot in advance, > > Greg >
