Hi,
I don't use python, but a simple ksh shell scripts with "curl" like this.
A snippet only:
# Agent list query.
cat <<AGENT | \
curl -u $USER:$PASS -X POST -H "Content-Type: text/xml" \
-H "SOAPAction: urn:com.wily.introscope.server.webservicesapi.metricslist/IMetricsListService/listAgentsRequest" \
-d @- http://$HOST:8081/introscope-web-services/services/MetricsListService | \
awk 'BEGIN { RS="<"; FS=">" } /listAgentsReturn xsi:.*">/ { print $2 }'
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:met="http://metricslist.webservicesimpl.server.introscope.wily.com">
<soapenv:Header/>
<soapenv:Body>
<met:listAgents soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<agentRegex xsi:type="xsd:string">.*\|.*\|.*</agentRegex>
</met:listAgents>
</soapenv:Body>
</soapenv:Envelope>
AGENT
I start migration from CLW to SOAP some times ago.
A simple sample only, sorry
Lutz