title: How to send data to a SOAP Web Service using PHP
body: <p>I have to send an XML of recent orders to a Web Service using PHP and I'm struggling to figure out how to connect to the web service, authorise and send the required data. </p>
  
  <p>I have the Web Service URL:</p>
  
  <pre><code>https://xxxxx.co.uk/xxxxx/OrderRelay.svc?wsdl
  </code></pre>
  
  <p>a client code, username and password.</p>
  
  <p>Do I use cURL to send the data or is there another method?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Cheers</p>