title: PHP - Connecting with webservice API using SOAP WSDL
body: <p>One of my customers recently asked me to integrate his webservice with some external companies API. I have to add integration controller in PHP as this is how his form is being processed.</p>
  
  <p>The company provided me with:</p>
  
  <p>1) WSDL definition of web service,</p>
  
  <p>2) An example named contract.xml,</p>
  
  <p>3) Two .xsd files that are to be used to data validation,</p>
  
  <p>4) Three .xml examples (of  soap request, response-true and response-false)</p>
  
  <p>I've never done anything like this and i'm wondering if there's any  point trying, would be very grateful if anyone could provide me with some knowledge that would let me start thinking my own way on this subject.</p>
  
  <p>What would be the schema like: setting 'blank' request as PHP <code>var</code> and updating it with forms input would be good solution? Or should i rather try to learn some more on XML parsing and go this way?</p>