[Tutor] parsing response from SOAPpy request

Sean Cronin seancron at gmail.com
Sat Sep 1 00:54:02 CEST 2007


I'm using SOAPpy to access weather data from the NOAA National Digital
Forecast Database XML Web Service [1] and I've been having
trouble figuring out how to parse the data.

The response comes back as XML document but when I check it with
type(result) it shows the the response is a string.  Does anyone have any
suggestions on getting relevant data? I've attached a sample SOAP response
to this post.

Thanks,
-Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070831/69697610/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: response.txt
Url: http://mail.python.org/pipermail/tutor/attachments/20070831/69697610/attachment.txt 


More information about the Tutor mailing list