Using <jaxws:endpoint/> CXF tries to load the wsd set in @WebService.wsdlLocation.
As my service implementation is generated from wsdl2java maven plugin, the location is hardcoded to my local path (D:/workspace/...) and fails when running the application on unix.
I have to set the wsdlLocation in <jaxws:endpoint> or generate with the "-wsdlLocation WEB-INF/wsdl/x" extraargs.
I expected CXF to run without requirement to the original WSDL, and only use the @Webservice annotations in generated code. The only way to get this behaviour is to remove the annotation attribute in generated code.