<div dir="ltr">Jim, the GUI behind VisualStudio is wsdl.exe. And that generates the proxy classes. You can do this by hand, if this VisualStudio black magic scares you. :)<br><br>wsdl.exe &lt;your_wsdl_file&gt;<br><br>Create that in c# and compile it as a class library. Then use it from python like so:<br>
<br>clr.AddReference(&quot;WhatYouHave&quot;)<br>from ws.lists import lists<br><br>wsClient = lists()<br># setup network credentials the way you would<br># setup URL endpoint liket<br>wsClient.Url = &quot;<a href="http://foo.com">http://foo.com</a>&quot;<br>
wsClient.GetListItems(args)...<br><br>I have not compiled it, but it should work.<br><br>Hope that helps,<br>&nbsp; Miha.<br><br><div class="gmail_quote">2008/9/11 O&#39;Leary, Jim <span dir="ltr">&lt;<a href="mailto:Jim.O%27Leary@vancouver.ca">Jim.O&#39;Leary@vancouver.ca</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">I&#39;m pasting the vb.NET code.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">--------------------------vb.NET code 
BEGINS-------------------------------------</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Dim aWebService As New ws.lists.lists&#39; Web service<br>Dim 
myCredentials As New System.Net.NetworkCredential<div class="Ih2E3d"><br>myCredentials = 
System.Net.CredentialCache.DefaultCredentials<br></div>aWebService.Credentials = 
myCredentials<br></font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">aXMLnode = 
aWebService.GetListItems(args)</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">--------------------------vb.NET code 
ENDS--------------------------------------</font></span></div>
<div><font color="#0000ff" size="2" face="Arial"></font>&nbsp;</div>
<div><span><font color="#0000ff" size="2" face="Arial">The 
reason I want to do it in IronPython is to see how it can be done if you do not 
use the GUI that Visual Studio provides for connecting a web service provider 
and consumer. I think it will work if I can add the SOAPAction header, but how 
do I do that? If I write:</font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> <br></div></div></blockquote></div><br></div>