I generated web service client using clientgen tool. This client is searching for webservice listening on url specified in wsdl. Is there any chance to change the target endpoint address like setting some property so there would be no need to generate client (with wsdl with new address) again?
This is how i prepare call parameters:
SfOXPReports_Impl service= new fOXPReports_Impl();
SfOXPReportsSoap client= service.getSfOXPReportsSoap();
// web service call
SCReportMerge mergeResult= SCReportMergeDocument.Factory.parse(client.merge(mergeParam.xmlText())).getSCReportMerge();