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

前端 未结 2 1599
甜味超标
甜味超标 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))
    

提交回复
热议问题