title: PHP SOAP server configuration/implementation
body: <p>I need to implement a SOAP server that will respond to a third-party application that behaves as a SOAP client.</p>
  
  <p>The server should be in PHP, so I started using nusoap and <a href="http://www.wsdltophp.com/" rel="nofollow">http://www.wsdltophp.com/</a> to generate the skeleton.</p>
  
  <p>Here's the wsdl file they gave me:
  <a href="http://pastebin.com/YXBbszqE" rel="nofollow">http://pastebin.com/YXBbszqE</a>
  The guy from support said I should start with the Ping request, because it's the most simple and straightforward to implement.</p>
  
  <p>I'm new to this and will really appreciate some help.</p>
  
  <p>Here's what I have so far for the server:
  <a href="http://pastebin.com/vARst5t0" rel="nofollow">http://pastebin.com/vARst5t0</a></p>
  
  <p>and to simulate the client:
  <a href="http://pastebin.com/seG7EmM6" rel="nofollow">http://pastebin.com/seG7EmM6</a></p>
  
  <p>and it gives me an error:
  <a href="http://pastebin.com/Say6FmF6" rel="nofollow">http://pastebin.com/Say6FmF6</a></p>
  
  <p>Thanks a lot, guys.</p>
  
  <p>EDIT:
  I found that on the server, after disabled the error_reporting, I don't receive the previous error.</p>
  
  <p>I forgot to mention that I use the nusoap feature of loading the wsdl file and not defining each complexType manually, but it's still not working, now I get the following error:
  <code>Operation 'Ping' is not defined in the WSDL for this service</code>.
  And I'm sure it is there.</p>