1 Reply Latest reply on May 6, 2008 8:06 PM by 666705

    Set web service url


      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();

      Any suggestion?

      Edited by DJmanta at 04/11/2008 3:52 AM

      Edited by DJmanta at 04/11/2008 3:54 AM

      Edited by DJmanta at 04/11/2008 3:54 AM