Barry, Massimo, SOAP is not part of my daily work anymore (very happy with that!) , but a few years ago I have been using ZSI a lot for creating web services from WSDL documents. It worked great and SOAP seems not evolved much since, I then suppose ZSI could be even better today. That was before web2py even existed so I have no idea if it can be used without too much troubles inside web2py. I remember it generates some code, scattered in a few files, well written, but it could be that adjustments by hand need to be done to make it work on a web2py request inside a controller...
mic 2013/6/18 Barry Bridges <barrybridge...@gmail.com> > Hi Massimo, > I came across this. It might be what we're after. > > http://stackoverflow.com/questions/7796440/are-there-any-working-examples-of-zolera-soap-infrastructure-zsi > > On Tuesday, 18 June 2013 08:33:20 UTC+1, Massimo Di Pierro wrote: >> >> If you find a solution to your problem let me know. I have a similar >> problem. The process usually is [create server] -> [generate wsdl] -> >> [create client from wsdl]. I would like to see an example ot [create server >> from wsdl]. >> >> On Tuesday, 18 June 2013 01:55:40 UTC-5, Barry Bridges wrote: >>> >>> Hi Massimo, >>> Your correct in that I need to create a server that is complaint with >>> someone else's WSDL. I have to full spec of the API, but need to provide >>> that to the client devices. If I use pysimplesoap, the WSDL is created for >>> me but is not totally compliant/formted to the customers spec. So the issue >>> is can I serve up my WSDL file rather than the interally generated one. >>> >>> You'll have to forgive my terminology but I'm and embedded engineer not >>> a web developer so it's all a little new to me. >>> >>> On Tuesday, 18 June 2013 06:22:55 UTC+1, Massimo Di Pierro wrote: >>>> >>>> If you have WSDL service you can connect to is using suds (pip insall >>>> suds) >>>> >>>> from suds.client import Client >>>> client = Client(wsdl_service) >>>> result = client.service.function(input) >>>> >>>> here function is a service which must provided by in WSLD. >>>> >>>> I understand you have the opposite problem. Create a server that is >>>> compliant with given WSDL. Actually I need to do same for a project and I >>>> have been unable to. I am not sure this is logically possible because the >>>> WSDL contains enough info to generate the service. >>>> >>>> >>>> On Monday, 17 June 2013 08:44:06 UTC-5, Barry Bridges wrote: >>>>> >>>>> >>>>> Hi all, >>>>> I'm trying to create a SOAP server which uses a local wsdl file >>>>> supplied by a third party. How can I use this within Web2py >>>>> >>>>> >>>>> Thanks >>>>> Barry >>>>> >>>> -- > > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.