title: Registering namespaced PHP class methods with NuSoap
body: <p>Is it possible to register a PHP autoloaded namespaced class method with the NuSoap library?  To be clear, the PHP class is namespaced.  This is not a question about XML namespacing.</p>
  
  <p>For example, if I had a class defined in some file:</p>
  
  <pre><code>&lt;?php
  
    namespace \My\Fancy\Namespace;
  
    class MyClass {
         public static function foo() { /* ... */ }
         // ...
    }
  </code></pre>
  
  <p>and I wanted to register it with my soap server:</p>
  
  <pre><code>    &lt;?php
  
      use \My\Fancy\Namespace\MyClass; // autoloaded
  
      $server = new soap_server();
  
      // ... server configuration ...
  
      $server-&gt;register(
          'MyClass..foo'  // This does not work
          // ... etc. ...
      );
  </code></pre>
  
  <p>I've run so many searches for this with no luck, so I hope I'm not asking a bad question.</p>