Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In order to expose your web service to the external world, you would have the WCF service in a Virtual directory under a website in IIS. </p> <p>Now your url "<code>www.internetdomain.com.nt</code>" would be mapped to a specific IP address (externally accessible) and this IP address is the IP addresss of your server on which the WCF service is exposed.</p> <p>Any request on this IP is received by IIS and determines on how to serve the request. </p> <p>If the above is fine then the URL for your WCF service would be:</p> <pre><code>http://www.internetdomain.com.nt/virtualdirectory/FrontEndWS https://www.internetdomain.com.nt/virtualdirectory/FrontEndWS </code></pre> <p>For the <strong><code>https</code></strong> case your website would have the 443 https port mapped via <strong><code>Edit Bindings</code></strong> option and specifies the service certificate it needs to use. </p> <p>Also you need to define your service with an endpoint in the web.config. Example shown below:</p> <pre><code>&lt;bindings&gt; &lt;basicHttpBinding&gt; &lt;binding name="LargeMessagingBinding" maxBufferSize="99999900" maxBufferPoolSize="524288000" maxReceivedMessageSize="99999900"&gt; &lt;readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="99999900" maxBytesPerRead="99999900" maxNameTableCharCount="2147483647" /&gt; &lt;security&gt; &lt;transport clientCredentialType="Basic" /&gt; &lt;/security&gt; &lt;/binding&gt; &lt;/basicHttpBinding&gt; &lt;/bindings&gt; &lt;services&gt; &lt;service name="SampleWCFService.Service1" behaviorConfiguration="default"&gt; &lt;endpoint address="" behaviorConfiguration="ServiceBehaviour" binding="basicHttpBinding" bindingConfiguration="LargeMessageBinding" contract="SampleWCFService.IService1"/&gt; &lt;/service&gt; &lt;/services&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="ServiceBehaviour"&gt; &lt;serviceMetadata httpGetEnabled="false" httpsGetEnabled="true" /&gt; &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt; &lt;dataContractSerializer maxItemsInObjectGraph="6553600" /&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="false" multipleSiteBindingsEnabled="false" /&gt; </code></pre> <p>Check the <strong>services</strong> element in the above configuration. Make sure that the namespace of the service is specified correctly.</p>
    singulars
    1. This table or related slice is empty.
    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. 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