Python soap using soaplib (server) and suds (client)

前端 未结 2 1574
甜味超标
甜味超标 2020-12-13 22:37

This question is related to: Python SOAP server / client

In the case of soap with python, there are recommendation to use soaplib (http://wiki.github.com/jkp/soaplib

相关标签:
2条回答
  • 2020-12-13 23:16

    try to import primitives into your class:

    class HelloWorldService(SimpleWSGISoapApp):
        from soaplib.serializers.primitive import String, Integer, Arraycode
        @soapmethod(String,Integer,_returns=Array(String))
    
    0 讨论(0)
  • 2020-12-13 23:24

    this bug is fixed if you get the latest sources from the trunk, see https://github.com/soaplib/soaplib/pull/12 for details

    0 讨论(0)
提交回复
热议问题