On 11/2/06, tomass <[EMAIL PROTECTED]> wrote:
>
> Hi Jure,
>
> Thanks for the response. I've made the changes you suggest, but just
> have a few questions:
>
> - The urls.py file: the soapview.soap - does this refer to a file
> called "soapview.py" and then the "soap" portion refers to whatever the
> name you assign the SimpleSOAPView() function to?

Correct.

> - How do I define a namespace for this? I'm using a soapclient as below
> to test:
>
> from SOAPpy import SOAPProxy
> url = 'http://www.myserver.com/soap'
> namespace = 'urn:soap'
> server = SOAPProxy(url, namespace)
> print server.f2()
>
> And I get this error:
>
> SOAPpy.Types.faultType: <Fault SOAP-ENV:Client: Method Not Found:
> urn:soap:f2 : exceptions.KeyError u'urn:soap' <traceback object at
> 0x414818c4>>

Try without a namespace. Like:

 soapserver = SOAPpy.Client.SOAPProxy('http://www.myserver.com/soap/')
# try to have / in the end
 print soapserver.f2()


jure

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to