title: How to make a SOAP request by using SOAPpy?
body: <p>I'm trying to call a method using a SOAP request by using SOAPpy on Python 2.7. The method is called <code>GetCursOnDate</code> and returns exchange rates. It takes a date parameter.    </p>
  
  <p>I'm using the following code:</p>
  
  <pre><code>from SOAPpy import SOAPProxy
  import datetime
  
  date=datetime.datetime.now()
  namespace ="http://web.cbr.ru/"
  url = "http://www.cbr.ru/DailyInfoWebServ/DailyInfo.asmx"
  server = SOAPProxy(url,namespace)
  print (date)
  server.GetCursOnDate(date)
  </code></pre>
  
  <p>But I get back an error:</p>
  
  <blockquote>
    <p>Fault soap:Client: Server did not recognize the value of HTTP Header SOAPAction: GetCursOnDate.</p>
  </blockquote>
  
  <p>Why do I get this error?</p>