title: How to execute a web service using php
body: <p>I need  to execute a web service from a php page</p>
  
  <p>The web service is located in the following url</p>
  
  <p><a href="https://www.agemni.com/AgemniWebservices/service1.asmx" rel="nofollow">https://www.agemni.com/AgemniWebservices/service1.asmx</a>    </p>
  
  <p>The Web Service uses a SOAP protocol to exchange messages. </p>
  
  <p>The WSDL info can be located at <a href="https://www.agemni.com/AgemniWebservices/service1.asmx?WSDL" rel="nofollow">https://www.agemni.com/AgemniWebservices/service1.asmx?WSDL</a>   </p>
  
  <p>The function in that service that we need to use is <strong>ValidateEntity</strong></p>
  
  <p><em>//ValidateEntity("username", "password", "companyID", 2, keys, values)</em>  </p>
  
  <p>So , how can i execute this web service and get result from my php page</p>