cracked_all cracked_all - 1 year ago 61
Java Question

How to call Async Web service in Java

I thought there would be lot more info/tutorials on this 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

allows that for sync calls, but haven't found anything on async calls.

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download