Hello, question: In order to support SOAP clients making asynchronous SOAP
calls (similar to here[1]) does anything need to be done to the service
implementation bean--does it need additional methods to handle those async
calls, *or* is it the same synchronous method called on the web service
side, it's just that JAX-WS internally handles the client-side asynchrony?

Stated another way, can the SOAP client make an async call to any operation
listed in the WSDL, or only those operations for which the service side has
specifically configured support for it?

In the sample at [1], the method call is given as
port.greetMeSometime*Async*, which seems to imply the service implementation
bean needs to have that method implemented.  But the implementation stubs
optionally generated by CXF's wsdl2java tells us to keep those methods
empty--that apparently all we need to do is implement the synchronous
"greetMeSometime" method.

Thanks,
Glen

[1]
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jaxws_async/src/demo/hw/client/Client.java?view=markup
-- 
View this message in context: 
http://old.nabble.com/Changes-needed-to-service-implementation-bean-for-async-calls--tp28742122p28742122.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to