Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The <a href="https://github.com/mvantellingen/python-zeep" rel="nofollow noreferrer">zeep</a> library supports both SOAP 1.1 and 1.2 as long as the service's WSDL properly indicates it.</p> <p><s> WSF/Python is supporting SOAP 1.2.</p> <blockquote> <h2>INTRODUCTION</h2> <p>WSF/Python is the Python language extension to WSO2 WSF/C [<a href="http://www.wso2.org/projects/wsf/c]" rel="nofollow noreferrer">http://www.wso2.org/projects/wsf/c]</a>. This version enables you to consume/provide Web Services both with REST and SOAP. </p> <ul> <li>Support for REST</li> <li>Support for SOAP 1.1</li> <li>Support for SOAP 1.2</li> </ul> </blockquote> <p>For <a href="http://wso2.org/downloads/wsf/python" rel="nofollow noreferrer">downloading</a>, you don't have to register. Just click "submit" at the very bottom.</p> <p>Samples can be found within the downloaded archive, eg:</p> <pre><code>LOG_DIR = '/tmp/' LOG_LEVEL = 4 WSFC_HOME = '/opt/wso2/wsf_c' END_POINT = 'http://localhost:9090/axis2/services/echo/echoString' if __name__ == '__main__': message = """ &lt;ns1:echoString xmlns:ns1="http://ws.apache.org/axis2/services/echo"&gt; &lt;text&gt;Hello World!&lt;/text&gt; &lt;/ns1:echoString&gt; """ try: client = wso2.wsf.WSClient({ 'to':END_POINT, 'WSF_LOG_DIR':LOG_DIR, 'WSF_LOG_LEVEL':LOG_LEVEL, 'WSFC_HOME':WSFC_HOME, }) print 'Sending: ' + message response = client.request(message) if response is not None: print 'Respose: ' + response + '\n' else: print 'Error occurred!' except wso2.wsf.WSFault, e: print 'Exception occurred:' print e </code></pre> <p></s></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload