Python

Python

How to parse Salesforce Login SOAP Response in Python?

RegEx(Regular Expression) can be used to parse to parse Salesforce Login SOAP Response in Python. Sample Code: import re strXMLString = '''<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <loginResponse> ....