Hello!

I think there is a missing import here:
http://soaplib.github.com/soaplib/2_0/pages/helloworld.html#declaring-a-soaplib-service

import soaplibfrom soaplib.core.service import rpc, DefinitionBasefrom
soaplib.core.model.primitive import String, Integerfrom
soaplib.core.server import wsgifrom soaplib.core.model.clazz import
Array

class HelloWorldService(DefinitionBase):
    @soap(String,Integer,_returns=Array(String))

      ...
It should read

from soaplib.core.service import rpc, DefinitionBase, soap

Otherwise the soap decorator will show up as undefined.

Uku Loskit
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to