From: <wa...@us...> - 2008-05-14 21:36:25
|
Revision: 1452 http://pywebsvcs.svn.sourceforge.net/pywebsvcs/?rev=1452&view=rev Author: warnes Date: 2008-05-14 14:36:32 -0700 (Wed, 14 May 2008) Log Message: ----------- Add python script exhibiting bug #1161780 Added Paths: ----------- trunk/SOAPpy/tests/Bug1161780.py Added: trunk/SOAPpy/tests/Bug1161780.py =================================================================== --- trunk/SOAPpy/tests/Bug1161780.py (rev 0) +++ trunk/SOAPpy/tests/Bug1161780.py 2008-05-14 21:36:32 UTC (rev 1452) @@ -0,0 +1,18 @@ +#!/usr/bin/env python +import sys +sys.path = ["/home/tim/SOAPpy-0.12.0"] \ + + sys.path +from SOAPpy.Parser import parseSOAPRPC +bad = """<?xml version="1.0"?> +<SOAP-ENV:Envelope + SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" + xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" + xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> + <SOAP-ENV:Body> + <doSingleRecord SOAP-ENC:root="1"> + </doSingleRecord> + </SOAP-ENV:Body> + <ErrorString>The CustomerID tag could not be found or the number contained in the tag was invalid</ErrorString></SOAP-ENV:Envelope> + +""" +parseSOAPRPC(bad, attrs = 1) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |