Questions tagged [xml-rpc.net]

open-source .NET library for implementing Services (from .Net 2.0)

18 questions
17
votes
2 answers

how to use XMLRPC in C#

I need to make XMLRPC calls from my C# application and I failed to find any help with that. When I used XMLRPC from Ruby, it's that simple: server = XMLRPC::Client.new2("http://server/api.php") result = server.call("remote.procedure", [1, [['crit1',…
Adam Mus
5
votes
1 answer

How to define optional parameters for a method using XML-RPC.NET

I'm developing a XML-RPC service in C# using the XML-RPC.NET library. The service will be used to expose a forum to Tapatalk users The Tapatalk API documentation states which methods should be implemented. Sometimes a parameter is specified as…
Niels R.
  • 7,260
  • 5
  • 32
  • 44
4
votes
1 answer

Route gets mapped to parameters of different route

I’m trying to set up some routes for my ASP.NET MVC 5 project. I defined custom routes to get nice blog post permalinks – those seem to be working fine I added a XmlRpc Handler (similar to how it’s done in Mads' Miniblog and Scott’s post) Now I…
marce
  • 781
  • 1
  • 10
  • 20
3
votes
1 answer

Passing CDATA in a parameter with XML-RPC.NET

I'd like to call a method of a XML-RPC web service with a XML request containing the following fragment: filters
Rudolf
  • 199
  • 8
2
votes
1 answer

Anyone know what happened to xml-rpc.net?

it seems xml-rpc.net is no longer available? (Archive.org wayback machine: https://web.archive.org/web/20190129151012/http://xml-rpc.net/ ) Anyone have a suggestion on an xml-rpc server for c# on Windows and mono? I tired visiting it for several…
JSMNST
  • 33
  • 3
2
votes
0 answers

XML-RPC.NET Mapping Unknown Type

I'm using XML-RPC.NET library to map responses from Wordpress' APIs. However Im getting the following issue regarding the mapping of an article image. If the response contains an image it will return a struct like so
heymega
  • 9,215
  • 8
  • 42
  • 61
2
votes
1 answer

In XML-RPC.NET how to handle a return value whose type is not known until runtime?

I'm using the library XML-RPC.NET in C# to call an XML-RPC method on my server. The method returns a string when everything is ok, but when an error occurs it returns an XmlRpcStruct. XML-RPC.NET threw an exception when I got a different return type…
Ben Adams
  • 564
  • 1
  • 4
  • 18
1
vote
0 answers

CookComputing XML-RPC.NET C# Client: How to fail gracefully on invalid input?

I have a MS Visual C# 2010 XML-RPC client app that uses the CookComputing.XmlRpc library. It works very well when it receives well-formed input. Here are the essential code elements: using CookComputing.XmlRpc; ... public interface IXml :…
1
vote
0 answers

SEHException on new development box, simple XML-RPC.net C# web service

I have written an application in C# which uses the XML-RPC.net library. The application is very simple and aside from the XML-RPC stuff is doing very little, some impersonation for Powershell, some file generation, and a bit of authentication. This…
hobgadling
  • 131
  • 2
  • 10
1
vote
0 answers

XML-RPC.NET with two different results in the same method

I need to consume a XML-RPC server with a method that return different types depending on the success or failure of the process. Right now I´m using the xml-rpc lib from http://xml-rpc.net/ My proxy looks like…
Giusepe
  • 655
  • 5
  • 15
1
vote
2 answers

Clickonce Autodetect Proxy

I have created a C sharp Wpf ClickOnce application which uses xml rpc for communincation. A lot of my users get there proxy settings in different ways. Some use a pac file, other from IE or dhcp etc. I want to automate this whole process of getting…
Albertus
  • 911
  • 2
  • 10
  • 19
0
votes
1 answer

Odoo Stock warehouse transfer issue

I am trying to create stock request in Odoo version 12 through web service(xmlRPC). Stock Request and picking created in odoo but when i click on "In transit" type picking and then click on "Validate" button then It asked me "You have not recorded…
Haji
  • 9
  • 1
0
votes
1 answer

HttpClient on ASP.NET Core application times out when connecting to service on localhost

I have a XML-RPC server (using XML-RPC.net) running as a .NET console application. I'm trying to connect to it via my ASP.NET Core (2.1.1) web app but the client keeps timing out. Postman also returns a response immediately without issues. Here is…
Yodacheese
  • 4,787
  • 5
  • 34
  • 42
0
votes
1 answer

CookComputing xmlrpc how do I map a xml parameter name with a space in it?

How do I map a xml parameter name with a space in it? I need the parameter named "build date" to be "builddate". public struct ShowVersion { public string version; public string builddate; } The xml response which I cannot…
0
votes
0 answers

Xml-Rpc.Net Server Method Missing Params with Optional Parameters

Is it possible with CookComputing's XmlRpc.Net to configure a server to ignore the missing element when the server method has a params object[] args parameter? I have a server method with something like the following…
Jaymz
  • 6,140
  • 2
  • 26
  • 30
1
2