I have an interface that I\'ve exposed as a regular SOAP web service. One method of the interface consists for the client to send a file to the server, then the server processes
You can use Callback
approach of Asynchronous InvocationModel
.
Callback approach - in this case, to invoke the remote operation, you call another special method that takes a reference to a callback object (of javax.xml.ws.AsyncHandler type) as one of its parameters. Whenever the response message arrives at the client, the CXF runtime calls back on the AsyncHandler object to give it the contents of the response message
More information can be had from the following:
Apache CXF