I have imported a WSDL web service a couple of months ago and realized that when I call it using the same class files I run into an issue. After a reimport it works again. (Probably significant changes were made to the 3rd party service.)
Is there a a way to automatize this so for example every maven build would re-fetch the class files (if needed) so that we don't have to worry about this issue?
Thanks!
You could incorporate this plugin into your build to create classes based on teh wsdl. http://mojo.codehaus.org/jaxws-maven-plugin/wsimport-mojo.html
This way based on the WSDL classes will be generated with every build. All you need to do is keep updating the WSDL in the source dir.
Edit: Seems like this plugin can also download the WSDL file.
Maven download or fetch the wsdl from the url to project directory