val endpoint = new URL( 'THE_URL' );
val rpcClientConfig = new XmlRpcConfig( endpoint.getProtocol, endpoint.getHost, endpoint.getPort, endpoint.getPath)
val rpcClient = new XmlRpcClient()
val methodParams = Map(
"s_login" -> "XXX",
"s_pw" -> "XXX",
"command" -> "QueryDomainList"
)
val params:XmlRpcStruct = new XmlRpcStruct( methodParams.map( (f:(String, String)) => { f._1 -> new XmlRpcString( f._2) } ) )
rpcClient.request( rpcClientConfig, "Api.xcall", params)
--
You received this message because you are subscribed to the Google Groups "Scala IDE Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-dev/5b336007-a5cd-451a-bfb8-5c3094fe17c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.