Note that there are some explanatory texts on larger screens.

plurals
  1. POCreate endpoint in C#
    text
    copied!<p>I have this endpoint defined in my web.config file and it works fine. Now I need to change some values depending of what service i am going to use. My endpoint looks like this.</p> <pre><code> &lt;endpoint address="https://www.yyy.com/services" binding="basicHttpBinding" bindingConfiguration="VehicleQuotationManagementServiceBinding" contract="VehicleQuotationManagementService.VehicleQuotationManagementServicePortType" name="VehicleQuotationManagementServicePort"&gt; &lt;headers&gt; &lt;wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing"&gt;ws://bla.com/CSP/UsedCars/VehicleQuotationManagementService/V1&lt;/wsa:To&gt; &lt;wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing"&gt;ws://bla.com/CSP/UsedCars/VehicleQuotationManagementService/V1/ProcessAliveTest&lt;/wsa:Action&gt; &lt;wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing"&gt;1111&lt;/wsa:MessageID&gt; &lt;vwa:Country xmlns:wsa="http://www.w3.org/2005/08/addressing" wsa:IsReferenceParameter="true" xmlns:vwa="http://xmldefs.bla.com/Technical/Addressing/V1"&gt;SE&lt;/vwa:Country&gt; &lt;vwa:Brand xmlns:wsa="http://www.w3.org/2005/08/addressing" wsa:IsReferenceParameter="true" xmlns:vwa="http://xmldefs.bla.com/Technical/Addressing/V1"&gt;V&lt;/vwa:Brand&gt; &lt;vwa:System xmlns:wsa="http://www.w3.org/2005/08/addressing" wsa:IsReferenceParameter="true" xmlns:vwa="http://xmldefs.bla.com/Technical/Addressing/V1"&gt;GWB&lt;/vwa:System&gt; &lt;/headers&gt; &lt;/endpoint&gt; </code></pre> <p>Can someone help me create this endpoint in c# code?</p>
 

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