[web2py] Re: change soap wsdl targetnamespace

2015-06-11 Thread Niphlod
isn't a simple def what_you_serve(): ..foo bar response.namespace = 'http://tempuri.org/' return dict(a=1) working ? On Thursday, June 11, 2015 at 6:36:31 PM UTC+2, Pengfei Yu wrote: Hi, I want to change the target namespace to http://tempuri.org/; in the SOAP WSDL

[web2py] Re: change soap wsdl targetnamespace

2015-06-11 Thread Pengfei Yu
Yeah, you are right. Stupid question. I am not familiar with how response works. def call(): response.namespace = 'http://tempuri.org/' return service() This is enough in call() function. Thanks! On Thursday, June 11, 2015 at 3:18:13 PM UTC-4, Niphlod wrote: isn't a simple def

[web2py] Re: change soap wsdl targetnamespace

2015-06-11 Thread Niphlod
even in the called function should be enough. On Thursday, June 11, 2015 at 9:39:32 PM UTC+2, Pengfei Yu wrote: Yeah, you are right. Stupid question. I am not familiar with how response works. def call(): response.namespace = 'http://tempuri.org/' return service() This is

[web2py] Re: change soap wsdl targetnamespace

2015-06-11 Thread Pengfei Yu
yeah, but I have several different functions in the SOAP service. if I set it in call() function, i just need to set it once. Otherwise I need to set this for each called function. On Thursday, June 11, 2015 at 3:43:17 PM UTC-4, Niphlod wrote: even in the called function should be enough.