title: Message=Server did not recognize the value of HTTP Header SOAPAction: error
body: <p>HI Guys,
  I have created a web service. And I m able to hit the web service using SOAPUI but when i try to call through my code I get this error.
  Any ideas?</p>
  
  <p>ok the web service code looks like this:</p>
  
  <pre><code>[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
  [WebServiceBindingAttribute(Name = "SoapBinding", Namespace = "xyz")]
  [System.ComponentModel.ToolboxItem(false)]
  [WebService(Namespace = "http://Search")]
  // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
  // [System.Web.Script.Services.ScriptService]
  public class Stub : System.Web.Services.WebService
  {
      public Stub()
      {
          Log.Debug(this,string.Format("this is just a test message"));
      }
  
  
      [WebMethod]
      public Response searchAsset(Request serviceTag)
      {
      }
  </code></pre>
  
  <p>And my client code is:</p>
  
  <pre><code>Search _search = new Search();
  _search.url;
  _search.n.wcred;
  _search.searchAsset(request);
  </code></pre>