In my application, I use many web services. Since WSDL does not change, I have included WSDL files in my project. If I use the WSDL2Java Tool from CXF, the absolute path of the WSDL locations is hard-coded.
Now my question is: how to change the "wsdlocation" parameter in the @WebserviceClient annotation to a relative path?
Here is an example:
@WebServiceClient(name = "Time", wsdlLocation = "file:/C:/Users/dominik/Documents/NetBeansProjects/Webservices/src/wsdl/Time.wsdl" ) public class Time extends Service {
source share