SOAP is a total nightmare. It's the most complicated and least efficient way to do anything.
I think I wasted about 10 hours over the past few days trying to figure out how to put together a SOAP client that would talk to a poorly implemented SOAP service (written in PHP with NuSoap). Neither the documentation or the WSDL file were correct and they didn't provide example code in any language! I eventually managed to get it to work using elementsoap, after failing miserably with ZSI and SOAPpy. I had to hack in dumping of the XML back and forth to figure out what was actually happening. This is actually the second time I've used SOAP... the first time was similarly screwed up -- the service I was talking to was written in C and didn't actually use an XML parser (nor was it a correct HTTP implementation). Ugh. XML-RPC, url encoded variables, JSON, and anything else REST-ish have always worked out pretty well for me though. -bob On 2/19/07, Arnar Birgisson <[EMAIL PROTECTED]> wrote: > > Hi Jonathan, > > Thanks, I'll take a look at that - sounds very promising. I'm > certainly not a big fan of SOAP myself and I never want to look at > another WSDL again - they're simply not meant for humans. Soap helps > though to make interfaces that are very easily used from .NET stuff > inside the company. > > Very nice post on Elixir btw., hadn't seen that latest one. > > Arnar > > On 2/19/07, Jonathan LaCour <[EMAIL PROTECTED]> wrote: > > > > Arnar Birgisson wrote: > > > > > I know this sounds backwards, but can I use TGWebservices without > > > turbogears? In particular can I plug TGWebservices controllers into my > > > cherrypy-only project and expect it to work without pulling in the > > > whole turbogears stack? > > > > You might want to take a look at the recently open sourced soaplib from > > my employer. It works great, and is designed to be deployed as a WSGI > > application under any WSGI compliant server, including CherryPy. > > > > You can find soaplib here: > > > > http://trac.optio.webfactional.com/ > > > > ...and it can be installed using easy_install. > > > > Best of luck with SOAP :) > > > > -- > > Jonathan LaCour > > http://cleverdevil.org > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

