title: Magento, SoapClient, and local WSDL
body: <p>This is probably a newbie face-palm question, but I can't figure this out.  I'm working with a web service from a Magento store (i.e. code in the Magento store is accessing a remote web service).  It so happens in this case I have a local WSDL file that I need to reference.  I've done this before using a remote URL to the WSDL file and that works fine.  However, with a local file, I can't figure out how to reference it.  I have it working by putting the file in a <em>wsdl</em> subdirectory of the root of the site and then I can reference it using <em>http://mysite/wsdl/thefile.wsdl</em>.  However, I'd prefer to use a relative path to reference it (mainly due to the fact that I plan to deploy this same code to different sites and I'd like to use the same code for all).</p>
  
  <p>I guess my question comes down to this:  When you instantiate an instance of PHP's SoapClient like this <code>$client = new SoapClient("thefile.wsdl")</code>, where is it looking for <em>thefile.wsdl</em>?  I thought it would be local to the PHP file that instantiates the SoapClient, but it didn't work when I put the file in the same folder.  I tried the <em>/includes</em> directory as well as <em>app/code/local</em>.</p>
  
  <p>I'm sure this is a no brainer for seasoned programmers, but sometimes the basics allude me...</p>