嗨,我想在我的Django应用程序中创建一个SOAP服务,但是遇到了一些问题。
首先,我能够成功地遵循soaplib Hello World教程(谷歌“soaplib Hello World”,因为我只能使用1个超链接,因为这是我的第一个问题),它使用CheryPy WSGI服务器运行服务,使用soaplib客户机启动SOAP请求。
this djangosnippets snippet
. 目前我正在使用Django开发服务器。
http://localhost:8000/hello_world/
在浏览器中或使用soaplib客户端发出SOAP请求时,将返回带有以下错误的Django错误页面:
Tried hello_world_service in module foo.views. Error was: 'module' object has no attribute 'hello_world_service'
明显地
urls.py
hello_world_service
.
谢谢,马库斯