[web2py] Re: SOAP WSDL request strugle

2017-12-24 Thread Dave S
On Saturday, December 23, 2017 at 10:56:45 PM UTC-8, T.R.Rajkumar wrote: > > ts2admin.asmx is the web service. ValidateLogin is the method of that > service. I pass the username and password to that service and it returns > the result. If ret_code is 1 I allow login to my application LP. Ah,

[web2py] Re: SOAP WSDL request strugle

2017-12-23 Thread T.R.Rajkumar
ts2admin.asmx is the web service. ValidateLogin is the method of that service. I pass the username and password to that service and it returns the result. If ret_code is 1 I allow login to my application LP. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://git

[web2py] Re: SOAP WSDL request strugle

2017-12-23 Thread T.R.Rajkumar
In the controller login.py -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web

[web2py] Re: SOAP WSDL request strugle

2017-12-23 Thread Dave S
On Saturday, December 23, 2017 at 1:36:43 AM UTC-8, T.R.Rajkumar wrote: > > I do like this > > Server side, or client? > from gluon.contrib.pysimplesoap.client import SoapClient > client = SoapClient(wsdl=" > http://172.16.164.64/ws_ts2admin/ts2admin.asmx?WSDL";) > rs

[web2py] Re: SOAP WSDL request strugle

2017-12-23 Thread T.R.Rajkumar
I do like this from gluon.contrib.pysimplesoap.client import SoapClient client = SoapClient(wsdl="http://172.16.164.64/ws_ts2admin/ts2admin.asmx?WSDL";) rs = client.ValidateLogin(lcUname, lcPwd, lnCode, lcMsg) rs1 = rs['ValidateLoginResult'] ret_code = rs1[

[web2py] Re: SOAP WSDL request strugle

2017-12-22 Thread Dave S
On Friday, December 22, 2017 at 12:25:43 AM UTC-8, Yebach wrote: > > Hello > > I have to create a SOAP client (later also a service will be needed). It > is my first time so please bare with me on this one as I do not have a > proper understanding of this. > > If I understand the whole process