Mind that web2py has built-in soap implementation

web2py/gluon/contrib/pysimplesoap/

and you can create services with

@service.soap(...)
def f(a,b): return a+b

Mariano is the expert on this.

On Nov 30, 1:24 am, Johann Spies <[email protected]> wrote:
> I have been busy with web2py for about a year and I am learning every day.
> I am also a newby as far as xml-processing is concerned.  So I would like
> advice about the way to go with the following setup:
>
> I want to import xml-data collected through a soap client into a database.
> This will involve several tables and thousands of complicated
> bibliographical records.
>
> I can process the xml-data outside web2py and import the processed data at a
> later stage or I can do the soap queries from web2py and handle the
> processing  of the data there.
>
> I have experimented a little with python-soap and suds en after many trials
> and errors I have a working SOAP client using suds.
>
> Now my questions:
>
> 1. What is the best strategy to integrate this process with web2py?
> 2. Which python-xml-tools (and I see there are a lot) are preferable in my
> situation.
> 3. Can I use suds from within web2py?
>
> Regards
> Johann
>
> --
>  May grace and peace be yours in abundance through the full knowledge of God
> and of Jesus our Lord!  His divine power has given us everything we need for
> life and godliness through the full knowledge of the one who called us by
> his own glory and excellence.
>                                                     2 Pet. 1:2b,3a

Reply via email to