Hi Jason.

First of all, I want to thank you very much about your attention.

You have got the trust. I had not started my server (this instruction is not in "how to" example of www.xmlrpc.com).

I tryed your code but it don't work fine on my computer. I think the cause can be that my xmlrpc.jar isn't the same of you because when I compile your code, javac told me the setHttpProxy is a unknow simbol.

I've comented this instruccion and I've can compile it.

I execute MyXmlRpcServer with port 2332 and it work fine.
After this I execute MymlrpcClient localhost 2332 and I recibe the next message:


Connecting to localhost,port: 2323
Doing simple.sum XML-RPC call...
Param [5, 10]
java.io.IOException: Connection refused: connect
at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:444)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java: 163)
at MyXmlRpcClient.main(XmlRpcClient.java:43)


I have comment the first line of your mailed code (package xmlrpc) because is the unique form I can compile it.

Do you know what can be the problem?
Can you mail me your xmlrpc.jar?

Thanks you very much, keroppi.

From: "Jason Wyatt" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: RE: Is not there any  server listening?
Date: Fri, 19 Nov 2004 10:30:49 +1100

Hi Keroppi,

I think you're missing webServer.run(). Please see the attached example :)

Regards
Jason


-- Falun Gong: A peaceful meditation practice under persecution in China http://www.faluninfo.net

Truth - Compassion - Forbearance

<< MyXmlRpcServer.java >>
<< XmlRpcSimple.java >>
<< MyXmlRpcClient.java >>

_________________________________________________________________
Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/




Reply via email to