001
001

Reputation: 65205

Build a XML-RPC web service in C#

How do I build a XML-RPC web service in C#?

Upvotes: 3

Views: 3540

Answers (3)

Justin
Justin

Reputation: 86789

I've seen some people produce "web services" that are just simple .aspx pages that spits out Xml instead of html.

The "proper" way to do this is to probably to implement your own custom http handler though.

That said, you should have a really good reason to not use SOAP based services before you go to all that effort.

UPDATE: Have you seen XML-RPC.NET?

[It] is a library for implementing XML-RPC Services and clients in the .NET environment.

Upvotes: 2

Andrew
Andrew

Reputation: 14457

You could implement either a generic handler (.ashx) or an ASP.NET 2.0-compatible service (.asmx). You would then need to handle the XML parsing and construction either using .NET classes for XML or just on your own.

Edit: I took out information about WCF since the question changed, making it irrelevant.

Upvotes: 1

CedricB
CedricB

Reputation: 1167

if you mean RPC where you cliend simply sends raw XML via form variables, etc, and you parse it in the implementation of your service, .net 3.5 and wcf support out of the box POX services.

http://msdn.microsoft.com/en-us/library/aa395208.aspx

Upvotes: -1

Related Questions