Python script to check if the WSDL is responding
<p>I'm just new to python, I'm using python version Python 2.4.3
I know its old. but i still have to live with it. 
Below is my program for checking 1st wsdl "<a href="http://asappl10dev.fmrco.com:24500/ws-appian-service-DIT4/services/AppianService?wsdl" rel="nofollow">http://asappl10dev.fmrco.com:24500/ws-appian-service-DIT4/services/AppianService?wsdl</a>" </p>

<pre><code>#!/usr/bin/python
import httplib

conn=httplib.HTTPConnection('asappl10dev.fmrco.com:24500')
conn.request("GET", "/ws-appian-service-DIT4/services/AppianService?wsdl")
r1 = conn.getresponse()
print r1.status, r1.reason
print "=================="
conn.close

Output: 
% python 3.py
200 OK
==================
</code></pre>

<p>Below is my program for checking 2nd wsdl "<a href="http://asappl10dev.fmrco.com:24500/ws-bus-entity-service-DIT4/services/BusinessEntityService?wsdl" rel="nofollow">http://asappl10dev.fmrco.com:24500/ws-bus-entity-service-DIT4/services/BusinessEntityService?wsdl</a>"</p>

<p>Eventhough the wsdl is working fine, i'm getting "401 Unauthorized". </p>

<pre><code>#!/usr/bin/python
import httplib

conn=httplib.HTTPConnection('asappl10dev.fmrco.com:24500')
conn.request("GET", "/ws-bus-entity-service-DIT4/services/BusinessEntityService?wsdl")
r1 = conn.getresponse()
print r1.status, r1.reason
print "=================="
conn.close

Output :
ioappl01uat.fmrco.com:/home/a501007/pythonscripting% python 4.py
401 Unauthorized
==================
</code></pre>

<p>can someone please help me understand, why am i getting 401 Unauthorized when i'm able to see the response from the WSDL in Internet explorer.</p>
