What do you mean by "CXF stubs which does NOT use WSDL location at all" ? Are you saying you do not want the @WebServiceClient generated ? If you just want the @WebServiceClient(name = "ExampleServiceCXFServiceService",targetNamespace = "http://ws.example.diamond.perotsystems.com/") . The wsdlLocation still has the default value "".