<div class="gmail_quote"><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 16px; "><span title="" style="background-color: rgb(255, 255, 255); ">Hello<br><br></span><span title="" style="background-color: rgb(255, 255, 255); ">many thanks for the quick help.<br>
</span><span title="" style="background-color: rgb(255, 255, 255); ">But I still have a problem<br><br></span><span title="" style="background-color: rgb(255, 255, 255); ">Here is my code:</span></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 16px; "><span title="" style="background-color: rgb(255, 255, 255); "><br>
</span></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 16px; "><span title="" style="background-color: rgb(255, 255, 255); ">Server:</span></span></div><div><div> (define (add x y) (+ x y))</div>
<div> (define xml-rpc-adder</div><div> (make-handle-xml-rpc</div><div> (hasheq 'math.add add</div><div> 'math.+ +</div><div> 'addFun add)))</div><div> (define (run-server!)</div>
<div> (serve/servlet xml-rpc-adder</div><div> #:port 8888</div><div> #:servlet-path "/servlets/rpc/xmlrpc.rkt"</div><div> #:command-line? #t))</div></div>
<div><br></div><div>Client:</div><div><div> (define adder</div><div> (xml-rpc-server (string->url "<a href="http://localhost:8888/servlets/rpc/xmlrpc.rkt">http://localhost:8888/servlets/rpc/xmlrpc.rkt</a>")))</div>
<div> (define math.add (adder 'math.add))</div><div> (math.add 3 4)</div></div><div><br></div><div> <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 16px; ">And the answer here:</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 16px; "><div>Received invalid XMLRPC response (html (head (title Servlet Error) (link (@ (rel stylesheet) (href /error.css)))) (body (div (@ (class section)) (div (@ (class title)) Exception) (p The application raised an exception with the message: (pre dynamic-require: name is not provided: 'interface-version by module: #<resolved-module-path:"C:\Program Files (x86)\Racket\collects\web-server\default-web-root\htdocs\servlets\rpc\xmlrpc.rkt">)) (p Stack trace: (pre <unknown procedure> at:</div>
<div> line 121, column 2, in file C:\Program Files (x86)\Racket\collects\web-server\servlet\setup.rkt</div><div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div>
<div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div><div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div>
<div>hash-ref! at:</div><div> line 399, column 13, in file C:\Program Files (x86)\Racket\collects\racket\private\more-scheme.rkt</div><div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div>
<div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div><div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div>
<div><unknown procedure> at:</div><div> line 57, column 2, in file C:\Program Files (x86)\Racket\collects\web-server\dispatchers\dispatch-servlets.rkt</div><div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div>
<div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div><div>select-handler/no-breaks at:</div><div> line 173, column 2, in file C:\Program Files (x86)\Racket\collects\racket\private\more-scheme.rkt</div>
<div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div><div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div>
<div>select-handler/no-breaks at:</div><div> line 173, column 2, in file C:\Program Files (x86)\Racket\collects\racket\private\more-scheme.rkt</div><div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div>
<div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div><div>select-handler/no-breaks at:</div><div> line 173, column 2, in file C:\Program Files (x86)\Racket\collects\racket\private\more-scheme.rkt</div>
<div>select-handler/no-breaks at:</div><div> line 173, column 2, in file C:\Program Files (x86)\Racket\collects\racket\private\more-scheme.rkt</div><div>select-handler/no-breaks at:</div><div> line 173, column 2, in file C:\Program Files (x86)\Racket\collects\racket\private\more-scheme.rkt</div>
<div>select-handler/no-breaks at:</div><div> line 173, column 2, in file C:\Program Files (x86)\Racket\collects\racket\private\more-scheme.rkt</div><div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div>
<div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div><div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div>
<div><unknown procedure> at:</div><div> line 1445, column 3, in file C:\Program Files (x86)\Racket\collects\racket\contract\private\arrow.rkt</div><div>connection-loop at:</div><div> line 62, column 2, in file C:\Program Files (x86)\Racket\collects\web-server\private\dispatch-server-unit.rkt</div>
<div>)))))</div></span></div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 16px; "><span title="" style="background-color: rgb(230, 236, 249); color: rgb(0, 0, 0); ">Where is my mistake? </span><span title="" style="background-color: rgb(255, 255, 255); ">:)</span></span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 16px; "><span title="" style="background-color: rgb(255, 255, 255); "></span></span> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Cheers,<br>
<font color="#888888">Tobi<br>
</font></blockquote></div><br>