Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Are you hosting your WCF services in IIS ? In that case, your service address is determined by the IIS configuration and the virtual directory where your service's *.svc file exists.</p> <p>So to change something on the server, you need to check and modify the IIS configuration.</p> <p>To change on the client side, there's a web.config (for ASP.NET webs) or an (applicationName).exe.config where your endpoint definition should be contained - change the endpoint address there:</p> <pre><code>&lt;client&gt; &lt;endpoint name="YourEndpointName" address="http://localhost:8085/WebServiceService.svc" binding="......." bindingConfiguration="............." contract="..................." /&gt; &lt;/client&gt; </code></pre> <p>You need to specify the complete target web service address in the <code>address=</code> attribute of your <code>&lt;endpoint&gt;</code> configuration element.</p> <p>You can define multiple endpoints for the same service, and pick which one to use when you instantiate the client proxy:</p> <pre><code>MyServiceProxy client = new MyServiceProxy("name of endpoint configuration"); </code></pre> <p>and with this, you can switch between several definitions of endpoints easily.</p> <p>UPDATE: If you want to programmatically set your client address from code, you need to do the following when creating your client proxy:</p> <pre><code>// create custom endpoint address in code - based on input in the textbox EndpointAddress epa = new EndpointAddress(new Uri(textbox.Text)); // instantiate your cilent proxy using that custom endpoint address // instead of what is defined in the config file MyServiceProxy client = new MyServiceProxy("name of endpoint configuration", epa); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload