[fpc-pascal] xmlrpc unit

Michael Van Canneyt michael at freepascal.org
Wed Jun 30 19:38:23 CEST 2010



On Wed, 30 Jun 2010, ik wrote:

> Thanks,
>
> I do not understand how do I create an xmlrpc server using fcl-web


0. Start an fcl-web application.
1. Create an interface and an implementation using WST.
    (WST has plenty of examples. Easiest is to define an interface
     MyInterface = Interface ['guid']
     end;
     and run ws_helper to create metadata, proxy and binder. Add these units
     to your project.
2. Register the XML-RPC streaming method.
3. Create and register a WSTWebModule.
    See the demo that comes with WST on how to do that.

That's it.

Michael.
>
>
> Ido
>
>
>
> On Wed, Jun 30, 2010 at 19:00, Jonas Maebe <jonas.maebe at elis.ugent.be>wrote:
>
>>
>> On 30 Jun 2010, at 17:37, ik wrote:
>>
>>> It seems that the xmlrpc unit is missing from fpc source tree (trunk).
>>> Was it renamed (to what) or was it remove (why was that) ?
>>
>> r15346 | michael | 2010-05-30 16:14:18 +0200 (Sun, 30 May 2010) | 1 line
>> Changed paths:
>>   D /trunk/packages/fcl-net/src/httpbase.pp
>>   D /trunk/packages/fcl-net/src/httpclient.pp
>>   D /trunk/packages/fcl-net/src/mkxmlrpc.pp
>>   D /trunk/packages/fcl-net/src/servlets.pp
>>   D /trunk/packages/fcl-net/src/xmlrpc.pp
>>
>> * Deprecated in favour of fcl-web and WST
>>
>> How to find this sort of information:
>> cd fpc
>> svn log -v |less
>> /xmlrpc
>>
>>
>> Jonas
>> _______________________________________________
>> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>>
>



More information about the fpc-pascal mailing list