On 11/10/06, Synchro <[EMAIL PROTECTED]> wrote:
>
> On Nov 10, 9:31 pm, "Mariano Iglesias" <[EMAIL PROTECTED]>
> wrote:
> > just look as how simple it is to build a SOAP interface on top of cake
>
> Hm. I've been sweating over how to build an XMLRPC service in cake with
> no success. I've not found any real documentation on the web services
> stuff at all. There's a mention of the web services routing in the
> manual (on the config page for some reason), but it lacks any examples,
> and I've not found any elsewhere. So please, if it's so easy, could you
> write a bakery article about it?
>

I don't understand why you're having such a hard time building this.
Are you looking for someone who has already built one of these things
so you can use it, or are you interested in creating one yourself?

The reason I ask is because, well, I see lots of complaining that
there are no examples you can use.  What's stopping you from writing
your own?  PHP 5 has great tools for parsing XML, so how hard would it
be to do the following:

1) create a controller
2) create an action in that controller that reads input from either a
POST or GET, depending on what you want
3) parse the incoming XML response using SimpleXML
4) spit out a response to the browser based on the input

You don't need some fancy built-in xmlrpc handler to do this.

I guess I will put my money where my mouth is and build a simple
XMLRPC service on the weekend in CakePHP and post how I did it to my
blog on Monday or Tuesday.

Marcus, please don't feel that I'm picking on you because I'm not.
I'm trying to point out that building things like this isn't as
difficult as you're making it out to be.

Have you also looked at this page:

http://manual.cakephp.org/chapter/configuration

There is an example of how to build a web service down at the bottom
of the page.

Hope that helps, and I'll let the list know when I've gotten my simple
example of an XML-RPC service up and running.

-- 
Chris Hartjes

"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to