Geoffroy Couprie wrote:
>
> The tests have some problems, but the server works fine.
>
server := XMLRPCHttpModule startOn: 8088.
XMLRPCServerRequest
registerService: 'echo.echoArray'
class: XMLRPCStandardEcho
selector: #echo:.
proxy := XMLRPCProxy new url: 'http://localhost:8088/xmlrpc' asUrl.
args := OrderedCollection new.
args add: #('A' 1 3 2.525).
r := proxy invokeMethod: 'echo.echoArray' withArgs: args.
Server returns:
<html><head><title>500 Internal Server
Error</title></head><body><h1>Internal Server
Error</h1> MessageNotUnderstood:
Dictionary>>asXMLRPCString<p><hr><address>KomHttpServer/7.1.3 (Mac OS)
Server at 'localhost' Port 80</address></hr></p></body></html>
--
View this message in context:
http://forum.world.st/XMLRPC-server-tp3090251p3093978.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.