All,
I was able to successfully create an asynchronous service along with a client using asynchronous message exchange.
I am now trying to notify a client to stop listening in case a timeout is necessary. However generated stubs have void methods and do not return Future<?> handle. I tried to follow documentation with no luck. I am using asyncOnly option for wsdl2java and have following in my wsdl:
<jaxws:bindings xmlns:jaxws="
http://java.sun.com/xml/ns/jaxws">
<jaxws:enableAsyncMapping>true</jaxws:enableAsyncMapping>
</jaxws:bindings>
Axis version 1.4.1
Did anyone had similar issues or know what I might be missing here?
-Dmitriy