J
jeljer te Wies
Hi guys!.
I am building an ESB (Enterprise Service Bus) for a Content Management
System.
The esb (as you probably know) should be able to handle multiple
protocols (JSON, XML, SOAP).
So it has a tcp socket and it gets a "request".
The problem is that I can't figure out how to check what protocol is
used. (the only thing i can figure out is to just try to transform it
with every known "protocol" until it doesn't return an error anymore.
This is however not the most elegant solution.
Does anyone have any idea !! (I am really stuck on this problem)
Thanxs!
greets Heldopslippers
I am building an ESB (Enterprise Service Bus) for a Content Management
System.
The esb (as you probably know) should be able to handle multiple
protocols (JSON, XML, SOAP).
So it has a tcp socket and it gets a "request".
The problem is that I can't figure out how to check what protocol is
used. (the only thing i can figure out is to just try to transform it
with every known "protocol" until it doesn't return an error anymore.
This is however not the most elegant solution.
Does anyone have any idea !! (I am really stuck on this problem)
Thanxs!
greets Heldopslippers