Hi,
My client application is need to connect server application by using URL http://localhost/server/xmlrpc. How can I specify this URL on client side? My server application is running on java.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
My client application is need to connect server application by using URL http://localhost/server/xmlrpc. How can I specify this URL on client side? My server application is running on java.
Thanks
I'd also like to know the answer to this. Is it done somehow with the URI parameter in the XmlRpcClient constructor?
There isn't an overload to allow you to do that.
Thanks.
So that URI parameter is used for something else? Or is it a "future" thing?
The three parameters are for as follows:
http://\[hostname]:[port][/uri]
Usually, the XML-RPC servers will use the path "/RPC2", but they can respond to any path that is desired.
If you were connecting to an XML-RPC server that had a non-standard path, you would specify that in the URI parameter.
Thanks for the clarification Eric.
Just to be clear: if the URL to the remote procedure is
http://192.168.50.50/blahblah
then should the call be:
XmlRpcClient c("192.168.50.50", 8080, "blahblah");
Is this correct?
absolutely correct