I thought there would be lot more info/tutorials on thi开发者_开发技巧s one, but some how I'm not able to figure out how to call an async SOAP web service using Java. The web service in question may not necessarily be a Java web service. I only have access to web service's run time WSDL. Any pointers will be greatly helpful.
Also would it be possible to dynamically call such a web service? The Dynamic Invocation Interface method javax.xml.rpc.Call
allows that for sync calls, but haven't found anything on async calls.
See the JAX-WS standard for the use of Future objects to communicate, asynchronously, with services. For some examples see CXF documentation on JAX-WS clients.
It is possible to do an asynchronous web service invocation, so that the client is not blocked waiting for the response. Check this link text
精彩评论