Bluebird75 Bluebird75 - 1 month ago 12x
Python Question

SOAP 1.2 python client

I am looking for a python SOAP 1.2 client but it seems that it does not exist . All of the existing clients are either not maintainted or only compatible with SOAP 1.1:

  • suds

  • SOAPpy

  • ZSI


The zeep library supports both SOAP 1.1 and 1.2 as long as the service's WSDL properly indicates it.

WSF/Python is supporting SOAP 1.2.


WSF/Python is the Python language extension to WSO2 WSF/C []. This version enables you to consume/provide Web Services both with REST and SOAP.

  • Support for REST
  • Support for SOAP 1.1
  • Support for SOAP 1.2

For downloading, you don't have to register. Just click "submit" at the very bottom.

Samples can be found within the downloaded archive, eg:

LOG_DIR = '/tmp/'
WSFC_HOME = '/opt/wso2/wsf_c'
END_POINT = 'http://localhost:9090/axis2/services/echo/echoString'

if __name__ == '__main__':
    message = """
    <ns1:echoString xmlns:ns1="">
        <text>Hello World!</text>
        client = wso2.wsf.WSClient({

        print 'Sending: ' + message

        response = client.request(message)

        if response is not None:
            print 'Respose: ' + response + '\n'
            print 'Error occurred!'
    except wso2.wsf.WSFault, e:
        print 'Exception occurred:'
        print e