title: How to specify full namespace for factory.create()
body: <p>I'm using <a href="https://fedorahosted.org/suds/" rel="nofollow noreferrer">suds</a> to make SOAP requests to a third-party API.</p>
  
  <pre><code>import suds.client
  client = suds.client.Client(WSDL_URL, location=SERVICE_URL)
  </code></pre>
  
  <p>When I try to create an object for a particular type defined by the WSDL (say <code>TheObject</code>):</p>
  
  <pre><code>obj = client.factory.create('TheObject')
  </code></pre>
  
  <p>I'm getting an error about it not existing:</p>
  
  <pre><code>(TheObject) not-found
  path: "TheObject", not-found
  Traceback (most recent call last):
    File "suds_test.py", line 67, in &lt;module&gt;
      sys.exit(main(sys.argv))
    File "suds_test.py", line 51, in main
      obj = client.factory.create('TheObject'),
    File "/usr/local/lib/python2.7/dist-packages/suds/client.py", line 234, in create
      raise TypeNotFound(name)
  suds.TypeNotFound: Type not found: 'TheObject'
  </code></pre>
  
  <p>So I print the <a href="https://stackoverflow.com/a/16678039/369450">list of available suds factory types</a> with <code>print(client)</code>:</p>
  
  <pre><code>Suds ( https://fedorahosted.org/suds/ )  version: 0.4 GA  build: R699-20100913
  
  Service ( OrderService ) tns="http://api.example.com/services/"
     Prefixes (2)
        ns0 = "http://api.example.com/contracts/stuff"
        ns1 = "http://api.example.com/services/"
     Ports (2):
        (OrderServiceSoap)
           Methods (123):
              ... Not really relevant
           Types (123):
              SomeType
              SomeType2
              ns0:AnotherType
              ns0:AnotherType2
              ns0:TheObject
              ...
  </code></pre>
  
  <p>So it appears that <code>ns1</code> is the default namespace, and <code>ns0</code> is the namespace I want to use for <code>TheObject</code>. If I prefix it with the namespace alias it works.</p>
  
  <pre><code>obj = client.factory.create('ns0:TheObject')
  </code></pre>
  
  <p>I would prefer not to have to remember to use <code>ns0</code> in this particular case because its vary arbitrary. I looked up the docs for <a href="http://jortel.fedorapeople.org/suds/doc/suds.client.Factory-class.html#create" rel="nofollow noreferrer"><code>Factory.create()</code></a> but it only accepts a single argument <em>name</em> with no additional arguments for namespace URL or anything.</p>
  
  <p>Is there a way to dynamically determine the namespace for <code>TheObject</code>? Or is it possible to specify the whole URL for <code>ns0</code> instead of just the namespace alias? Any help would be appreciated.</p>