Hello all,
I am planning to implement a simple XMLRPC server for my Seaside application. Is it sensible to implement a XMLRPC server with Seaside (e.g. WAResponse)? Robert _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2009/3/25 Robert Schwarz <[hidden email]>:
> Hello all, > I am planning to implement a simple XMLRPC server for my Seaside > application. Is it sensible to implement a XMLRPC server with Seaside (e.g. > WAResponse)? Sure, just build it as a WARequestHandler/WAEntryPoint and not a WAComponent. Cheers Philippe _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hello Philippe !
Thanks great. Please can you give me some hints or an example how can I do that? Robert Am 25.03.2009 um 18:06 schrieb Philippe Marschall: > 2009/3/25 Robert Schwarz <[hidden email]>: >> Hello all, >> I am planning to implement a simple XMLRPC server for my Seaside >> application. Is it sensible to implement a XMLRPC server with >> Seaside (e.g. >> WAResponse)? > > Sure, just build it as a WARequestHandler/WAEntryPoint and not a > WAComponent. > > Cheers > Philippe > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Robert,
just subclass WARequestHandler and implement the subclass responsibilities (i think there're also some on class-side). You can then register it with the default WADispatcher with something like: WADispatcher default register: (XmlRpcServer named:'xml-rpc') then you can use the url: myServer:myPort/seaside/xml-rpc as your xml-rpc interface. I think the interesting method to implement are #handleRequest: aRequest. there you get the request, process it and return a WAResponse. Kind Regards Karsten Robert Schwarz wrote: > Hello Philippe ! > Thanks great. Please can you give me some hints or an example how can > I do that? > Robert > > Am 25.03.2009 um 18:06 schrieb Philippe Marschall: > >> 2009/3/25 Robert Schwarz <[hidden email]>: >>> Hello all, >>> I am planning to implement a simple XMLRPC server for my Seaside >>> application. Is it sensible to implement a XMLRPC server with >>> Seaside (e.g. >>> WAResponse)? >> >> Sure, just build it as a WARequestHandler/WAEntryPoint and not a >> WAComponent. >> >> Cheers >> Philippe >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside -- Karsten Kusche - Dipl.Inf. - [hidden email] Tel: +49 3496 21 43 29 Georg Heeg eK - Köthen Handelsregister: Amtsgericht Dortmund A 12812 _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Robert Schwarz-2
2009/3/25 Robert Schwarz <[hidden email]>:
> Hello Philippe ! > Thanks great. Please can you give me some hints or an example how can I do > that? The RRRssHandler from the RSS package is an example you can do this. Cheers Philippe _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thank you for all hints
Robert Am 26.03.2009 um 18:15 schrieb Philippe Marschall: > 2009/3/25 Robert Schwarz <[hidden email]>: >> Hello Philippe ! >> Thanks great. Please can you give me some hints or an example how >> can I do >> that? > > The RRRssHandler from the RSS package is an example you can do this. > > Cheers > Philippe > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |