Re: [Twisted-Python] Escaping variable names

2010-03-05 Thread Kamil Wasilewski
> On Friday 05 March 2010, Kamil Wasilewski wrote: >> > server.doGetCountries(**{ >> > 'country-code': COUNTRYID, 'webapi-key': WEBAPIKEY >> > }) >> >> The above gives a syntax error... > What kind of s

Re: [Twisted-Python] Escaping variable names

2010-03-05 Thread Kamil Wasilewski
Hello Maarten, Friday, March 5, 2010, 6:26:36 PM, you wrote: > On Friday 05 March 2010, Kamil Wasilewski wrote: >> from SOAPpy import WSDL >> wsdlFile = "http://webapi.allegro.pl/uploader.php?wsdl"; >> server = WSDL.Proxy(wsdlFile) >> server.soapproxy.c

[Twisted-Python] Escaping variable names

2010-03-05 Thread Kamil Wasilewski
Hi, Ive got an issue where a variable name needs to have a minus sign (-) in it. from SOAPpy import WSDL wsdlFile = "http://webapi.allegro.pl/uploader.php?wsdl"; server = WSDL.Proxy(wsdlFile) server.soapproxy.config.argsOrdering = {'doGetCountries': ['country-code', 'webapi-key'] } server.doGetCo

Re: [Twisted-Python] WSDL Proxy Send variable names

2010-03-02 Thread Kamil Wasilewski
On Tue, Mar 2, 2010 at 3:48 PM, Landreville wrote: > On Tue, Mar 2, 2010 at 5:20 AM, Kamil Wasilewski wrote: > > Hi, > > I need to be able to send variable names when sending requests to a SOAP > > server. Currently SOAPpy sends my variables automatically named as v1, >

[Twisted-Python] WSDL Proxy Send variable names

2010-03-02 Thread Kamil Wasilewski
Hi, I need to be able to send variable names when sending requests to a SOAP server. Currently SOAPpy sends my variables automatically named as v1, v2, v3. The server requires they have a name varNameA, varNameB etc. Here is my outgoing SOAP and code. wsdlFile = "http://webapi.allegro.pl/uploader