I'm searching for an elegant solution for the following problem:
My application is a webservice client that will consume a webservice with some methods.
let's suppose service interface has methods :
my application will parse a String stream and figure out what method to call .if for example the string pattern is :
then i'll need to call method :
I need to know what is an elegant and clean why to implement this feature. Note that i don't know the webservice methods signatures in advance!
I guess i'll have to use java Reflection. I'm not sure what is a good solution for this problem .
thanks for your help.