title: Web Service check in SOAP UI with Session
body: <p>I have a simple web-service on .Net 3.5 in which there is a method of HelloWorld() as below</p>
  
  <pre><code>[WebMethod(EnableSession=true)]
  public string HelloWorld() {
      if (Session["Count"] == null) { Session["Count"] = 1; }
      Session["Count"] = Convert.ToInt32(Session["Count"]) + 1;
      return "Hello World " + Session["Count"];
  }
  </code></pre>
  
  <p>which works in ASP.NET web-browser and IIS and returns output <code>Hello World 1, 2, 3, 4 and soon....</code> depend on how much page open or refresh.</p>
  
  <p>After some time according to requirement of project i was used SOAPUI tool (for testing of web service).<br>
  I create new project in SOAPUI and insert the url of service like 
  <code>http://www.myservices/service.asmx?wsdl</code></p>
  
  <p>In SOAPUI there is a method with same name but when i execute it the open every time it creates a new session. means its returns me <code>Hello World 1, 1, 1, 1</code> at all the time, not maintain Sessions.</p>
  
  <p>However i need to maintain the session for the testing of service.<br>
  Thank you.</p>