roskart / dropwizard-jaxws

Dropwizard bundle that enables building SOAP web services and clients using JAX-WS API
Apache License 2.0
43 stars 36 forks source link

Support for @UseAsyncMethod #8

Closed chris-h-barrett closed 8 years ago

chris-h-barrett commented 8 years ago

I found that the @UseAsyncMethod pattern for implementing non-blocking SOAP operations was broken, which seems to be due to the way these operations are dispatched conflicting with the parameter validation in dropwizard-jaxws.

I was able to get it working by skipping validation of parameters of type AsyncHandler, and I've also added an example of this pattern into the WsdlFirst service in the examples project.

It would be great if you can take this contribution, or use it to inspire your own implementation. Let me know if there's anything you would prefer to be done differently and I can update the pull request.

roskart commented 8 years ago

Thank you for the contribution. I will review it and get back to you as soon as I find some spare time.

chris-h-barrett commented 8 years ago

@roskart Thanks for putting out a release with this in. Much appreciated.