title: Coldfusion WebService Created from Create Object - Change Address Location
body: <p>I have created a ColdFusion web service from a WSDL file. I'd like to programmatically change the address location (web service end point) because it contains an end point that may be different for each of my clients. Is this possible within ColdFusion?</p>
  
  <p>For example, the WSDL has the address location specified as:</p>
  
  <pre><code>&lt;wsdlsoap:address location="URL TO NON CONSTANT LOCATION"/&gt;
  </code></pre>
  
  <p>And I would like to do something like the following in my ColdFusion script.</p>
  
  <pre><code>&lt;cfscript&gt;
      myWebService = createObject( "webservice", "URL TO MY WEB SERVICE" );
      // This is where I'm stuck
      myWebService.setAddressLocation("NON CONSTANT URL TO CLIENT SPECIFIC END POINT");
  &lt;/cfscript&gt;
  </code></pre>
  
  <p>I've considered having different WSDL files for the different clients, but I'd like to avoid that because the location is the only item in the WSDL that would change.</p>
  
  <p>Thank you.</p>