Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WCF and XML-RPC 1

Status
Not open for further replies.

nicsin

Programmer
Jul 31, 2003
743
GB
Hi all,

I am writing an ASP.NET web app using C# 3.5. I have a requiremenent to expose the business as web services to be consumed by an external XML-RPC client, which was written by another company.

I thought about using WCF as this will enable by web pages to call the same services and therefore minimise the risk at testing. I thought I could just configure the endpoints to format the messages in soap, xml-rpc or any other envelope and it should work.

The problem I am having is with xml-rpc though. I can't get the client to accept the messages. I found this post by Clemens Vasters


which describes how to write a custom message processor. I included that in the <extensions> tag but it seems to pass all messages through this now, which doesn't help my soap requests.

If anyone had any luck configuring a WCF service with xml-rpc or has any other suggestion please let me know.

Many thanks
 
Hi again

I solved the problem for now by writing a xml-rpc proxy that translates the messages to soap, connects to the wcf service, gets the result and returns it to the xml-rpc client. My web pages use the wcf service as before.

Having said that it would be much better to have only one service that exposes two endpoints, ie soap and xml-rpc. If anyone has any suggestions please let me know.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top