XML-RPC object mapping

304 views Asked by At

Recently I was working on web services proxy. I got 2 web services proxy. UI will call Proxy A to let say create a record. then what Proxy A will do is to call Proxy B to do the actual task which create the record (For some reason must go through Proxy A) now the problem is When UI call Proxy A, Proxy A will pass the objectA to Proxy B createRecord method which take in another different object type. Anyone came across this problem before can give me some suggestion. Instead of convert object A to object B.

1

There are 1 answers

2
Shay Tsadok On

Did you thought to use xsl in order to transform you ProxyA request into ProxyB request? http://www.w3.org/Style/XSL/