title: PHP Web Service
body: <p>I am new to the world of PHP and coding as those have helped me answer a number of questions I have posted know. I have the opportunity to jump into the deep end however seeing I have no clue about PHP and web services, I am seeking your help. I would appreciate it if you could point me in the right direction as I have not been able to find any examples nor detailed information regarding it.</p>
  
  <p>Effectively there is a PHP page that needs to pass certain values to a .NET web service i.e. name, email, mobile number and upon the receipt of such information the web service sends out a text message. This is information I have so far</p>
  
  <p><em>The Allocation service uses a basic HTTP binding and TransportWithMessageCredential security.</em></p>
  
  <pre><code>Sample C# code using a reference generated with Visual Studio tooling
  Allocation.AllocationServiceV3Client Client = new Allocation.AllocationServiceV3Client();
  Allocation.AllocateResult Result;
  string VoucherCode;
  DateTime ExpiryDate;
  string DisplayMessageText;
  Client.ClientCredentials.UserName.UserName = ? ;
  Client.ClientCredentials.UserName.Password = ? ;
   Result = Client.AllocateToConsumerMobileAndSendSMS(out VoucherCode,
                                                                 out ExpiryDate,
                                                                 out DisplayMessageText,
                                                                 ClientID,
                                                                 ClientReference,
                                                                 CampaignID,
                                                                 ActivityID,
                                                                 MobileNumber);
  if (Result != Allocation.AllocateResult.Success)
  {
  }
  </code></pre>