Try to work with lagacy stystm, need to provide other api


we have an online customer service system. wich is implemented by ourserlvies.

I’m trying wo replace it with XMPP server(openfire) + XMPP client for the IM part. one of the problems i met is that our clients use apps such as android or ios, which we can not force them to update client. so the new service must support backward.

my idea is to create something works like filter which receive the request from lagacy clients, convert it into the format for openfire, and convert the response before send to client.

I would appreciate it if you could give me any advice. Thanks in advance.