SOAP/REST calls over XMPP
chat, http, rest, soap, xmpp
Solution
Start with XEP-72 for a hint at the style of protocol you should use. There are some good reasons to do this, including:
- Firewall traversal (as noted)
- Don't have to do a TCP connection as often, saving latency
- Don't have to authenticate for each request, but can authenticate the stream
- No need for a separate XML parser for each request, which means processing can be more efficient
Problem
I want to make a solution where I can use XMPP chat clients connected to gtalk, resolving SOAP web services and REST calls meant for a LAN (behind firewall proxy etc) and transferring over to the other chat client on another different LAN (behind other firewall proxy etc). I have narrowed down on Smack API, but being a newbie in XMPP and smack, I don't know if is it possible or not with Smack? Does smack provide for such a functionality? I tried Smack documentation but couldn't understand it in enough depth. Any other possible alternatives, suggestions too are most welcome.