Welcome Guest, Not a member yet? Register   Sign In
xml rpc request/repsonse formatting questions
#1

[eluser]Unknown[/eluser]
Hi folks!

I've been tasked with writing an api for a new payment gateway my company is using. We've got many apps on our end that will need to run payments thru the system, so I'm planning to write the interface to the gateway as an xml_rpc server.

I keep running into issues regarding how to 'best' format the requests and the responses.

I'd like the requesting client to be able to specify the method they want to use from the server, and send an xml string that contains all the information that is needed to be processed.

The rpc server would then based on the method requested forward that information to the payment processor, and generate a response that contains the xml result from the processor.

The big question is, can raw xml be included in the request/response format? If not, can it be escaped or enclosed in CDATA tags or something of that ilk?

Looking for some guidance here, I've tried a ton of different array combinations for the data and I'm starting to wonder if this is even possible using xml in the request/response.

Thanks in advance for any help!


Messages In This Thread
xml rpc request/repsonse formatting questions - by El Forum - 01-22-2009, 10:27 AM
xml rpc request/repsonse formatting questions - by El Forum - 01-29-2009, 02:50 PM
xml rpc request/repsonse formatting questions - by El Forum - 02-12-2009, 04:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB