<div dir="ltr">Which version should I be using?  The version on python package index?  I am using 1.16 currently and attempting to implement the following:<div><br></div><div><a href="http://cnx.test.dat.com:9280/wsdl/TfmiFreightMatching.wsdl">http://cnx.test.dat.com:9280/wsdl/TfmiFreightMatching.wsdl</a><br></div><div><br></div><div>A login attempt is successful hooray!</div><div><br></div><div><div>response = client.Login(</div><div>    loginOperation = {</div><div>        'loginId': r'xxxxx',</div><div>        'password': r'xxxxx',</div><div>        'thirdPartyId': r'SampleClient',</div><div>    }</div><div>);</div></div><div><br></div><div>.... but pysimplesoap throws an exception because it doesn't find the defs for loginSuccessData.</div><div><br></div><div><div>DEBUG:pysimplesoap.client:Parsing wsdl url: <a href="http://cnx.test.dat.com:9280/wsdl/TfmiFreightMatching.wsdl">http://cnx.test.dat.com:9280/wsdl/TfmiFreightMatching.wsdl</a></div><div>DEBUG:pysimplesoap.client:Unpickle file cache/4d4952e172d281c57e33a925f49d1329.pkl</div><div>INFO:pysimplesoap.client:POST <a href="http://cnx.test.dat.com:9280/TfmiRequest">http://cnx.test.dat.com:9280/TfmiRequest</a></div><div>DEBUG:pysimplesoap.client:SOAPAction: "/Login"</div><div>Content-length: 703</div><div>Content-type: text/xml; charset="UTF-8"</div><div>DEBUG:pysimplesoap.client:<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="<a href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</a>" xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"></div><div><soap:Header/></div><div><soap:Body></div><div>    <loginRequest xmlns="<a href="http://www.tcore.com/TfmiFreightMatching.xsd">http://www.tcore.com/TfmiFreightMatching.xsd</a>"></div><div>    <loginOperation xmlns="<a href="http://www.tcore.com/TfmiFreightMatching.xsd">http://www.tcore.com/TfmiFreightMatching.xsd</a>"><loginId xmlns="<a href="http://www.tcore.com/TfmiFreightMatching.xsd">http://www.tcore.com/TfmiFreightMatching.xsd</a>">XXXXX</loginId><password xmlns="<a href="http://www.tcore.com/TfmiFreightMatching.xsd">http://www.tcore.com/TfmiFreightMatching.xsd</a>">XXXXXX</password><thirdPartyId xmlns="<a href="http://www.tcore.com/TfmiFreightMatching.xsd">http://www.tcore.com/TfmiFreightMatching.xsd</a>">SampleClient</thirdPartyId></loginOperation></loginRequest></div><div></soap:Body></div><div></soap:Envelope></div><div>DEBUG:pysimplesoap.client:date: Tue, 09 Jun 2015 14:54:29 GMT</div><div>status: 200</div><div>content-length: 684</div><div>content-type: text/xml;charset=utf-8</div><div>server: Apache-Coyote/1.1</div><div>DEBUG:pysimplesoap.client:<?xml version="1.0" encoding="UTF-8"?></div><div><soapenv:Envelope xmlns:soapenv="<a href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</a>"><soapenv:Header/><soapenv:Body><tfm:loginResponse xmlns:tfm="<a href="http://www.tcore.com/TfmiFreightMatching.xsd">http://www.tcore.com/TfmiFreightMatching.xsd</a>"><tfm:loginResult><tfm:loginSuccessData><tfm:token><tcor:primary xmlns:tcor="<a href="http://www.tcore.com/TcoreTypes.xsd">http://www.tcore.com/TcoreTypes.xsd</a>">XXXXXXXXXXXXXXXXXXXXX</tcor:primary><tcor:secondary xmlns:tcor="<a href="http://www.tcore.com/TcoreTypes.xsd">http://www.tcore.com/TcoreTypes.xsd</a>">XXXXXXXXXXXXXXXX</tcor:secondary></tfm:token><tfm:expiration>2015-06-10T02:54:29.250Z</tfm:expiration></tfm:loginSuccessData></tfm:loginResult></tfm:loginResponse></soapenv:Body></soapenv:Envelope></div><div><br></div><div>Traceback (most recent call last):</div><div>  File "./trascore.py", line 27, in <module></div><div>    'thirdPartyId': r'SampleClient',</div><div>  File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/client.py", line 181, in <lambda></div><div>    return lambda *args, **kwargs: self.wsdl_call(attr, *args, **kwargs)</div><div>  File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/client.py", line 346, in wsdl_call</div><div>    return self.wsdl_call_with_args(method, args, kwargs)</div><div>  File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/client.py", line 372, in wsdl_call_with_args</div><div>    resp = response('Body', ns=soap_uri).children().unmarshall(output)</div><div>  File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/simplexml.py", line 433, in unmarshall</div><div>    value = children and children.unmarshall(fn, strict)</div><div>  File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/simplexml.py", line 433, in unmarshall</div><div>    value = children and children.unmarshall(fn, strict)</div><div>  File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/simplexml.py", line 380, in unmarshall</div><div>    raise TypeError("Tag: %s invalid (type not found)" % (name,))</div><div>TypeError: Tag: loginSuccessData invalid (type not found)</div></div><div><br></div><div>loginSuccessData is based off of type SuccessData which is based off of type 'data'.  All of it seems to be laid out correctly in the xsd files.  I did see something that might be the reason?</div><div><br></div><div><div><xs:element name="loginSuccessData" type="tfmi:LoginSuccessData" substitutionGroup="types:data"/></div></div><div><br></div><div>I saw a recent post on a help site about pysimplesoap not supporting substitution groups? (no idea what that is, completely new to this).  Is that possibly the problem?</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>