コード例 #1
0
        XmlRpcRequest MakeXmlRpcRequest(WebRequest webReq, MethodInfo mi,
                                        object[] parameters, object clientObj, string xmlRpcMethod,
                                        Guid proxyId)
        {
            webReq.Method      = "POST";
            webReq.ContentType = "text/xml";
            string        rpcMethodName = XmlRpcTypeInfo.GetRpcMethodName(mi);
            XmlRpcRequest req           = new XmlRpcRequest(rpcMethodName, parameters, mi,
                                                            xmlRpcMethod, proxyId);

            return(req);
        }