<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=ZSI_Examples_-_002</id>
	<title>ZSI Examples - 002 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=ZSI_Examples_-_002"/>
	<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=ZSI_Examples_-_002&amp;action=history"/>
	<updated>2026-05-18T13:54:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://performiq.com/kb/index.php?title=ZSI_Examples_-_002&amp;diff=2503&amp;oldid=prev</id>
		<title>PeterHarding at 02:29, 18 August 2008</title>
		<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=ZSI_Examples_-_002&amp;diff=2503&amp;oldid=prev"/>
		<updated>2008-08-18T02:29:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:29, 18 August 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l118&quot;&gt;Line 118:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 118:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://www.performiq.com.au/kb/images/SessionService_client.py]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://www.performiq.com.au/kb/images/SessionService_client.py]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://www.performiq.com.au/kb/images/SessionService_server.py]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://www.performiq.com.au/kb/images/SessionService_server.py]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Python]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:SOAP]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>PeterHarding</name></author>
	</entry>
	<entry>
		<id>https://performiq.com/kb/index.php?title=ZSI_Examples_-_002&amp;diff=2502&amp;oldid=prev</id>
		<title>PeterHarding at 02:29, 18 August 2008</title>
		<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=ZSI_Examples_-_002&amp;diff=2502&amp;oldid=prev"/>
		<updated>2008-08-18T02:29:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:29, 18 August 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l115&quot;&gt;Line 115:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 115:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;See:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;See:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;http://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;esbinfo:8090&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;download&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;attachments&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;5998643/SessionService_server&lt;/del&gt;.py&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;www.performiq.com.au&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;kb&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;images&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SessionService_types&lt;/ins&gt;.py&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;http://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;esbinfo:8090&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;download&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;attachments/5998643&lt;/del&gt;/SessionService_client.py]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;www.performiq.com.au&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;kb&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;images&lt;/ins&gt;/SessionService_client.py]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;http://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;esbinfo:8090&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;download&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;attachments&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;5998643/SessionService_types&lt;/del&gt;.py]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* http://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;www.performiq.com.au&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;kb&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;images&lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SessionService_server&lt;/ins&gt;.py]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>PeterHarding</name></author>
	</entry>
	<entry>
		<id>https://performiq.com/kb/index.php?title=ZSI_Examples_-_002&amp;diff=2498&amp;oldid=prev</id>
		<title>PeterHarding: New page: &lt;pre&gt; All..  I&#039;m using stubs generated from the latest (as of  yesterday) ZSI trunk. I need to be able to pass in credentials (user, pass, app name) thru the SOAP headers, so I am passing ...</title>
		<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=ZSI_Examples_-_002&amp;diff=2498&amp;oldid=prev"/>
		<updated>2008-08-18T02:27:44Z</updated>

		<summary type="html">&lt;p&gt;New page: &amp;lt;pre&amp;gt; All..  I&amp;#039;m using stubs generated from the latest (as of  yesterday) ZSI trunk. I need to be able to pass in credentials (user, pass, app name) thru the SOAP headers, so I am passing ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
All..&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using stubs generated from the latest (as of  yesterday) ZSI trunk. I need to be able to pass in credentials (user, pass, app name) thru the SOAP headers, so I am passing in a dict as kwargs to my Login() function. Please see attached stubs. Here&amp;#039;s how I am calling the stubs, and I get a typecode error:&lt;br /&gt;
&lt;br /&gt;
######################################################################################################&lt;br /&gt;
&lt;br /&gt;
In [5]: from SessionService_client import *&lt;br /&gt;
&lt;br /&gt;
In [6]: request=LoginSoapIn()&lt;br /&gt;
&lt;br /&gt;
In [7]: loc=SessionServiceLocator()&lt;br /&gt;
&lt;br /&gt;
In [8]: port=loc.getSessionServiceSoap(&amp;quot;https://webservices1-2.ihsenergy.com/WebServices/Session&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
In [12]: e=[(&amp;#039;Username&amp;#039;,&amp;#039;user&amp;#039;),(&amp;#039;Password&amp;#039;,&amp;#039;pass&amp;#039;),(&amp;#039;Application&amp;#039;,&amp;#039;app&amp;#039;)]&lt;br /&gt;
&lt;br /&gt;
In [14]: res=port.Login(request,e)&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
RuntimeError                              Traceback (most recent call last)&lt;br /&gt;
&lt;br /&gt;
C:\python24\scripts\&amp;lt;ipython console&amp;gt;&lt;br /&gt;
&lt;br /&gt;
C:\python24\scripts\SessionService_client.py in Login(self, request, soapheaders, **kw)&lt;br /&gt;
     40         # no input wsaction&lt;br /&gt;
     41         # TODO: Check soapheaders&lt;br /&gt;
---&amp;gt; 42         self.binding.Send(None, None, request, soapaction=&amp;quot;http://www.ihsenergy.com/Enerdeq/Schemas/Session/Logi&lt;br /&gt;
&lt;br /&gt;
n&amp;quot;, soapheaders=soapheaders, **kw)&lt;br /&gt;
     43         # no output wsaction&lt;br /&gt;
     44         response = self.binding.Receive(LoginSoapOut.typecode)&lt;br /&gt;
&lt;br /&gt;
C:\Python24\lib\site-packages\ZSI\client.py in Send(self, url, opname, obj, nsdict, soapaction, wsaction, endPointRefere&lt;br /&gt;
&lt;br /&gt;
nce, soapheaders, **kw)&lt;br /&gt;
    250&lt;br /&gt;
    251         for i in soapheaders:&lt;br /&gt;
--&amp;gt; 252            sw.serialize_header(i,typecode=requesttypecode)&lt;br /&gt;
    253&lt;br /&gt;
    254         #&lt;br /&gt;
&lt;br /&gt;
C:\Python24\Lib\site-packages\zsi\writer.py in serialize_header(self, pyobj, typecode, **kw)&lt;br /&gt;
     76         typecode = getattr(pyobj, &amp;#039;typecode&amp;#039;, typecode)&lt;br /&gt;
     77         if typecode is None:&lt;br /&gt;
---&amp;gt; 78             raise RuntimeError(&lt;br /&gt;
     79                    &amp;#039;typecode is required to serialize pyobj in header&amp;#039;)&lt;br /&gt;
     80&lt;br /&gt;
&lt;br /&gt;
RuntimeError: typecode is required to serialize pyobj in header&lt;br /&gt;
&lt;br /&gt;
################################################################################################################&lt;br /&gt;
&lt;br /&gt;
So I try to set the typecode to Array:&lt;br /&gt;
&lt;br /&gt;
In [20]: request.typecode=&amp;#039;Array&amp;#039;&lt;br /&gt;
&lt;br /&gt;
But then I get an attribute error:&lt;br /&gt;
&lt;br /&gt;
################################################################################################################&lt;br /&gt;
&lt;br /&gt;
In [24]: res=port.Login(request,e)&lt;br /&gt;
---------------------------------------------------------------------------&lt;br /&gt;
AttributeError                            Traceback (most recent call last)&lt;br /&gt;
&lt;br /&gt;
C:\python24\scripts\&amp;lt;ipython console&amp;gt;&lt;br /&gt;
&lt;br /&gt;
C:\python24\scripts\SessionService_client.py in Login(self, request, soapheaders, **kw)&lt;br /&gt;
     40         # no input wsaction&lt;br /&gt;
     41         # TODO: Check soapheaders&lt;br /&gt;
---&amp;gt; 42         self.binding.Send(None, None, request, soapaction=&amp;quot;http://www.ihsenergy.com/Enerdeq/Schemas/Session/Logi&lt;br /&gt;
&lt;br /&gt;
n&amp;quot;, soapheaders=soapheaders, **kw)&lt;br /&gt;
     43         # no output wsaction&lt;br /&gt;
     44         response = self.binding.Receive(LoginSoapOut.typecode)&lt;br /&gt;
&lt;br /&gt;
C:\Python24\lib\site-packages\ZSI\client.py in Send(self, url, opname, obj, nsdict, soapaction, wsaction, endPointRefere&lt;br /&gt;
&lt;br /&gt;
nce, soapheaders, **kw)&lt;br /&gt;
    245                 tc = TC.Any(pname=opname, aslist=False)&lt;br /&gt;
    246&lt;br /&gt;
--&amp;gt; 247             sw.serialize(obj, tc)&lt;br /&gt;
    248         else:&lt;br /&gt;
    249             sw.serialize(obj, requesttypecode)&lt;br /&gt;
&lt;br /&gt;
C:\Python24\Lib\site-packages\zsi\writer.py in serialize(self, pyobj, typecode, root, header_pyobjs, **kw)&lt;br /&gt;
    115             elt = typecode.serialize(self.dom, self, pyobj, **kw)&lt;br /&gt;
    116         else:&lt;br /&gt;
--&amp;gt; 117             elt = typecode.serialize(self.body, self, pyobj, **kw)&lt;br /&gt;
    118&lt;br /&gt;
    119         if root is not None:&lt;br /&gt;
&lt;br /&gt;
C:\Python24\Lib\site-packages\ZSI\TC.py in serialize(self, elt, sw, pyobj, name, **kw)&lt;br /&gt;
    607     def serialize(self, elt, sw, pyobj, name=None, **kw):&lt;br /&gt;
    608         if hasattr(pyobj, &amp;#039;typecode&amp;#039;) and pyobj.typecode is not self:&lt;br /&gt;
--&amp;gt; 609             pyobj.typecode.serialize(elt, sw, pyobj, **kw)&lt;br /&gt;
    610             return&lt;br /&gt;
    611&lt;br /&gt;
&lt;br /&gt;
AttributeError: &amp;#039;str&amp;#039; object has no attribute &amp;#039;serialize&amp;#039;&lt;br /&gt;
&lt;br /&gt;
################################################################################################################&lt;br /&gt;
&lt;br /&gt;
Can someone tell me if I am approaching this correctly? Am I sending the credentials for headers correctly into my Login() function as a list of tuples?&lt;br /&gt;
&lt;br /&gt;
And am I setting the typecode properly, and is the typecode for the list of tuples indeed &amp;#039;Array&amp;#039;?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
chad&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt;SessionService_server.py&amp;gt;&amp;gt; &amp;lt;&amp;lt;SessionService_client.py&amp;gt;&amp;gt; &amp;lt;&amp;lt;SessionService_types.py&amp;gt;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See:&lt;br /&gt;
* [http://esbinfo:8090/download/attachments/5998643/SessionService_server.py]&lt;br /&gt;
* [http://esbinfo:8090/download/attachments/5998643/SessionService_client.py]&lt;br /&gt;
* [http://esbinfo:8090/download/attachments/5998643/SessionService_types.py]&lt;/div&gt;</summary>
		<author><name>PeterHarding</name></author>
	</entry>
</feed>