XML-RPC from ASP.NET (C#)

M

maflatoun

Hello,

We're currently working with another software provider and I'm
required to grab a list of values from there system using XML-RPC
(don't have more information right now) and display it on our web
site. I've used Web Services many times before but never XML-RPC. Does
anyone have a sample code on how I would do this? Your help is greatly
appreciated since checking google didn't do me any good.

Thank you
M.
 
N

Nicholas Paldino [.NET/C# MVP]

M.,

There are two ways I can think about doing this. The first is to use
the HttpWebRequest/HttpWebResponse classes, formulating your XML (using the
XmlDocument class, or other methods) and sending/receiving XML that way.

If you have access to .NET 3.0 on the box, then I would use WCF to
handle the XML-RPC details. You can process it using Plain Old XML (POX):

http://msdn2.microsoft.com/en-us/library/aa738456.aspx

There might be some more support for XML-RPC in WCF, so I would suggest
digging around the documentation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top