Welcome to the world of convoluted protocols, poor documentation and needless complications. Sound like fun, doesn't it :)
I have sort-of built a SOAP server (two methods). It is very limited and only there because I had to have it. You might have guessed that SOAP is not my favorite protocol. I do have some general advice and experiences: • See if it can be done by something other than php. SOAP is not PHPs strongest point. Java loves it and even .net looks a lot more comfortable in the examples I have seen. • Read up on SOAP, a lot. I found that I initially understood very little and php-related info was scarse. • Make sure YOU write the WSDL and decide any namespaces and any other aspect of the API. (Conforming to some advanced Java-API was not easy for me) • Choose your weapon. PHP-SOAP, PEAR-SOAP, NuSOAP are the prime candidates. • NuSOAP is a popular library... try to avoid it since it is a dead project with limited documentation. I had to use it because I needed some of it's unique features (mime attachements). I can't say wether the other two are any better, though. PEAR-SOAP is not past 1.0 either and has no "end user documentation". Looking like pain and suffering? There are good news too... For Cake there is "WebServices Controller" by RoSoft. It allows you to work abstracted one layer away from NuSOAP. Still a pain is the rear but a lot better than flying solo. If your needs are reasonable it will save you a world of trouble. Since I needed to conform to namespaces and other annoying details in headers and "envelopes" I ended up with a total hack. Part WebServices Controller and part dumping hard-coded xml-strings into NuSOAP... I think it works though. Goog luck, /Martin On Apr 29, 11:33 am, eagerterrier <eagerterr...@gmail.com> wrote: > We have a current site built in cake 1.2 and the client has requested > that we build a SOAP server for them to use. > > I have never built one before (have queried plenty), so have no idea > how long it would take. > > Has anyone any experience of this? Specifically, I need to know how > long setting it up and writing the WDSL. > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---