[racket] xmlrpc with racket problem

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Fri Sep 10 07:44:21 EDT 2010

This means the XMLRPC package is incompatible with the release you are using.

Jay

On Fri, Sep 10, 2010 at 12:32 AM, Tobias Salzmann
<salty83 at googlemail.com> wrote:
> Hello,
>
> I have a problem with the xmlrpc from planet system.
> firstly my source code:
> Server:
> ---------------------------------------
> #lang racket
>  (require (planet schematics/xmlrpc:4:0/xmlrpc-module-servlet))
>
> (provide interface-version manager timeout start)
> (define add (lambda (x y) (+ x y)))
> (add-handler `math.add add)
> -------------------------------------------
> I get the error:
> open-input-file: cannot open input file: "C:\Program Files
> (x86)\Racket\collects\web-server\private\response.rkt" (Das System kann die
> angegebene Datei nicht finden.; errno=2)
>
>
> Client:
> -----------------------------------------------------------------
> #lang racket
> (require (planet schematics/xmlrpc:4:0/xmlrpc))
> (define remote
>   (xmlrpc-server
>    "localhost"
>    8888
>    "/servlets/rpc/xmlrpc.rkt"))
> (define add (remote `math.add))
> (printf "add: ~s~n" (add 3 3))
> -----------------------------------------------------------------------
> error: Server responded with a 404: File not found
> The server is working correctly to this port. Other Servlets run without
> problems.
> Here also the planet cache:
> C:\Program Files (x86)\Racket>raco planet sho
> Normally-installed packages:
>   bzlib base.plt        1 6
>   bzlib date.plt        1 3
>   jim   webit.plt       1 6
>   lizorkin      ssax.plt        1 3
>   lizorkin      ssax.plt        2 0
>   lizorkin      sxml.plt        1 4
>   lizorkin      sxml.plt        2 1
>   lshift        xxexpr.plt      1 0
>   neil  scgi.plt        1 0
>   ryanc require.plt     1 3
>   schematics    sake.plt        1 0
>   schematics    schemeunit.plt  1 2
>   schematics    schemeunit.plt  2 12
>   schematics    schemeunit.plt  3 4
>   schematics    xmlrpc.plt      1 4
>   schematics    xmlrpc.plt      2 1
>   schematics    xmlrpc.plt      4 0
>   untyped       unlib.plt       3 23
>   zitterbewegung        uuid-v4.plt     1 0
>
>
>
> Do you have an idea maybe what's the problem?
>
> Many thanks and the best wishes
> Tobias Salzmann
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay

"The glory of God is Intelligence" - D&C 93


Posted on the users mailing list.