title: (405) Method Not Allowed. WCF WebService
body: <p>Introduction:</p>
  
  <p>Hello, I am trying to set up a WCF web service on my local IIS 7.5 server, however after I finish the basic configurations I am unable to send data with a WinForms test client and it returns the error mentioned in the titles.
   I have already searched similar threads on this problem but i did not find anything that would fit my problem.</p>
  
  <p>Data:</p>
  
  <p>-Both the Wcf WebService and the test client where provided from a 3rd party</p>
  
  <p>-They already work on another server and I am using the same versions</p>
  
  <p>-I am probably doing something wrong when I enable or configure IIS</p>
  
  <p>Request:</p>
  
  <p>-I need to know what IIS features I need to enable/disable in order to install it correctly so I can use the Wcf WebService.(If that's the case).</p>
  
  <p>-How to correctly configure the server in order to solve the above mentioned error.</p>
  
  <p>My Configurations:</p>
  
  <p>-After Installing IIS I changed the DefaulAppPool to .NET Framework v4.0.30.319; pipeline mode: Integrated. -Advanced Settings: Load User profile = False.</p>
  
  <p>-Created a new Website named "WcfMicrocontrollerService" using DefaultAppPool.Binding; Type:http, IP adress: , port: 80</p>
  
  <p>At this point I can access it trough a web browser, however when I use the test client to POST data to the service I get the following error: <em>"The remote server returned an unexpected response:(405) Method Not Allowed."</em></p>
  
  <p>Here are the data packets sent as recorded by Fiddler:
   Sent:</p>
  
  <pre><code>POST http://192.168.0.102/MicroControllerComSvc.svc HTTP/1.1
  Content-Type: text/xml; charset=utf-8
  SOAPAction: "http://tempuri.org/IMicroControllerComSvc/GetMicrocontrollerData"
  Host: 192.168.0.102
  Content-Length: 237
  Expect: 100-continue
  Accept-Encoding: gzip, deflate
  Connection: Keep-Alive
  
  &lt;s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;s:Body&gt;&lt;GetMicrocontrollerData xmlns="http://tempuri.org/"&gt;&lt;microControllerData&gt;1,1,1,1,2,2,1,0,100,300&lt;/microControllerData&gt;&lt;/GetMicrocontrollerData&gt;&lt;/s:Body&gt;&lt;/s:Envelope&gt;
  </code></pre>
  
  <p>Received: </p>
  
  <pre><code>HTTP/1.1 405 Method Not Allowed
  Cache-Control: private
  Allow: GET, HEAD, OPTIONS, TRACE
  Content-Type: text/html; charset=utf-8
  Server: Microsoft-IIS/7.5
  X-Powered-By: ASP.NET
  Date: Tue, 01 Mar 2016 10:44:44 GMT
  Content-Length: 5671
  </code></pre>
  
  <p>And here's the body: <a href="https://dl.dropboxusercontent.com/u/2237590/405.html" rel="noreferrer">https://dl.dropboxusercontent.com/u/2237590/405.html</a></p>
  
  <p>This seems to indicate that I should take a look in handler mappings but I have no idea what to edit there.</p>