January 9th, 2004, 05:44 PM
Any help would be appreciated.
January 9th, 2004, 09:11 PM
Just noticed in the script you posted to the python list that you had Content Length misspelled. If thats not the problem, heres my best shot ;-)
Ok, I thought I had saved some of the script that I had used, it looks like the only thing I have is an old test script, but IIRC, it should still work. Here's your script modified.
Lemme know if that helps any. If it doesn't work, post the entire debug output (or PM it to me if its sensitive in nature and you don't want it posted in the forums).
# triple quotes make it a little easier to read
# and also speed it up a wee bit, no concat
soap = """<?xml version="1.0" encoding="utf-8"?>
xmlns="EDIT:PUT YOUR NAMESPACE HERE">
# assuming its on port 80
conn = httplib.HTTPConnection('insidecoair5', 80)
# so we can see our debug messages, and the
# actual packet the script will be sending
#n = conn.send(data)
conn.request('POST', 'EDIT: PUT YOUR PAGE ACTION HERE', soap,
'SOAPAction':'EDIT: REPLACE THIS WITH YOUR ACTION'})
resp = conn.getresponse()
data = resp.read()
# our returned packet
EDIT: Removed some of the page stuff because it put quotes around it. Just replace the EDIT stuff with the logical thing that goes there ;-)
Last edited by oxygenthief; January 9th, 2004 at 09:13 PM.
January 16th, 2004, 03:57 PM
Sorry, i was away on a trip.
Thanks oxygen for all your help. I got it to work using the get method.