<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><title>MS Exchange help</title>
</head>
<body>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Hi All,<br>
<br>
I am stuck. It seems I can not talk to my exchange server. Here is some code along with the error message:<br>
<br>
ntlm = WindowsHttpAuthenticated(username='USER_NAME',password='XXX')<br>
c = Client(url,transport=ntlm)<br>
<br>
#version = Element('t:RequestServerVersion')<br>
#version.set('Version', 'Exchange2010')<br>
#c.set_options(soapheaders=version)<br>
<br>
x = c.service.GetRoomLists()<br>
print x<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;attr = c.service.GetRoomLists()<br>
&nbsp;&nbsp;File &quot;build/bdist.macosx-10.6-universal/egg/suds/client.py&quot;, line 539, in __call__<br>
&nbsp;&nbsp;File &quot;build/bdist.macosx-10.6-universal/egg/suds/client.py&quot;, line 598, in invoke<br>
&nbsp;&nbsp;File &quot;build/bdist.macosx-10.6-universal/egg/suds/client.py&quot;, line 633, in send<br>
&nbsp;&nbsp;File &quot;build/bdist.macosx-10.6-universal/egg/suds/client.py&quot;, line 684, in failed<br>
&nbsp;&nbsp;File &quot;build/bdist.macosx-10.6-universal/egg/suds/bindings/binding.py&quot;, line 238, in get_fault<br>
suds.WebFault: Server raised fault: 'The request is valid but does not specify the correct server version in the RequestServerVersion SOAP header. &nbsp;Ensure that the RequestServerVersion SOAP header is set with the correct RequestServerVersionValue.'<br>
<br>
If I uncomment the t:RequestServerVersion section, this is the error I get:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;attr = c.service.GetRoomLists()<br>
&nbsp;&nbsp;File &quot;build/bdist.macosx-10.6-universal/egg/suds/client.py&quot;, line 539, in __call__<br>
&nbsp;&nbsp;File &quot;build/bdist.macosx-10.6-universal/egg/suds/client.py&quot;, line 598, in invoke<br>
&nbsp;&nbsp;File &quot;build/bdist.macosx-10.6-universal/egg/suds/client.py&quot;, line 633, in send<br>
&nbsp;&nbsp;File &quot;build/bdist.macosx-10.6-universal/egg/suds/client.py&quot;, line 690, in failed<br>
Exception: (400, u'Bad Request')<br>
<br>
<br>
Any help would be greatly appreciated!<br>
<br>
- Jared</span></font>
</body>
</html>